Installing Pyside2 with qmake: "QT version 5.7+ required", but I have version 5.11 installed

时间:2018-05-06 17:04:35

标签: python python-3.x qt qmake pyside2

I'm trying to install pyside2 and following the steps of the Pyside2 website. After executing the following step:

(Base)* this = rhs

I get the the following error message :

*this = rhs;

I don't understand given the fact that i have $ python setup.py build --qmake=/anaconda3/bin/qmake --build-tests --ignore-git --jobs=8 installed:

running build
Removing /Users/mymac/pyside-setup/pyside_package
Python architecture is 64bit
Incompatible Qt version detected: 5.6.2. A Qt version >= 5.7 is required.

1 个答案:

答案 0 :(得分:0)

我可以使用github page安装pyside2。

我跑了以下几行:

conda config --add channels conda-forge
conda install pyside2

它有效!!

非常感谢@fredrikaverpil