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