You are here

Error installing PyRosetta

2 posts / 0 new
Last post
Error installing PyRosetta


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 I get the following error:

Traceback (most recent call last):
  File "", line 85, in <module>
  File "", line 61, in setup_package
    version = get_package_version(),
  File "", line 36, in get_package_version
    subprocess.check_output(["git", "rev-parse", "--show-toplevel"]).strip().decode(),
  File "/usr/lib64/python2.7/", line 568, in check_output
    process = Popen(stdout=PIPE, *popenargs, **kwargs)
  File "/usr/lib64/python2.7/", line 711, in __init__
    errread, errwrite)
  File "/usr/lib64/python2.7/", line 1327, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory

I have tried the fix found in 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  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!

Post Situation: 
Thu, 2019-05-16 17:00

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. 

Thu, 2019-05-23 14:53