4
votes

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.

  • First Try

    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\

  • Try to upgrade setuptools because this is one of the way suggested online here

    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

  • Second Try after upgrade the setuptools

    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\

  • Try to use pip install PySide

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

Please advice. Thanks in advance:)

1

1 Answers

2
votes

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.