gpt4 book ai didi

python : can't install new packages ubuntu 15. 10

转载 作者:太空宇宙 更新时间:2023-11-03 17:11:26 26 4
gpt4 key购买 nike

我正在尝试安装 plotly,但出现此错误 Command python setup.py egg_info failed with error code 1

实际上每次我尝试安装任何新包时都会收到此错误我尝试了很多建议的解决方案,但没有一个对我有用:

Can't install new python module [Ubuntu 15.10]

我试过这个:python -m pip install plotly
这个 sudo pip install plotly

输出:

  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 839, in resolve

raise DistributionNotFound(req, requirers)

pkg_resources.DistributionNotFound: The 'ruamel.yaml>=0.10.7'distribution was not found and is required by the application

Cleaning up...
Command python setup.py egg_info failed with error code 1 in /tmp/pip-build-azNxLO/plotly
Storing debug log for failure in /home/tyahmed/.pip/pip.log

最佳答案

点击此链接安装 plotly。- http://installion.co.uk/ubuntu/wily/universe/p/python-plotly/install/index.html

sudo apt-get install python-plotly

关于 python : can't install new packages ubuntu 15. 10,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35967409/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com