简体   繁体   English

如何在Snow Leopard上将已编译的Python 2.6.4恢复为系统默认值?

[英]How to revert compiled Python 2.6.4 to system default on Snow Leopard?

So earlier this year I manually built 2.6.4 for Snow Leopard because I wanted a slightly more updated version of Python than what Apple released. 因此,今年早些时候,我为Snow Leopard手动构建了2.6.4,因为我想要的Python版本要比Apple发布的版本略多。 This has caused all kinds of problems when installing some eggs like PIL and running other 3rd party python apps. 当安装一些鸡蛋(例如PIL)并运行其他第三方python应用程序时,这引起了各种问题。 Now I just want to revert everything back to what Snow Leopard ships with because I have to get work done and it's getting in the way. 现在,我只想将所有内容恢复为Snow Leopard随附的产品,因为我必须完成工作,并且会遇到麻烦。 If worse comes to worse, I'm going to reinstall the OS but I'd like to avoid that if possible. 如果情况变得更糟,我将重新安装操作系统,但如果可能的话,我想避免这种情况。

设置PATH环境变量,以便/ usr / bin位于放置自定义编译的Python二进制文件的任何位置。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM