Mac OSX installation

Member Site Forums PyRosetta PyRosetta – Build/Install Mac OSX installation

Viewing 2 reply threads
  • Author
    Posts
    • #678
      Anonymous

        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

      • #4706
        Anonymous

          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.

        • #5024
          Anonymous

            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

        Viewing 2 reply threads
        • You must be logged in to reply to this topic.