Python:无法安装新包ubuntu 15.10

时间:2016-03-13 06:47:14

标签: python ubuntu

我正在尝试安装情节,我收到此错误<IfModule mod_expires.c> ExpiresActive on ExpiresDefault "access plus 2 days" <Filesmatch "\.(jpe?g|png|gif|js|css|swf|ico|woff|mp3)$"> ExpiresDefault "modified plus 1 month" </Filesmatch> </IfModule>

每次尝试安装任何新软件包时,我都会遇到此错误 我尝试了许多建议的解决方案,但没有一个适用于我:

Can't install new python module [Ubuntu 15.10]

我试过这个:Command python setup.py egg_info failed with error code 1 这个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

1 个答案:

答案 0 :(得分:0)

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

sudo apt-get install python-plotly