vstart.sh complains module prettytable not found even when present on the system

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Since almost a week, I have encountered this vstart.sh issue for 5-6
times. After rebuilding a branch few times I come against this issue
on running vstart.sh -

Populating config ...
Traceback (most recent call last):
  File "/home/rishabh/repos/ceph/multifs-auth/build/bin/ceph", line
151, in <module>
    from ceph_daemon import admin_socket, DaemonWatcher, Termsize
  File "/home/rishabh/repos/ceph/multifs-auth/src/pybind/ceph_daemon.py",
line 24, in <module>
    from prettytable import PrettyTable, HEADER
ModuleNotFoundError: No module named 'prettytable'

It's odd to get this error because, first, vstart.sh was running fine
until last time I ran make command and, second, prettytable seems to
be present on the system -

$ pip list | grep prettytable
DEPRECATION: Python 2.7 reached the end of its life on January 1st,
2020. Please upgrade your Python as Python 2.7 is no longer
maintained. A future version of pip will drop support for Python 2.7.
More details about Python 2 support in pip, can be found at
https://pip.pypa.io/en/latest/development/release-process/#python-2-support
prettytable                  0.7.2
$ pip2 list | grep prettytable
DEPRECATION: Python 2.7 reached the end of its life on January 1st,
2020. Please upgrade your Python as Python 2.7 is no longer
maintained. A future version of pip will drop support for Python 2.7.
More details about Python 2 support in pip, can be found at
https://pip.pypa.io/en/latest/development/release-process/#python-2-support
prettytable                  0.7.2
$

Simply running make or install-deps.sh again doesn't fix this issue. I
have to delete the build directory and build from scratch again. I am
using Fedora 31. Following are my arguments to do_cmake.sh script -

-DWITH_PYTHON2=OFF -DWITH_CEPHFS_SHELL=ON -DWITH_BABELTRACE=OFF
-DWITH_MANPAGE=OFF -DWITH_RBD=OFF -DWITH_RADOSGW=OFF -DWITH_KRBD=OFF

I rebased my branch on my latest master last time (day before
yesterday, IIRC) to check if this has already been fixed but that's
not the case. Is this a known issue? How do I avoid building from
scratch repeatedly?

Thanks,
- Rishabh
_______________________________________________
Dev mailing list -- dev@xxxxxxx
To unsubscribe send an email to dev-leave@xxxxxxx



[Index of Archives]     [CEPH Users]     [Ceph Devel]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux