Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #43998
    Peter Queen
    Participant

    Hi Diego,

    When i try to install pyinstaller on the Linux machine i get this error:

    root@kali:~/.wine/drive_c/Python27# wine python.exe -m pip install pyinstaller
    Collecting pyinstaller
      Using cached https://files.pythonhosted.org/packages/82/96/21ba3619647bac2b34b4996b2dbbea8e74a703767ce24192899d9153c058/pyinstaller-4.0.tar.gz
        Complete output from command python setup.py egg_info:
        Traceback (most recent call last):
          File "<string>", line 1, in <module>
          File "c:\users\root\temp\pip-build-w15bul\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\root\temp\pip-build-w15bul\pyinstaller\
    You are using pip version 9.0.1, however version 20.2.1 is available.
    You should consider upgrading via the 'python -m pip install --upgrade pip' command.
    root@kali:~/.wine/drive_c/Python27# 

    please note that I already have latest pip version :

    root@kali:~/.wine/drive_c/Python27# python -m pip install --upgrade pip
    
    DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
    Requirement already up-to-date: pip in /usr/local/lib/python2.7/dist-packages (20.2.1)

    I Googled the error code 1 and the suggestion was to update the setuptools and the wheel, so I ran this command:

    python -m pip install –upgrade pip setuptools wheel
    pip install –upgrade setuptools
    pip install ez_setup
    pip install unroll

    but it still doesn’t work.

    Can you help?

    #44032
    Diego PérezDiego Pérez
    Moderator

    Hi Peter!
    Which Python version did you installed?

    Let me know.
    Diego

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.