I am trying to install PyRosetta v2.0 (beta) in Ubuntu Linux 32 bits. I installed python 2.5 and manage to put it as default (2.7 was default in Ubuntu). But, when I tried to import PyRosetta (“from rosetta import” * or “import rosetta”) I got the following answer:
Traceback (most recent call last):
File ““, line 1, in
File “rosetta/_init_.py”, line 11, in
File “rosetta/utility/_init_.py”, line 1, in
from _utility_all_at_once import *
ImportError: libpython2.6.so.1.0: cannot open shared object file: No such file or directory
I installed also python 2.6.7, and I swichted between difefrent pythons as default, but I got always the same answer. What I am doing wrong? Maybe I should uninstalled everything and try it with PyRosetta v1.1??
It look like python2.6 dynamic lib is not installed (libpython2.6.so.*). Please double check your Python2.6 install and make sure that shared lib is there. If you building python from source make sure to enable building shared lib (it disable by default).
libpython2.6.so.1.0 should be part of the libpython2.6 package on Ubuntu (Found with the “search the contents of packages” feature of http://packages.ubuntu.com/ ). If it’s not already installed, you can probably install it with a command like: