如何在 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的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!
如何在 conda 环境中安装 Selenium?How to install Selenium in a conda environment?(如何在 conda 环境中安装 Selenium?)
使用 Anaconda installe 在 Windows 上获取 CUDA 和 CUDNNget the CUDA and CUDNN version on windows with Anaconda installe(使用 Anaconda installe 在 Windows 上获取 CUDA 和 CUDNN 版本)
如何下载适用于 python 3.6 的 AnacondaHow can I download Anaconda for python 3.6(如何下载适用于 python 3.6 的 Anaconda)
使用两个不同的 Python 发行版Using two different Python Distributions(使用两个不同的 Python 发行版)
除了 OSX 上现有的 pyenv 安装之外,如何安装 AnaHow can I install Anaconda aside an existing pyenv installation on OSX?(除了 OSX 上现有的 pyenv 安装之外,如何安装 Anaconda?)
在 Cygwin 中为 Anaconda 永久设置 Python 路径Permanently set Python path for Anaconda within Cygwin(在 Cygwin 中为 Anaconda 永久设置 Python 路径)