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>
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__
File "/usr/lib64/python2.7/subprocess.py", line 1327, in _execute_child
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!