Quote:
Originally Posted by Gumbo
[You must be logged in to view images. Log in or Register.]
I checked with Python and the last version that supports Windows XP is 2.77 so I downloaded and install that version.
I downloaded the nParse master source and unzipped it into a folder and copied it to the Python27 directory.
I opened a command prompt and typed 'pip install pyqt5' and it told me that I was using an outdated version and to downloaded the latest version. It did so from the command prompt but now if I type 'pip install pyqt5', I get told that 'pip' is not recognized as an internal or external command.
I change the directory to c:\python27\nparse and type in the command prompt, python nparse.py, I get the following error:
File "nparse.py", line 207
sys.exit(APP.exec())
SyntaxError: invalid syntax
Did I do something wrong or does it sound like it just doesn't work?
|
For sure Python 2 will not work. I am sure I used some stuff that is only compatible with Python 3.
That is weird about the pip issue. The last version of python 3 that supports Windows XP is
https://www.python.org/downloads/release/python-345/. You can uninstall Python 2.7, then install Python 3 from that link. Make sure you tell it to put the python executables in the path. Make sure Python 2.7 is removed before doing this.
'pip install pyqt5' should indicate that pyqt5 is installed. If pyqt5 does install, and it warns you about pip being out of date, you can ignore that.
You do not have to put the nparse source in the python directory. As long as Python is put in your system path.. (meaning you can run it from any directory which is an option when you install python -- make sure to look for it, it maybe be out of the way), you should be able to type "python nparse.py" in command prompt. Meaning, you can place the nParse master source in your My Documents folder or something. You can open a command prompt using file explorer by holding shift and right clicking the window then selecting open a command prompt here from the context menu.
I am sorry.. Windows XP -- too bad you can't update it to at least 7 :O
I hope the above works for you.