Skip to content

Instantly share code, notes, and snippets.

@sjbertolani
sjbertolani / gist:96eba61298debce3bd5356744a5abbf8
Last active November 9, 2016 20:04
Fixing Pyrosetta4 (new bindings) to work with Anaconda Python

This is a note on how to fix the new Pyrosetta4 bindings (which now pip install!!!) if you are using anaconda's python.

So assuming you have downloaded the latest bindings, unzipped them, pip installed them (all with anaconda's python at the front of your path).

Then, you open up python (in a jupyter notebook) and try

>>>import rosetta
>>>import pyrosetta
@sjbertolani
sjbertolani / gist:a98553b57c19737dec28
Last active January 20, 2020 07:02
Fixing Pyrosetta Binaries to work with Anaconda Python on MacOSX

Fixing Pyrosetta Binaries to work with Anaconda Python on MacOSX

Assuming your Anaconda Python is at the front of your path (type 'which ipython' to verify that it is using the Anaconda version). Here, Anaconda is installed in ~/anaconda

System Commands are preceded with ">"

Python Commands are preceded with ">>"

If you download the Pyrosetta Binaries, unzip them, source the SetPyrosettaEnvironment.sh and run ipython while using Ananconda's version of Ipython, you may see the following error: