0

I'am trying to run ceph command but I get the error

$ ceph
Traceback (most recent call last):
  File "/usr/local/bin/ceph", line 100, in <module>
    from ceph_argparse import \
ImportError: No module named ceph_argparse

I found this link http://tracker.ceph.com/issues/11388

But /dist-packages/ceph_argparse.py doesn't exit in my /usr/lib/python2.7

I working on CentOS7 and I install ceph by

./autogen.sh 
./configure 
make 
make install 

and follow this link http://ceph.com/docs/master/install/manual-deployment/

SilverIce
  • 75
  • 1
  • 13
  • How did you install ceph? Can you locate ceph_argparse.py on your host? – alnet Sep 03 '15 at 07:58
  • I install ceph by `./autogen.sh` `./configure` `make` `make install` and follow this link http://ceph.com/docs/master/install/manual-deployment/ I found ceph_argparse.py at ceph/src/pybind/ceph_argparse.py – SilverIce Sep 03 '15 at 08:13
  • It should be installed to some other system path. Anyway, you can point PYTHONPATH to the place where ceph_argparse.py is located as a workaround. – alnet Sep 03 '15 at 10:42

1 Answers1

0

Need to get all of require package before install ceph

following this link >> http://ceph.com/docs/master/install/get-packages/

SilverIce
  • 75
  • 1
  • 13