Trouble installing PyRosetta on RedHat Linux 5.2 system

Member Site Forums PyRosetta PyRosetta – Build/Install Trouble installing PyRosetta on RedHat Linux 5.2 system

  • This topic has 1 reply, 2 voices, and was last updated 14 years ago by Anonymous.
Viewing 1 reply thread
  • Author
    Posts
    • #660
      Anonymous

        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.

      • #4709
        Anonymous

          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).

      Viewing 1 reply thread
      • You must be logged in to reply to this topic.