Last active
November 9, 2016 20:04
-
-
Save sjbertolani/96eba61298debce3bd5356744a5abbf8 to your computer and use it in GitHub Desktop.
Revisions
-
Steve Bertolani revised this gist
Nov 9, 2016 . 1 changed file with 3 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,4 @@ 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). @@ -11,11 +11,12 @@ Then, you open up python (in a jupyter notebook) and try Unfortunately, it dies with the following error: ``` Traceback (most recent call last): import rosetta ImportError: /home/carlin/bin/anaconda/bin/../lib/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by /home/carlin/bin/anaconda/lib/python3.5/site-packages/pyrosetta-4.0-py3.5.egg/rosetta.so) ``` This seems to stem from the version of libgcc that comes installed in anaconda. You can fix this by updating that lib with the following line ``` -
Steve Bertolani renamed this gist
Nov 9, 2016 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
Steve Bertolani created this gist
Nov 9, 2016 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,25 @@ ## 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 ``` Unfortunately, it dies with the following error: Traceback (most recent call last): import rosetta ImportError: /home/carlin/bin/anaconda/bin/../lib/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by /home/carlin/bin/anaconda/lib/python3.5/site-packages/pyrosetta-4.0-py3.5.egg/rosetta.so) """ This seems to stem from the version of libgcc that comes installed in anaconda. You can fix this by updating that lib with the following line ``` conda install libgcc ``` Now import rosetta should work ( this works for both python 2.7 and 3.5 )