How to install PyQt4 in anaconda?

后端 未结 7 1319
自闭症患者
自闭症患者 2020-11-27 15:15

From the PyQt4 website their instructions for installing the package are to download the tarball and use the config file. I have two versions of Python, one is my normal sys

相关标签:
7条回答
  • 2020-11-27 16:08

    It looks like the latest version of anaconda forces install of pyqt5.6 over any pyqt build, which will be fatal for your applications. In a terminal, Try:

    conda install -c anaconda pyqt=4.11.4
    

    It will prompt to downgrade conda client. After that, it should be good.

    UPDATE: If you want to know what pyqt versions are available for install, try:

    conda search pyqt
    

    UPDATE: The most recent version of conda installs anaconda-navigator. This depends on qt5, and should first be removed:

    conda uninstall anaconda-navigator
    

    Then install "newest" qt4:

    conda install qt=4
    
    0 讨论(0)
提交回复
热议问题