View Single Post
Old 06-25-2017, 07:54 PM   #24
American_Desi
Connoisseur
American_Desi began at the beginning.
 
Posts: 72
Karma: 10
Join Date: Oct 2016
Device: iPad Pro 12.9"
Quote:
Originally Posted by dickloraine View Post
Xcode seems to be registered as the standard program to open python files on your system. So it just opens the file as a text document. I don't know how to change that on a mac, maybe someone else can help with that (on windows , a right click would give you a context menu, where you coul use "open with" and select python. Maybe that is similar on a mac). For now, just open a terminal in the folder. There enter
python comictagger.py
That should work. If not, python is not in your path. If that is the case, you have to type the complete path to your python installation, instead of just python.
I kept getting syntax errors when I did this. I think perhaps I must have messed with the comictagger.py file somehow when I had it open and was trying to import comic files into it. So.... I deleted the whole Comictagger-master directory and reinstalled it, both by putting the directory back in the same place and running the install command in the terminal. This time when I run it using the "python comictagger.py" command, it says that PyQt4 is not available and that ComicTagger is limited to command-line mode. So, I tried to redo the Pyqt installation using "brew install pyqt" It says something to the effect that pyqt 5.8.2 is already installed. Yet I get the same message about pyqt being not available when I run comictagger.
American_Desi is offline   Reply With Quote