Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/python/318.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/jquery-ui/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Python 运行Matplotlib/PyQt时出现问题-错误_Python_Matplotlib_Pyqt - Fatal编程技术网

Python 运行Matplotlib/PyQt时出现问题-错误

Python 运行Matplotlib/PyQt时出现问题-错误,python,matplotlib,pyqt,Python,Matplotlib,Pyqt,我的matplotlib/Pyqt有问题。我尝试过几种不同的方法,比如使用conda remove和pip uninstall卸载matplotlib,然后尝试重新安装。当我尝试通过conda重新安装重新安装matplotlib时,出现以下错误: IOError:[Errno 2]没有这样的文件或目录:u'C:\Anaconda2\pkgs\pandas-0.19.2-np111py27_1\info\index.json' 我似乎可以通过pip安装来安装matplotlib,但当我尝试在jup

我的matplotlib/Pyqt有问题。我尝试过几种不同的方法,比如使用conda remove和pip uninstall卸载matplotlib,然后尝试重新安装。当我尝试通过conda重新安装重新安装matplotlib时,出现以下错误:

IOError:[Errno 2]没有这样的文件或目录:u'C:\Anaconda2\pkgs\pandas-0.19.2-np111py27_1\info\index.json'

我似乎可以通过pip安装来安装matplotlib,但当我尝试在jupyter notbook中运行代码时,出现以下错误:

ImportError:没有名为PyQt4的模块


有什么建议吗?我使用的是Python版本2.7.13和Anaconda版本4.0.0(64位)的windows操作符

对于蟒蛇,请尝试以下方法:

conda clean --packages --tarballs
conda update qt
或者只是重新安装它

最后,不要忘记安装PyQt4:

pip install PyQt4
或者从

&通过以下方式安装:

pip install PyQt4-4.11.4-cp35-none-win_amd64.whl

对于水蟒,请尝试以下方法:

conda clean --packages --tarballs
conda update qt
或者只是重新安装它

最后,不要忘记安装PyQt4:

pip install PyQt4
或者从

&通过以下方式安装:

pip install PyQt4-4.11.4-cp35-none-win_amd64.whl
你试过pip安装pyqt吗?你试过pip安装pyqt吗?