在Anaconda中安装Plotly [英] Install Plotly in Anaconda

查看:1782
本文介绍了在Anaconda中安装Plotly的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆