python - Can't install opentok via pip due to "CompressionError: bz2 module is not available" -


i'm running ubuntu 14.04 64-bit. created virtual environment via pythonbrew venv using python 2.7.5. created django application dependent opentok python-sdk. when try install opentok, says:

compressionerror: bz2 module not available. 

it works fine using built in python (/usr/bin/python) using python provided py pythonbrew, encounter error.

this not bz2 module error can solved correcting paths mentioned in possible duplicate of question. pythonbrew virtualenv used here meaning should use different python other system python. answer there suggests linking system python not good. virtual env being used here isolate system python specific python use project.

first install bz2 try installing again :

sudo apt-get install libbz2-dev 

after give pip command again . work


Comments

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

php - .htaccess mod_rewrite for dynamic url which has domain names -

Website Login Issue developed in magento -