pip - 安装 Dash 时出现问题( plotly )

标签 pip plotly conda

当尝试使用 pip 和 conda 安装 Dash 软件包时,我收到一条错误消息,指出找不到该软件包。所有其他软件包都可以通过 pip 正常安装

达世币套餐: https://plot.ly/dash/getting-started

pip install dash==0.18.3

Exception: Traceback (most recent call last): File "C:\Users\Owner\Anaconda3\lib\site-packages\pip\basecommand.py", line 215, in main status = self.run(options, args) File "C:\Users\Owner\Anaconda3\lib\site-packages\pip\commands\install.py", line 335, in run wb.build(autobuilding=True) File "C:\Users\Owner\Anaconda3\lib\site-packages\pip\wheel.py", line 749, in build self.requirement_set.prepare_files(self.finder) File "C:\Users\Owner\Anaconda3\lib\site-packages\pip\req\req_set.py", line 380, in prepare_files ignore_dependencies=self.ignore_dependencies)) File "C:\Users\Owner\Anaconda3\lib\site-packages\pip\req\req_set.py", line 554, in _prepare_file require_hashes File "C:\Users\Owner\Anaconda3\lib\site-packages\pip\req\req_install.py", line 278, in populate_link self.link = finder.find_requirement(self, upgrade) File "C:\Users\Owner\Anaconda3\lib\site-packages\pip\index.py", line 465, in find_requirement all_candidates = self.find_all_candidates(req.name) File "C:\Users\Owner\Anaconda3\lib\site-packages\pip\index.py", line 423, in find_all_candidates for page in self._get_pages(url_locations, project_name): File "C:\Users\Owner\Anaconda3\lib\site-packages\pip\index.py", line 568, in _get_pages page = self._get_page(location) File "C:\Users\Owner\Anaconda3\lib\site-packages\pip\index.py", line 683, in _get_page return HTMLPage.get_page(link, session=self.session) File "C:\Users\Owner\Anaconda3\lib\site-packages\pip\index.py", line 811, in get_page inst = cls(resp.content, resp.url, resp.headers) File "C:\Users\Owner\Anaconda3\lib\site-packages\pip\index.py", line 731, in init namespaceHTMLElements=False, TypeError: parse() got an unexpected keyword argument 'transport_encoding'

conda install dash==0.18.3

Fetching package metadata .............

PackageNotFoundError: Packages missing in current channels:

  • dash ==0.18.3

We have searched for the packages in the following channels:

最佳答案

您可以通过以下方式安装:

conda install -c conda-forge dash 

更多详细信息可以在这里找到: Anaconda Dash

关于pip - 安装 Dash 时出现问题( plotly ),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47034628/

相关文章:

python - 无法在我的 Python 项目中使用 Pillow

python-2.7 - 从 Google Cloud Storage 存储分区进行 pip 安装

docker - 使用 'docker build'或 'docker run'时环境差异

arrays - 使用 node.js 和在轴中传递数组来创建图形

conda - 如何修改 conda 'source activate' ps1 行为

python - 创建新的 Conda 环境时出现 PackageNotFoundError

python - 如何在启用 --target 选项的情况下为 pip 安装指定 bin 目录

python - 如果我安装了两个不同的版本,如何指定要导入的 pytorch?

python - plotly.figure_factory.create_annotated_heatmap 没有正确显示带有轴标签的图形

python - 改变100%堆积条形图中的颜色python