You are here

PyRosetta4 installation problem

2 posts / 0 new
Last post
PyRosetta4 installation problem


I am trying to install Pyrosetta4 with the following system and software settings:

Ubuntu Linux 16.04 LTS 64Bit

Python 2.7.12 (ubuntu default), 64bit


I followed the instructions given on RyRosetta website and typed in the command "cd setup && sudo python install" in terminal.

An error message quicked showed up as:

Extracting in /tmp/tmp7GOXbq
Now working in /tmp/tmp7GOXbq/setuptools-3.3
Building a Setuptools egg in /home/zuodong/Program/PyRosetta4/PyRosetta4.Release.python27.ubuntu.release-184/setup
Traceback (most recent call last):
  File "", line 77, 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/lib/python2.7/", line 567, in check_output
    process = Popen(stdout=PIPE, *popenargs, **kwargs)
  File "/usr/lib/python2.7/", line 711, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/", line 1343, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory

Could anyone give me some suggestions on how to fix the problem? Thank you very much!


Post Situation: 
Thu, 2018-06-28 16:57


don't know if you succeed or not but I had similar issue it  has been fixe following this:

Install basic development packages

This list may not be sufficient and necessary for building Python for PyRosetta. Maybe someone can correct me here:

sudo apt-get install build-essential libbz2-dev libncursesw5-dev libreadline-gplv2-dev libssl-dev libgdbm-dev libc6-dev libsqlite3-dev tk-dev mysql-client libmysqlclient-dev

If this command fails, remove the failed package(s) from the apt-get command line and try again. Take note of those that failed though in case they are needed. You may need libreadline5-dev instead of libreadline-gplv2-dev.


This is taken from




Wed, 2018-07-04 00:40