我在使用 pip install 进行 plotly 导入时遇到问题。我得到的错误如下:
The following command must be run outside of the IPython shell:
$ pip install plotly
The Python package manager (pip) can only be used from outside of IPython.
Please reissue the `pip` command in a separate terminal or command prompt.
我对编程很陌生,所以我只是在 Windows 命令提示符下尝试了这个,它说“pip 不被识别为内部或外部命令、可运行的程序或批处理文件”。如果有帮助,我正在使用 Spyder,但我不确定我在这里遗漏了什么。
谢谢你的帮助。
原文由 user2744315 发布,翻译遵循 CC BY-SA 4.0 许可协议
我猜你忘了放!点之前。尝试:
在你的笔记本中,应该工作。