码迷,mamicode.com
首页 > 其他好文 > 详细

Ceph:ImportError: No module named pkg_resources

时间:2018-04-17 11:56:06      阅读:992      评论:0      收藏:0      [点我收藏+]

标签:module

说明:步骤ceph的时候出现"ImportError: No module named pkg_resources"

# ceph-deploy --overwrite-conf new ceph01.wanwan.com ceph02.wanwan.com ceph03.wanwan.com
Traceback (most recent call last):
  File "/bin/ceph-deploy", line 18, in <module>
    from ceph_deploy.cli import main
  File "/usr/lib/python2.7/site-packages/ceph_deploy/cli.py", line 1, in <module>
    import pkg_resources
ImportError: No module named pkg_resources

解决方法:

# yum -y install python2-pip-8.1.2-5.el7.noarch

记录下,备忘

Ceph:ImportError: No module named pkg_resources

标签:module

原文地址:http://blog.51cto.com/molewan/2104287

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!