在Windows上的anaconda python3上安装pyqt4

时间:2017-12-18 09:42:05

标签: windows python-3.x pyqt4 anaconda

首先我卸载了qt5:

C:\Users\myuser\Anaconda3\Scripts>conda.exe uninstall pyqt

然后我尝试通过conda安装pyqt4:

C:\Users\myuser\Anaconda3\Scripts>conda.exe install -c anaconda pyqt=4.11.4
Fetching package metadata ...............
Solving package specifications: .

UnsatisfiableError: The following specifications were found to be in conflict:
  - pyqt 4.11.4* -> python 2.7*
  - python 3.6*
Use "conda info <package>" to see the dependencies for each package.

使用pip

C:\Users\myuser\Anaconda3\Scripts>pip.exe install pyqt4
Collecting pyqt4
  Could not find a version that satisfies the requirement pyqt4 (from versions:
)
No matching distribution found for pyqt4

那么可以用python3安装pyqt4吗?

类似的问题在这里是python2 How to install PyQt4 in anaconda?

0 个答案:

没有答案