简体   繁体   中英

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

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 ac/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/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM