[Twisted-Python] installing pyOpenSSL on Centos6 help
John Santos
JOHN at egh.com
Mon Feb 13 13:44:50 MST 2012
Did you install pycrypto as well? I think you need to "import Crypto"
(uppercase "C")
I've got an application written in Twisted that uses pyOpenSSL. It
also needs pyasn1, but I forget why. I think the most recent version
of pycrypto required it.
My app is currently using:
Python 2.7.1
zope.interface-3.6.1
Twisted 11.0.0
pyOpenSSL-0.12
pyasn1-0.0.11a
pycrypto-2.3
(I'm about to try it with Twisted 12.0.0, and check for any updates of
the other packages, but it did work with at least some previous versions
of some of them. I can try to track this down if you are stuck on an
older version of something.)
I installed them in that order. It's running on Suse Linux Enterprise
Server 10 SP1, if that turns out to matter.
--
John Santos
Evans Griffiths & Hart, Inc.
781-861-0670 ext 539
-------------- next part --------------
After performing a straight-forward install of pyOpenSSL I am getting the
following strange import error. Suggestions appreciated!
# python
Python 2.6.6 (r266:84292, Dec 7 2011, 20:38:36)
[GCC 4.4.6 20110731 (Red Hat 4.4.6-3)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import OpenSSL
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "OpenSSL/__init__.py", line 40, in <module>
from OpenSSL import crypto
ImportError: cannot import name crypto
Regards,
Tom
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/twisted-python/attachments/20120213/96d1a066/attachment.html>
-------------- next part --------------
_______________________________________________
Twisted-Python mailing list
Twisted-Python at twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
More information about the Twisted-Python
mailing list