PyRosetta in Mac 64 bit

Member Site Forums PyRosetta PyRosetta – Build/Install PyRosetta in Mac 64 bit

  • This topic has 2 replies, 2 voices, and was last updated 14 years ago by Anonymous.
Viewing 2 reply threads
  • Author
    Posts
    • #651
      Anonymous

        Hi Guys:

        I installed PyRosetta v1.1 for Mac OS X in a MacBook with an Intel Core 2 Duo processor (64 bit). After downloading the PyRosetta installation file for MacOS, I unpacked it and proceeded to play around with the tutorials. This is when my problems started.

        The version of Python installed in the MacBook is python2.5 and after changing to the pyrosetta directory, opening the pythonw dialog box and typing “from rosetta import *” a list of errors appear; mainly one that says “version mismatch”.

        I believe that PyRosetta v1.1 for Mac OS X is a 32 bit version, thus Python 2.5 should work.

        Since the MacBook is a 64 bit machine I tried the following:

        A) I compiled Python 2.5 and installed PyRosetta v1.1.as if this machine was a Linux 32 bit machine

        B) I compiled Python 2.6.5 and installed PyRosetta v1.1 as if this machine was a Linux 64 bit

        None of these combinations worked. After typing “from rosetta import *” some errors point to a bit mismatch… I believe that this tells me that MacOS does not recognize the gcc compilation of Python 2.5 and 2..6.5, right?… Well, just bad luck…

        Does anyone out there has had the same problem of PyRosetta installation in a Mac 64 bit?

        Any help will be appreciated…

        Cheers
        AmonRa

      • #4631
        Anonymous

          Hey, your problem is you are using the 32bit package that comes out the latest release. Rosetta 2.5 can either use 32bit interpreter or a 64bit, by default it is the 64 bit. On your command line type:

          $defaults write com.apple.versioner.python Version 2.5

          execute:
          $usr/bin/python2.5
          >>> import platform
          >>>platform.architecture()
          (’32bit’)

        • #4632
          Anonymous

            Hey, your problem is you are using the 32bit package that comes out the latest release. Rosetta 2.5 can either use 32bit interpreter or a 64bit, by default it is the 64 bit. On your command line type:

            $defaults write com.apple.versioner.python Version 2.5

            execute:

            $usr/bin/python2.5

            >>> import platform

            >>>platform.architecture()

            (’32bit’)

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