0

I'm using Aptana Studio with PyDev for my Python development.

When running my python scripts on my Mac, I want to add:

arch -i386 

on the front of the python command line so I get:

arch -i386 /Library/Frameworks/Python.framework/Versions/2.7/bin/python

Aptana doesn't seem to let me do this though when setting up a new interpreter. I've also tried:

/usr/bin/arch -i386 /Library/Frameworks/Python.framework/Versions/2.7/bin/python

Does anyone kow how I might do this?

!m!

4

1 回答 1

0

我一直有同样的问题,解决方案似乎很容易。

在 Aptana 中,转到解释器设置页面,那里会有一个按钮来添加一个新的解释器,执行此操作。在那里选择32位python的别名,即;

/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7-32

然后使用该解释器而不是默认的解释器,这对我有用。

于 2013-02-13T14:29:31.783 回答