You are here

Trouble installing PyRosetta on RedHat Linux 5.2 system

2 posts / 0 new
Last post
Trouble installing PyRosetta on RedHat Linux 5.2 system
#1

Hi,
Hopefully this is a sufficiently naive question that somebody can answer it easily. I have tried installing PyRosetta on a Linux 64-bit system, but cannot do so for one or the other of the following reasons:
1) if I try running Python 2.6.5 I get the following error:
"
$ source SetPyRosettaEnvironment.sh Missing }.
$ /phys/users/pemani/python2.6/bin/python ./ipython.py
/phys/users/pemani/PyRosettaFolder/IPython/Magic.py:38: DeprecationWarning: the sets module is deprecated
from sets import Set
Python 2.6.5 (r265:79063, Aug 19 2010, 17:00:16)
Type "copyright", "credits" or "license" for more information.

IPython 0.9.1 -- An enhanced Interactive Python.
? -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help -> Python's own help system.
object? -> Details about 'object'. ?object also works, ?? prints more.

In [1]: from rosetta import *
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)

/phys/users/pemani/PyRosettaFolder/ in ()

/phys/users/pemani/PyRosettaFolder/rosetta/__init__.py in ()
12 warnings.filterwarnings("ignore", "to-Python converter for .+ already registered; second conversion method ignored.", RuntimeWarning, "^rosetta\\.")
13
---> 14 import utility, core
15
16 import rosetta.utility

/phys/users/pemani/PyRosettaFolder/rosetta/utility/__init__.py in ()
----> 1 from _rosetta_utility_000 import *
2 from _rosetta_utility_001 import *

ImportError: libpython2.6.so.1.0: cannot open shared object file: No such file or directory "

2) When I try to run the local epd61 version of python, it has the shared library libpython2.6.so.1.0, but gives me a different error:
"
In [1]: from rosetta import *
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)

/phys/users/pemani/PyRosettaFolder/ in ()

/phys/users/pemani/PyRosettaFolder/rosetta/__init__.py in ()
12 warnings.filterwarnings("ignore", "to-Python converter for .+ already registered; second conversion method ignored.", RuntimeWarning, "^rosetta\\.")
13
---> 14 import utility, core
15
16 import rosetta.utility

/phys/users/pemani/PyRosettaFolder/rosetta/utility/__init__.py in ()
----> 1 from _rosetta_utility_000 import *
2 from _rosetta_utility_001 import *

ImportError: rosetta/utility/_rosetta_utility_000.so: wrong ELF class: ELFCLASS64

"
I've struggled with this for days. Any help would be greatly appreciated.

Post Situation: 
Wed, 2010-08-25 17:09
pemani

Error 'ImportError: libpython2.6.so.1.0: cannot open shared object file: No such file or directory "' indicate that you have Python installed without dynamic lib support. If it local user install try to re-build/reinstall python with shared lib enable (./configure --enable-shared).

Wed, 2010-12-08 15:25
Sergey