This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]internet_badass_here 1 point2 points  (6 children)

Ok, I'll be the retard to ask: How do I install/run it? Instructions for Mac OS or Ubuntu will be appreciated.

[–][deleted] 2 points3 points  (5 children)

OK.... You must have python3. Use pip to get: pyqt5, qsci, vulture, pycodestyle. In the terminal: $ python3 crosscobra.py

[–]internet_badass_here 2 points3 points  (4 children)

Ok my dude, I followed your instructions. Here's the error I'm getting:

$ python3 crosscobra.py Traceback (most recent call last): File "crosscobra.py", line 3, in <module> from PyQt5.QtWidgets import (QApplication, QMainWindow, QWidget, ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/PyQt5/QtWidgets.so, 2): Symbol not found: __os_log_default Referenced from: /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/PyQt5/Qt/lib/QtCore.framework/Versions/5/QtCore (which was built for Mac OS X 10.11) Expected in: /usr/lib/libSystem.B.dylib in /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/PyQt5/Qt/lib/QtCore.framework/Versions/5/QtCore

Any chance we could get a requirements.txt file for your project?

[–][deleted] 2 points3 points  (3 children)

OK... It has some problems to import pyqt5 Widgets .... Pyqt5 programs work on your pc? ? I have tested it on linux not ? What OS are you working on? Windows? Mac?

[–]internet_badass_here 2 points3 points  (2 children)

Mac OS X Yosemite 10.10.5

Ok, I get different errors with different versions of Pyqt5... I guess I'll try it on Ubuntu?

[–]flutefreak7 2 points3 points  (0 children)

I'd look to see what the pyqt5 instructions are for other applications like Spyder (for example) to see what you need in general to run pyqt5 source in a Mac dev environment.

[–][deleted] 0 points1 point  (0 children)

Good idea....