Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > ImportError: /usr/local/lib/python3.2/dist-packages/OpenSSL/SSL.cpython-32mu.so:

Reply
Thread Tools

ImportError: /usr/local/lib/python3.2/dist-packages/OpenSSL/SSL.cpython-32mu.so:

 
 
Jason Friedman
Guest
Posts: n/a
 
      12-27-2012
Hello,
I downloaded:
https://launchpad.net/pyopenssl/main...SL-0.11.tar.gz

Then:
$ python3 setup.py build
$ sudo python3 setup.py install

Then:
$ python3 -c "from OpenSSL import SSL"
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "OpenSSL/__init__.py", line 40, in <module>
from OpenSSL import crypto
ImportError: cannot import name crypto

Then I downloaded:
http://ftp.dlitz.net/pub/dlitz/crypt...pto-2.6.tar.gz

Then
$ python3 setup.py build
$ sudo python3 setup.py install

Now:
$ python3 -c "from OpenSSL import SSL"
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/local/lib/python3.2/dist-packages/OpenSSL/__init__.py",
line 45, in <module>
from OpenSSL import rand, SSL
ImportError: /usr/local/lib/python3.2/dist-packages/OpenSSL/SSL.cpython-32mu.so:
undefined symbol: SSLv2_method

(Which does not turn up any hits on Google, even with the local path removed.)

$ which python3
/usr/bin/python3

$ whereis python3
python3: /usr/bin/python3 /usr/bin/python3.2mu
/usr/bin/python3.2mu-config /usr/bin/python3.2-config
/usr/bin/python3.2 /etc/python3 /etc/python3.2 /usr/lib/python3
/usr/lib/python3.2 /usr/bin/X11/python3 /usr/bin/X11/python3.2mu
/usr/bin/X11/python3.2mu-config /usr/bin/X11/python3.2-config
/usr/bin/X11/python3.2 /usr/local/lib/python3.2
/usr/include/python3.2mu /usr/include/python3.2 /usr/share/python3
/opt/python/bin/python3.2m /opt/python/bin/python3
/opt/python/bin/python3.2m-config /opt/python/bin/python3.2-config
/opt/python/bin/python3.2 /usr/share/man/man1/python3.1.gz
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off




Advertisments