我是python世界的新手。我试图安装绘图来探索可视化。
我安装了pip。升级了。在那之后,我精心下载了。但是,在导入时,它仍然显示错误。在!python -m pip install --upgrade pip
结果显示
^{pr2}$
我升级了皮普!python -m pip install --upgrade pip
它显示Requirement already up-to-date: pip in c:\python27\lib\site-packages
之后!pip install plotly --upgrade
结果显示Requirement already up-to-date: plotly in c:\python27\lib\site-packages
Requirement already up-to-date: requests in c:\python27\lib\site-packages (from plotly)
Collecting six (from plotly)
Downloading six-1.10.0-py2.py3-none-any.whl
Requirement already up-to-date: pytz in c:\python27\lib\site-packages (from plotly)
Installing collected packages: six
Found existing installation: six 1.9.0
Uninstalling six-1.9.0:
Successfully uninstalled six-1.9.0
Successfully installed six-1.10.0
You are using pip version 7.0.3, however version 9.0.1 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.
当我精心导入时import plotly
它显示No module named plotly
我回答这个长问题。但我该怎么处理呢?
API密钥有什么关系吗?在
我生成了我的API密钥并尝试使用plotly.tools.set_credentials_file(username='DemoAccount', api_key='hcv50j3UCMhj6Q0iRXZr')
上面写着“情节未定”。这是正确的语法吗?有人能告诉我一步一步的过程吗?有别的办法吗?在
谢谢。在