user317130
user317130

Reputation: 53

PySide Installation error with Command "python setup.py egg_info" failed with error code 1

I am trying to install PySide on Python36-32 but faced some problem during the installation. In my laptop, there is currently Python27 with PySide installed on it. However, due to the QString conversion issue in Python27, I have to switch to use Python3.

Below are the error messages during the installation, not sure if it PySide version not available in Python36-32 or other issue.


    C:\Users\Maybel>pip3 install PySide
    Collecting PySide
      Using cached PySide-1.2.4.tar.gz
        Complete output from command python setup.py egg_info:
        only these python versions are supported: [(2, 6), (2, 7), (3, 2), (3, 3), (3, 4)]

        ----------------------------------------
    Command "python setup.py egg_info" failed with error code 1 in C:\Users\Maybel\AppData\Local\Temp\pip-build-xk_u6djn\PySide\


    C:\Users\Maybel>pip3 install --upgrade setuptools
    Requirement already up-to-date: setuptools in c:\users\maybel\appdata\local\programs\python\python36-32\lib\site-packages

    C:\Users\Maybel>pip install PySide
    Requirement already satisfied: PySide in c:\python27\lib\site-packages


    C:\Users\Maybel>pip3 install PySide
    Collecting PySide
      Using cached PySide-1.2.4.tar.gz
        Complete output from command python setup.py egg_info:
        only these python versions are supported: [(2, 6), (2, 7), (3, 2), (3, 3), (3, 4)]

        ----------------------------------------
    Command "python setup.py egg_info" failed with error code 1 in C:\Users\Maybel\AppData\Local\Temp\pip-build-6zrldsw7\PySide\


    C:\Users\Maybel>pip install PySide
    Requirement already satisfied: PySide in c:\python27\lib\site-packages

Please advice. Thanks in advance:)

Upvotes: 4

Views: 4891

Answers (1)

phd
phd

Reputation: 94397

I see this in the error output:

only these python versions are supported: [(2, 6), (2, 7), (3, 2), (3, 3), (3, 4)]

I.e. PySide checks Python's version and refuses to work with 3.6.

Upvotes: 2

Related Questions