Spyder pyplot window mode

0 views
Skip to first unread message

Mig-15 engine

unread,
Oct 22, 2017, 6:23:53 PM10/22/17
to Anaconda - Public
Hello

On Windows, using Spyder with python 2.7, I cannot show plot in external window. When typing %matplotlib qt

ImportError: No module named PyQt4 

pops out (using ipython console)
Thus I can't launch interactive mode etc

I kindly ask for any help

Will Warner

unread,
Oct 23, 2017, 3:48:46 PM10/23/17
to Anaconda - Public
What output do you see if you close Spyder and run "conda install pyqt"?

If it says that it installed pyqt version 4, you can then try opening Spyder and showing the plot in an external window again.

Mig-15 engine

unread,
Oct 23, 2017, 3:59:21 PM10/23/17
to Anaconda - Public
Thank you for answer
I'll probably never know what happened as I reinstalled anaconda with newer version and everything is working fine.
Thanks anyway.
Reply all
Reply to author
Forward
0 new messages