View Single Post
Posts: 16 | Thanked: 0 times | Joined on Jan 2014
#561
Originally Posted by Marshall Banana View Post
This looks like a library path issue.

What's the output when you execute the following commands in terminal:
Code:
run-standalone.sh python
import sys
sys.path
import OpenSSL
You can exit the python shell with CTRL+D. Is '/usr/lib/pymodules/python2.5' in sys.path? If not, please try this and post the output:
Code:
run-standalone.sh python
import sys
sys.path.append('/usr/lib/pymodules/python2.5')
import OpenSSL
For the first code i have :

~ $ run-standalone.sh python
Python 2.5.4 (r254:67916, May 17 2010, 21:00:32)
[GCC 4.2.1] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> sys.path
['', '/usr/lib/python2.5', '/usr/lib/python2.5/plat-linux2', '/usr/lib/python2.5/lib-tk', '/usr/lib/python2.5/lib-dynload', '/usr/local/lib/python2.5/site-packages', '/usr/lib/python2.5/site-packages', '/usr/lib/python2.5/site-packages/Numeric', '/usr/lib/python2.5/site-packages/gst-0.10', '/usr/lib/pymodules/python2.5', '/usr/lib/python2.5/site-packages/gtk-2.0', '/usr/lib/pymodules/python2.5/gtk-2.0']
>>> import OpenSSL
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named OpenSSL
>>>
S


and for the second i have :

~ $ run-standalone.sh python
Python 2.5.4 (r254:67916, May 17 2010, 21:00:32)
[GCC 4.2.1] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> sys.path.append('/usr/lib/pymodules/python2.5')
>>> import OpenSSL
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named OpenSSL
>>> ~ $

Thanks