Mountain Lion更新和Merurial库python [英] Mountain Lion update and mercurial libraries python

查看:126
本文介绍了Mountain Lion更新和Merurial库python的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我将Mac更新为Mountain Lion(10.8),现在我使用Python和Google App Engine开发的项目无法正常工作.

I updated the mac to Mountain Lion (10.8) and now the project I developed with Python and Google App Engine does not work.

找到了GAE库,而缺少了标准的Python库(是这些Python库吗?)(例如cgiloggingjson).

GAE libraries are found, while standard Python libraries (are these Python libraries?) are missed (e.g. cgi, logging, json).

当我打开Eclipse(具有PyDeV)时,我收到此警报:

When I open eclipse (which has PyDeV) I receive this alert:

abort: couldn't find mercurial libraries in 
[/Library/Python/2.7/site-packages/  /usr/local/bin
/Library/Python/2.7/site-packages/pip-1.1-py2.7.egg 
/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python27.zip
/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-darwin
/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac
/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/lib-scriptpackages
/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python
/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-tk
/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-old
/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload
/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/PyObjC
/Library/Python/2.7/site-packages] (check your install and
PYTHONPATH). Command line: hg -y debuginstall

有人知道如何解决此问题吗?

Does anyone know how to fix this?

推荐答案

在OS X上-10.8.2 通过Python easy_install工具安装mercurial解决了问题

On OS X - 10.8.2 Installing mercurial through Python easy_install tool solved the problem

easy_install -U mercurial

这篇关于Mountain Lion更新和Merurial库python的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆