You are here

Mac OSX installation

3 posts / 0 new
Last post
Mac OSX installation
#1

Hi everyone,

Here I'm sharing my frustration with using this module on Mac, with the hope of saving you some time, or finding a solution:

The library files (.so & dylib files) included in the package are ONLY compatible with the python 2.5 (and no other version) that is shipped with Mac OS.
This is a serious problem as many basic modules (e.g. numpy & scipy) are not compatible with this python and require standard version of python from python.org.
Here are some tricks that didn't work:

1. Noticing different architectures i386 vs x86_64 and compiling standard python with i386 setting.

2. Changing the python path in libboost_pythonxxxx.dylib manually and pointing them to the standard version of python 2.5, 2.6, 2.7

3. Replacing the libboos_pythonxxxx.dylib with the system's version provided after installation of boost +python.

Best,
--Siamak

Post Situation: 
Mon, 2010-09-27 13:31
levinthal

Hi Siamak,

Unfortunately there is no work around for this problem. We have tried various method of building PyRosetta in attempt to make it working with standard and non standard python at the same time and so far we have not found a solution.

Here the few things that you might try:
- Download Rosetta release source and try building PyRosetta for your python.
- use python 'easy_install' script to install numpy and scipy for standard Python.

Sergey.

Wed, 2010-12-08 15:14
Sergey

Hi Sergey,

The solution is to build and bundle your own python interpreter with PyRosetta. It is straightforward to build a version of python that is compatible with a wide range of OS X versions, and then you don't have to worry about Python version mismatches or 32/64 bit mismatches.

- ben

Tue, 2011-02-15 10:59
bene