Closed zencircle closed 5 years ago
# pip -V
pip 19.0.3 from /opt/rh/python27/root/usr/lib/python2.7/site-packages/pip (python 2.7)
# uname -a
Linux XX 3.10.0-957.5.1.el7.x86_64 #1 SMP Wed Dec 19 10:46:58 EST 2018 x86_64 x86_64 x86_64 GNU/Linux
#pip show setuptools
Name: setuptools
Version: 40.8.0
..
Location: /opt/rh/python27/root/usr/lib/python2.7/site-packages
..
# which cassandra-snapshotter
/opt/rh/python27/root/usr/bin/cassandra-snapshotter
# pip show cassandra-snapshotter
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.
Name: cassandra-snapshotter
Version: 1.0.0
Summary: Cassandra snapshotter is a tool to backup cassandra to Amazon S3.
..
Location: /opt/rh/python27/root/usr/lib/python2.7/site-packages
I have tried reinstalling setuptools and also using virtuaenv and I get the same result
I reinstalled cassandra_snapshotter Error changed to No module from cassandra_snapshotter.agent import main
Changed directory permission to 755.
chmod 755 -R /opt/rh/python27/root
.
Fixed the issue. Closing