我安装了plotly.py来使用Jupyter来处理一些图,但我无法导入它.
! pip install plotly --upgrade Requirement already up-to-date: plotly in c:\python34\lib\site-packages Requirement already up-to-date: requests in c:\python34\lib\site-packages (from plotly) Requirement already up-to-date: six in c:\python34\lib\site-packages (from plotly) Requirement already up-to-date: pytz in c:\python34\lib\site-packages (from plotly) Cleaning up...
然后
import plotly --------------------------------------------------------------------------- ImportError Traceback (most recent call last) <ipython-input-6-c27a4132ad2e> in <module>() ----> 1 import plotly ImportError: No module named 'plotly'
我正在运行Python 3.4.1,所以作为Jupyter,我无法得到的是当我从命令行运行Python时,情节正常.有什么建议? (我真的不想清理安装Python)