Error installing PyRosetta

Member Site Forums PyRosetta PyRosetta – Build/Install Error installing PyRosetta

Viewing 1 reply thread
  • Author
    Posts
    • #3149
      Anonymous

        Hello,

        I am running Scientific Linux 7.6 64-bit and using python 2.7 trying to install the regular python 2.7 Scientific Linux/Red Hat linux PyRosetta4.

        After running setup.py I get the following error:

        Traceback (most recent call last):

          File “setup.py”, line 85, in <module>

            setup_package()

          File “setup.py”, line 61, in setup_package

            version = get_package_version(),

          File “setup.py”, line 36, in get_package_version

            subprocess.check_output([“git”, “rev-parse”, “–show-toplevel”]).strip().decode(),

          File “/usr/lib64/python2.7/subprocess.py”, line 568, in check_output

            process = Popen(stdout=PIPE, *popenargs, **kwargs)

          File “/usr/lib64/python2.7/subprocess.py”, line 711, in __init__

            errread, errwrite)

          File “/usr/lib64/python2.7/subprocess.py”, line 1327, in _execute_child

            raise child_exception

        OSError: [Errno 2] No such file or directory

        I have tried the fix found in https://www.rosettacommons.org/node/10291 to no avail; I get a message saying the packages do not exist.However, when I set the directory to PyRosetta, PyRosetta works fine in python and passes all of the tests in self-test.py.  When I set PyRosetta as a package in PyCharm IDE PyRosetta is imported properly in my scripts around half the time (I tried this as a work-around). Any help would be appreciated!

      • #14742
        Anonymous

          My guess is that error is due to `git` missing on your system, have you checked if it is installed? And if it is not installed please try to install it and see if it helps. 

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