Pyinstaller


i try intalling pyinstaller it wont install and it is giving me this error
C:\Users\User>cd python_projects

C:\Users\User\python_projects>C:\Python27\python.exe -m install pyinstaller
C:\Python27\python.exe: No module named install

C:\Users\User\python_projects>C:\Python27\python -m pip install pyinstaller
Collecting pyinstaller
Using cached https://files.pythonhosted.org/packages/9e/ed/fbdad7f5d8f794c901076b814b8e9f5ce31d32c0bc3b63ddd27b61db9530/pyinstaller-4.1.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File “”, line 1, in
File “c:\users\user\appdata\local\temp\pip-build-bgszm_\pyinstaller\setup.py”, line 63
file=sys.stderr)
^
SyntaxError: invalid syntax

----------------------------------------

Command “python setup.py egg_info” failed with error code 1 in c:\users\user\appdata\local\temp\pip-build-bgszm_\pyinstaller
You are using pip version 9.0.1, however version 23.1 is available.
You should consider upgrading via the ‘python -m pip install --upgrade pip’ command.

Upgrade your pip and then try installing it. If unsuccessful, then you can install it from the GitHub source itself. Releases · pyinstaller/pyinstaller · GitHub. Just google “installing python library from source” and you will get the steps on how to install.

thank you i upgraded it and after showing requirement is satisfied, when i am running it, it returned ‘pyinstaller’ is not recognized as an internal or external command,
operable program or batch file. the github is the same

How did you install it from Github? Like what steps did you follow? If you can share with screenshot

oh that’s a big mistake i did for not taking the screenshot. I used
python -m pip install --upgrade --force-reinstall pip, and then installed the pyinstaller=3.6. The 2.7 version was returning error