ubuntu - bz2 not available (/usr/bin/python older version, so am using /home/name/somedir for python -
my server has python older version(2.6~), have created separate dir installing latest python. have installed binary .
now, got error 'bz2 module not available'
got problem when installing django-celery.
it working system level python this:
/usr/bin/python:
python shell opens......
then, import bz2; works !!!
python (means, locally installed python, after source /venv/bin/activate)
in python shell, import bz2; says not available. can please make work local version( not global one).
resources found , tried :
a very similar question describes same problem zlib. in short, you'll need libbz2.so
, headers in location python can find them. might need download bzip2 source code , compile/install in homedir well.
Comments
Post a Comment