PyRosetta is available for Mac (64-bit OS X v10.5+) and Linux (64-bit Red Hat and 64-bit Ubuntu) platforms in continuous release versions (usually we have a fresh builds available daily). Running on Windows-10 (thought Unix layer) is are also supported. Additionally, both Python 2.7 and 3.5 is supported.

A PyRosetta license is required in order to download and use PyRosetta. Licensing is free for academic and non-profit institutions and is available to commercial users for a fee. Academic and commercial licensing of PyRosetta is handled the license similar to standard Rosetta license through Rosetta Commons. Please click here for more information.

Please use our forums for technical support and assistance or if you have any questions or problems with installing PyRosetta.



PyRosetta Build Information:


Release
Speed optimized build, use it for production runs.

MinSizeRel
Build optimized to reduce memory footprint. Use this build with low-memory systems.

Debug
Binaries compiled in debug mode with additional asserts enabled and with debug-info compiled-in. Use this build for debugging.

Python-x.x versions
On CentOS and on Ubuntu Linux we provide binaries for both Python-2.7 and Python-3.5.
 

Current PyRosetta Versions

Mac

Mac OS X 10.7 "Lion/MountainLion" (64-bit) 

Linux

Scientific/Red Hat Linux (64-bit)

Ubuntu 18.04 LTS (64-bit)

Windows 10 

PyRosetta-4 Linux build work natively thought Win10 Linux layer. For installation details please see: Instructions for Installing PyRosetta on Windows 10


RosettaCommons Conda Channel 

    The RosettaCommons conda channel provides conda packages for each weekly releases. Currently PyRosetta.release packages for Python 3.6 and 3.7 provided for both Mac and Linux platforms. Note that when possible we intend to keep all released packages available (i.e old releases packages will not be deleted), so it should be safe to publish your results and use explicit PyRosetta version to ensure reproducibilityTo use RosettaCommons channel edit your local ~/.condarc and add https://conda.graylab.jhu.edu into your channels list. Then run conda install pyrosetta (or conda install pyrosetta=<version> if you want to install specific version of PyRosetta).

Example ~/.condarc:

channels: - https://USERNAME:PASSWORD@conda.graylab.jhu.edu - defaults


PyRosetta Binaries in Git repositories use this if you want to frequently update PyRosetta version. (To upgrade simply run 'git pull' on checked out repository. Please note that Git history automatically truncated to store only ~2 last revisions to save disk space.)

To checkout repository with PyRosetta binaries use following command line (replacing 'login' with your user name):

git clone http://login@git-repository-address

So for example Mac command line will be:

% git clone http://login@graylab.jhu.edu/download/PyRosetta4/git/release/PyRosetta4.Release.python27.mac.release.git

In order to update these repositories, you must use:

% git fetch && git reset --hard origin/master && git clean -fd

For a full list of available git repositories please see: [PyRosetta-4, Git repositories] (you will need to enter your user name and password to access this page)



Older PyRosetta Versions

Binaries for older PyRosetta releases could be downloaded here: [PyRosetta3 Download]



System Requirements

Build Support Information

PyRosetta is currently only supported on the platforms listed above. Users have sometimes been successful at installing PyRosetta on other platforms; please see the forums for more information, for example, the topic: Building PyRosetta for Linux Mint.

GNU/Linux

Python 2.7 or 3.5 for 64-bit Linux

Mac OS X

v10.6+ and any Intel-based chipset Mac

Windows

Windows-10 or later


Installation Instructions


GNU/Linux and Mac OS X


PyRosetta is distributed as a standard Python "distutils" package, which is compatible with most Python package management systems. (Though due to licensing issues, it is not available through pip.) There are two major ways to install PyRosetta: either into your standard system Python, or using a Python environment manager. Installation into the system Python is easier and makes PyRosetta available at all times, though it makes upgrading PyRosetta more difficult and may require administrator access. Using an environment manager is more flexible and permits installation as a normal (non-admin) user, but requires more effort in understanding the system.


System-wide install (using system Python):

  1. Obtain a Rosetta license from to receive a username and password.
  2. Download the appropriate version of PyRosetta from the links above.
  3. Unpack the downloaded file to the location of your choice to create the PyRosetta directory.
    (From a terminal/console window, you can unpack the archive using the command: tar -vjxf PyRosetta-<version>.tar.bz2
  4. From within the new PyRosetta directory, type cd setup && sudo python setup.py install into the command line to set up the PyRosetta.
  5. Start Python.
  6. In Python, you should be able to import the PyRosetta library with the command import pyrosetta; pyrosetta.init().
    (If this step does not produce a complaint or error, your installation has been successful.)
  • Once you've installed PyRosetta, the downloaded PyRosetta archive file and the associated directory from steps 2 and 3 are no longer needed.

Installation with an environment manager:


Before beginning, be sure that your desired environment manager (e.g. conda or virtualenv) is installed in your system. Please see tutorials for the corresponding environment manager to learn how to install and use them.
  1. Obtain a Rosetta license from to receive a username and password.
  2. Download the appropriate version of PyRosetta from the links above.
  3. Using the environment manager, create a new environment for this version of PyRosetta. (conda; virtualenv)
    (The corresponding version of Python should be the only dependency required.)
  4. Activate the new environment.
  5. Unpack the downloaded file to the location of your choice to create the PyRosetta directory.
    (From a terminal/console window, you can unpack the archive using the command: tar -vjxf PyRosetta-<version>.tar.bz2
  6. From within the new PyRosetta directory, type cd setup && python setup.py install into the command line to set up the PyRosetta.
  7. Start Python.
  8. In Python, you should be able to import the PyRosetta library with the command import pyrosetta; pyrosetta.init().
    (If this step does not produce a complaint or error, your installation has been successful.)
  • Once you've installed PyRosetta, the downloaded PyRosetta archive file and the associated directory from steps 2 and 5 are no longer needed.
  • If you installed PyRosetta within an environment manager, remember to re-activate the corresponding PyRosetta environment each time you wish to use PyRosetta.

Windows:

  1. Obtain a Rosetta license from to receive a username and password.
  2. Follow the [Instructions for Installing PyRosetta on Windows 10]
Subpages (1): PyRosetta3 Download