0
的我有一些麻烦触发了我的MacPorts 32位蟒蛇python2.7强制使用32位的蟒蛇
calvins-MacBook ttys003 Tue Nov 01 01:04:23 |~|
calvin$ arch -arch x86_64 python
Python 2.7.2 (default, Oct 31 2011, 20:10:35)
[GCC 4.2.1 Compatible Apple Clang 3.0 (tags/Apple/clang-211.10.1)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import platform; platform.architecture()
('64bit', '')
>>> exit()
calvins-MacBook ttys003 Tue Nov 01 01:04:49 |~|
calvin$ arch -arch i386 python
Python 2.7.2 (default, Oct 31 2011, 20:10:35)
[GCC 4.2.1 Compatible Apple Clang 3.0 (tags/Apple/clang-211.10.1)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import platform; platform.architecture()
('64bit', '')
>>>
我应该如何去触发使用32位蟒蛇的?
笔记,'拱-i386'不会对10.6 10.7对未修饰的工作2.7和3.2之前的32位/ 64位通用蟒蛇。另外,10.6和10.7版本的Apple提供的Pythons系统支持另一种通过环境变量或plist默认值选择32位和64位的方法。有关详细信息,请参阅Apple的python“man”页面。 –
的信息@Ned感谢,我一直在处理这种如果在过去几天的情况。 – birryree