Install Plotly in Anaconda(在 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 说情节
.即,没有包装.
The https://plot.ly/python/user-guide/ says to pip install plotly
. I.e., without package.
那么我应该在 Anaconda conda 中指定哪些包?
我试过没有错误:
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.
查看this描述之间的包和环境管理pip
和 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的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:在 Anaconda 中安装 Plotly


- 分析异常:路径不存在:dbfs:/databricks/python/lib/python3.7/site-packages/sampleFolder/data; 2022-01-01
- padding='same' 转换为 PyTorch padding=# 2022-01-01
- python check_output 失败,退出状态为 1,但 Popen 适用于相同的命令 2022-01-01
- 如何将一个类的函数分成多个文件? 2022-01-01
- 沿轴计算直方图 2022-01-01
- 如何在 Python 的元组列表中对每个元组中的第一个值求和? 2022-01-01
- 使用Heroku上托管的Selenium登录Instagram时,找不到元素';用户名'; 2022-01-01
- 如何在 python3 中将 OrderedDict 转换为常规字典 2022-01-01
- python-m http.server 443--使用SSL? 2022-01-01
- pytorch 中的自适应池是如何工作的? 2022-07-12