Ceph:ImportError: No module named pkg_resources

說明:步驟ceph的時候出現"ImportError: No module named pkg_resources"python

# 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

解決方法:python2.7

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

記錄下,備忘ide

相關文章
相關標籤/搜索