I have a python application that\'s run inside a virtualenv on CentOS. This application needs a python library that\'s distributed and installed as an rpm. When the application
It also might be a dependency problem. Try to reinstall the RPM using yum
instead of rpm
:
yum -y reinstall /path/to/your/file.rpm
By default virtual environments don't access modules in site-packages. You either need to allow such access (toggleglobalsitepackages
in virtualenvwrapper) or recreate you virtualenv allowing such access with option --system-site-packages
.