Johannes
Johannes

Reputation: 33

Pyside Installation "Failed to find the MSVC compiler version 10.0 on your system"

I'm currently in the process of developing a gui for my python script and want to do that by using PySide.

Right now I just can't get it up and running. PIP alwyas exits with this error:

nmake not found. Trying to initialize the MSVC env... 
Searching MSVC compiler version 10.0 error: Failed to find the MSVC compiler version 10.0 on your system.

I have the following components installed: Python 3.4.4 (64Bit) QT 5.6 / 5.7 Pycharm Community Edition

Windows 7 64Bit

I can run PIP and Python from the terminal without having to cd into the python directory. So my PATH Variables are set correctly.

Does anybody have the same issues or maybe a solution?

Best Jo

Upvotes: 3

Views: 3894

Answers (1)

Jing
Jing

Reputation: 1130

PySide requires Python 2.6 or later and Qt 4.6 or better.

Qt 5.x is currently not supported.

From: https://pypi.python.org/pypi/PySide/1.2.4#installing-pyside-on-a-windows-system

So maybe using qt4.x(>=4.6) instead of qt5.x can fix your problem.


I think the reason is that pip on your system install PySide from source package so you need a c/c++ complier.

Maybe you can install PySide binary version directly following this:

pip install PySide --only-binary :all:

If it doesn't work, please try to download ".exe" file, and run it instead of using pip.

".exe" from: https://download.qt.io/official_releases/pyside/

Upvotes: 5

Related Questions