使用DevStack安装OpenStack Icehouse时出现pkg_resources.DistributionNotFound的问题解决办法
现象:
File "/usr/local/bin/glance-manage", line 5, in
from pkg_resources import load_entry_point
File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 3018, in
working_set = WorkingSet._build_master()
File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 614, in _build_master
return cls._build_from_requirements(__requires__)
File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 627, in _build_from_requirements
dists = ws.resolve(reqs, Environment())
File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 805, in resolve
raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: oslo.config<1.5,>=1.2.0
解决办法:安装版本少于1.1.8的django-openstack-auth
sudo easy_install django-openstack-auth==1.1.7
参考:
阅读(13099) | 评论(0) | 转发(0) |