PyInstaller is not installed for python3

The site pyInstaller.org does not seem to be working while I am making this post.

I am trying to install pyInstaller for python3. I tried both:

"c: \ python34 \ scripts \ easy_install.exe" pyInstaller "c: \ python34 \ scripts \ pip.exe" install pyInstaller

but both give:

PyInstaller\compat.py", line 129 if sys.maxint > 2L ** 32: ^ SyntaxError: invalid syntax 

Works great for python27. Is pyInstaller incompatible with python3? If not, how do I make a standalone pyqt5 script application for Windows?

+5
source share
2 answers

PyInstaller 2.1 is not yet compatible with Python 3.x. You need to either switch to Python 2.x or wait for the project to be compatible with Python 3.x, you can check it out on PyPI , as it should have updated classifiers that mark it as compatible with Python 3.x. Currently tags:

 Programming Language :: Python Programming Language :: Python :: 2 Programming Language :: Python :: 2.4 Programming Language :: Python :: 2.5 Programming Language :: Python :: 2.6 Programming Language :: Python :: 2.7 Programming Language :: Python :: 2 :: Only 
+2
source

Published an experimental branch on GitHub that works with Python 3.

Just download or clone it and run it.

Alternatively, use this plug , which fixes some errors, for example. support for --version-file=... and support for multimedia and PyQt5 printing.

+1
source

Source: https://habr.com/ru/post/1204100/


All Articles