You are here

PyRosetta in Mac 64 bit

3 posts / 0 new
Last post
PyRosetta in Mac 64 bit
#1

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

Post Situation: 
Thu, 2010-08-12 11:11
amonra

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')

Tue, 2010-09-21 19:09
jwillis

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')

Tue, 2010-09-21 19:10
jwillis