Can I install Python 2.7.1 64bit along side of an exsiting 32bit install on OS X?

给你一囗甜甜゛ 提交于 2019-12-01 06:09:53

Check out http://www.macports.org/ Which provides ports of various flavors of linux/unix tools that don't appear in the default MacInstallation and duplicates those that it needs otherwise. It installs everthing in /opt/local instead of stepping on the installed base. With some manipulation of PATH and LD_LIBRARY_PATH this might give you the options you need.

silent1mezzo

I would use something like virtualenv. This way you can have as many different installs of python as you wish.

EDIT: To use different versions of python use:

virtualenv -p python2.6

Reference

Adam Lewis

Another possible solution that was provided in an answer to one of my questions aimed at using a virtual environment in the Windows world was using Buildout. This approach looks like it would allow me create an environment with the 32bit installed and another one with the 64bit.

I have not tested this out yet, but wanted to pass it along to anyone else attempting this feat.

Cheers!

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!