|
hi,
I build ceph-10.2.2.tar.gz , but there is an error like this:
[root@mds0 ceph-10.2.2]# ceph -s
Traceback (most recent call last):
File "/usr/local/bin/ceph", line 118, in <module>
import rados
ImportError: No module named rados
I find the module rados like this:
[root@mds0 ceph-10.2.2]# locate rados.py
/usr/local/ceph-10.2.2/src/pybind/rados/rados.pyx
there is no file named rados.py
[root@mds0 ceph-10.2.2]# ls /usr/local/lib/python2.7/site-packages/
ceph_argparse.py ceph_argparse.pyo ceph_daemon.pyc ceph_rest_api.py
ceph_rest_api.pyo ceph_volume_client.pyc
ceph_argparse.pyc ceph_daemon.py ceph_daemon.pyo ceph_rest_api.pyc
ceph_volume_client.py ceph_volume_client.pyo
ls /usr/lib/python2.7/site-packages/ceph_*
/usr/lib/python2.7/site-packages/ceph_detect_init-1.0.1-py2.7.egg
/usr/lib/python2.7/site-packages/ceph_disk-1.0.0-py2.7.egg
I make and install ceph-10.2.2.tar.gz like this
#./install_deps.sh
#./autogen.sh
#./configure
# make -j2
# make install
# cat /proc/version
Linux version 3.10.0-327.el7.x86_64 (buil...@kbuilder.dev.centos.org) (gcc
version 4.8.3 20140911 (Red Hat 4.8.3-9) (GCC) ) #1 SMP Thu Nov 19 22:10:57 UTC
2015
centos7
How can I solve the error !
|
|
| | |
|
_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com