在Anaconda中安装Plotly [英] Install Plotly in Anaconda
问题描述
如何在Anaconda中安装Plotly?
https://conda.anaconda.org/plotly 对conda install -c https://conda.anaconda.org/plotly <package>
说,然后
https://plot.ly/python/user-guide/对pip install plotly
说.即,不带包装.
The https://plot.ly/python/user-guide/ says to pip install plotly
. I.e., without package.
那么我应该在Anaconda conda中指定哪些软件包?
我尝试了一个却没有得到错误:
I tried without one and get errors:
C:\>conda install -c https://conda.anaconda.org/plotly
Error: too few arguments, must supply command line package specs or --file
推荐答案
如果您不在乎安装哪个版本的Plotly,只需使用pip
.
If you don't care which version of Plotly you install, just use pip
.
pip install plotly
是从PyPi安装用于Plotly的最新稳定软件包的简便方法.
pip install plotly
is an easy way to install the latest stable package for Plotly from PyPi.
pip
是有用的软件包和依赖项管理工具,它使这些事情变得容易,但应注意,Anaconda的conda
工具将执行相同的操作.
pip
is a useful package and dependency management tool, which makes these things easy, but it should be noted that Anaconda's conda
tool will do the same thing.
pip
将默认安装到您的Anaconda安装位置.
pip
will install to your Anaconda install location by default.
查看此对pip
之间的软件包和环境管理的描述和conda
.
Check out this description of package and environment management between pip
and conda
.
该链接将显示conda
可以处理pip
可以做的所有工作,但是,如果您不想指定需要安装的软件包的版本,则pip
可以更加简洁
The link will show that conda
can handle everything pip
can and more, but if you're not trying to specify the version of the package you need to install, pip
can be much more concise.
这篇关于在Anaconda中安装Plotly的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!