python安装plotly,在Anaconda中安装Plotly

How to install Plotly in Anaconda?

The https://conda.anaconda.org/plotly says to conda install -c https://conda.anaconda.org/plotly , and

The https://plot.ly/python/user-guide/ says to pip install plotly. I.e., without package.

So which packages I should specify in 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

解决方案

If you don't care which version of Plotly you install, just use pip.

pip install plotly is an easy way to install the latest stable package for Plotly from PyPi.

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 will install to your Anaconda install location by default.

Check out this description of package and environment management between pip and conda.

Edit: 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.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值