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
基础教程推荐
- 尝试制作WhatsApp机器人 2022-01-01
- Discord.py 缺少必需的参数 2022-01-01
- 将 x 轴刻度更改为自定义字符串 2022-01-01
- pyserial - 可以从线程 a 写入串行端口,是否阻塞从线程 b 读取? 2022-01-01
- 在 Celery 工作人员中捕获 Heroku SIGTERM 以优雅地关 2022-01-01
- 与常规 dict 相比,Python manager.dict() 非常慢 2022-01-01
- 使用生成器和迭代器时 Python 多循环失败 2022-01-01
- 由Python将MP3转换为MIDI(类型错误:无法加载插件:mtg-Melodia:Melodia) 2022-01-01
- numpy float:比算术运算中内置的慢 10 倍? 2022-01-01
- 用 Python 编写 Fortran 无格式文件 2022-01-01
