Hi,
I am a new user of PyRosetta, and I am wondering what I did wrong in order to run PyRosetta properly...
I downloaded and installed the version for 64 bits in a PC with mandriva 2009. After performing the steps suggested in readme.txt I tried to run ipython.py but did not get too far. This are the messages I got...
$ source SetPyRosettaEnvironment.sh
$ ./ipython.py
/home/ramon/PyRosetta-Release1.1-r34968.linux.64Bit/IPython/Magic.py:38: DeprecationWarning: the sets module is deprecated
from sets import Set
Python 2.6.1 (r261:67515, Jan 8 2010, 16:20:25)
Type "copyright", "credits" or "license" for more information.
IPython 0.9.1 -- An enhanced Interactive Python.
? -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help -> Python's own help system.
object? -> Details about 'object'. ?object also works, ?? prints more.
Then I typed...
In [1]: from rosetta import *
For which I got this error...
ImportError: rosetta/libboost_python-mt-py26.so.1.38.0: undefined symbol: PyUnicodeUCS4_FromEncodedObject
If I use python alone, this is what I get...
$ pyhton
-bash: pyhton: command not found
[ramon@europa PyRosetta-Release1.1-r34968.linux.64Bit]$ python
Python 2.6.1 (r261:67515, Jan 8 2010, 16:20:25)
[GCC 4.3.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from rosetta import *
Traceback (most recent call last):
File "", line 1, in
File "rosetta/__init__.py", line 14, in
import utility, core
File "rosetta/utility/__init__.py", line 1, in
from _rosetta_utility_000 import *
ImportError: rosetta/libboost_python-mt-py26.so.1.38.0: undefined symbol: PyUnicodeUCS4_FromEncodedObject
>>>
As you can see the error is the same and points to libboost...
What can I do in order to start PyRosetta?.
Any hints will be appreciated.
Cheers,
Ramon
Try This:
http://www.rosettacommons.org/node/1709
I use the library everytime I try to run Pyrosetta on a new system.
Should work. Good luck.
-Jared
Hi Jared,
Thank you for the hint. I did as instructed, that is, I recompiled Python-2.6.5 with the option ucs4 and that solved my problem...
Cheers,