简体   繁体   中英

Running Anaconda Python Examples

I'd like to run any example .py script that uses matplotlib or pyqtgraph to see how it looks.

The problem is, none of the examples included with the Anaconda3-2.0.1-Windows-x86 install work. For example, I open Spyder3.4 that was installed with Anaconda, but when I open/run any of the .py files ( C:\\Anaconda3\\Lib\\site-packages\\matplotlib) nothing happens... No error message, nothing in the output tab.

I've installed this on a WinXp virtual machine that also has Qt5 creator/designer and PyQt installed. Is there any known conflict or path issues having PyQt installed alongside Anaconda?

How can I tell if Anaconda and its packages (namely pyqtgraph, matplotlib and pyqt) installed correctly?

You don't run the files in site-packages directly to use the modules. You should start a Python console in Spyder or the IPython notebook and use import matplotlib to access matplotlib.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM