Quote:
Originally Posted by dickloraine
Unfortunately I don't know macs. Brew likely installed it in the wrong place or the wrong python version is in your path. Maybe google can help you finding what to copy where. Another way would be to use https://www.continuum.io/downloads instead of pure python. Anaconda should be more easy to use and has its own package manager with many prebuild packages. Maybe it even ships with pyqt, otherwise
conda install pyqt
Will install it. To start comictagger with it, you need to make shure to start it with anacondas python. Maybe it automatically configeres your path, then just
python comictagger.py
Will suffice. Otherwise replace python with the path to anacondas python executable.
|
So I tried the latter approach, installing Anaconda with the above link. It looks like it came with some version of Python. Here is what happened when I tried to run it:
ComputerName:Applications username$ cd Comictagger
ComputerName:Comictagger username$ python comictagger.py
Traceback (most recent call last):
File "comictagger.py", line 2, in <module>
from comictaggerlib.main import ctmain
File "/Users/username/Applications/Comictagger/comictaggerlib/main.py", line 76
print "Key set"
^
SyntaxError: Missing parentheses in call to 'print'
It then occurred to me that I should reinstall pyqt, so I did this:
ComputerName:Comictagger username$ conda install pyqt
Fetching package metadata .........
Solving package specifications: .
Package plan for installation in environment /Users/username/anaconda:
The following packages will be UPDATED:
anaconda: 4.4.0-np112py36_0 --> custom-py36_0
conda: 4.3.21-py36_0 --> 4.3.22-py36_0
pyqt: 5.6.0-py36_1 --> 5.6.0-py36_2
Proceed ([y]/n)? y
anaconda-custo 100% |################################| Time: 0:00:00 2.62 MB/s
pyqt-5.6.0-py3 100% |################################| Time: 0:00:00 8.74 MB/s
conda-4.3.22-p 100% |################################| Time: 0:00:00 10.21 MB/s
Looks like it worked, from what I see, so I next did this:
ComputerName:Comictagger username$ python comictagger.py
Traceback (most recent call last):
File "comictagger.py", line 2, in <module>
from comictaggerlib.main import ctmain
File "/Users/username/Applications/Comictagger/comictaggerlib/main.py", line 76
print "Key set"
^
SyntaxError: Missing parentheses in call to 'print'
ComputerName:Comictagger username$
I'm still getting this syntax error for some reason. I feel like I'm doing something stupid but I'm not sure what it is.