Description of problem: On a CentOS 6 system, the pycrypto library is still unavailable, even after the corresponding RPM is installed: # yum install https://dl.fedoraproject.org/pub/epel/6/x86_64/python-crypto2.6-2.6.1-2.el6.x86_64.rpm # python -c 'import Crypto' Traceback (most recent call last): File "<string>", line 1, in <module> ImportError: No module named Crypto Version-Release number of selected component (if applicable): EPEL, CentOS 6, python-crypto2.6-2.6.1-2.el6.x86_64.rpm How reproducible: 100% Steps to Reproduce: 1. See description Actual results: Traceback Expected results: Blank line with no error Additional info: After creating a corresponding .pth file, things work fine: # echo 'pycrypto-2.6.1-py2.6-linux-x86_64.egg' > /usr/lib64/python2.6/site-packages/pycrypto-2.6.1.pth # python -c 'import Crypto' #
Yes, this is expected. :) This is a forward compat (ie newer than the base packge) version using these guidelines: https://fedoraproject.org/wiki/Packaging:Python_Eggs#Multiple_Versions So, you should adjust your calling programs sys.path or setup a script wrapper.