简体   繁体   中英

After installing pyqtgraph, still getting ImportError

I installed pyqtgraph in an anaconda environment by this command:

sudo pip install pyqtgraph

However, I am getting import error.

import pyqtgraph as pg
ImportError: No module named pyqtgraph

I also tried sudo apt-get install python-pyqtgraph , however, this also did not work. Could you please help?

我通过为anaconda安装pyqtgraph解决了这个问题:

conda install pyqtgraph

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