0

I am having problems with my matplotlib/Pyqt. I have tried several different things like uninstalling matplotlib using conda remove and pip uninstall and then tried re-installing. When I try re-installing matplotlib through conda reinstall, I get the following error:

IOError: [Errno 2] No such file or directory: u'C:\Anaconda2\pkgs\pandas-0.19.2-np111py27_1\info\index.json'

I seem to be able to install matplotlib via pip install, but when I try running my code in jupyter notbook I get the following error:

ImportError: No module named PyQt4.

Any suggestions? I am using Python version 2.7.13 and Anaconda version 4.0.0 (64-bit) windows operator.

1
  • have you tried pip install pyqt ? Commented Mar 3, 2017 at 21:54

1 Answer 1

2

For Anaconda try this :

conda clean --packages --tarballs
conda update qt

or just Re-install it.

Finally, Don't forget to install PyQt4:

pip install PyQt4

or download the python Wheel pkg from http://www.lfd.uci.edu/~gohlke/pythonlibs/#pyqt4

& install it by:

pip install PyQt4-4.11.4-cp35-none-win_amd64.whl
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.