python - 山狮更新和善变库python

标签 python macos osx-mountain-lion

我将 mac 更新为 Mountain Lion (10.8),现在我使用 Python 和 Google App Engine 开发的项目无法运行。

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

当我打开 eclipse(它有 PyDeV)时,我会收到这个警报:

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

有谁知道如何解决这个问题?

最佳答案

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

easy_install -U mercurial

关于python - 山狮更新和善变库python,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11797761/

相关文章:

python - numpy 数组中特定轴上的众数

python - 如何在 5 上四舍五入

swift - Mac Catalyst 上的应用内购买不起作用

java - 将 Jackcess 与 JCIFS 结合使用来操作 SMB 共享上的 Access 数据库

macos - 在 MacOS 中使用 SYCL 1.2

objective-c - NSNumber 保存 double

macos - nm 找不到符号时处理 "dyld: lazy symbol binding failed: Symbol not found"错误

python - Pandas 上的动量投资组合(趋势跟踪)量化模拟

python - Brew 未安装最新版本

python - SqlAlchemy 是否支持 SQL/JSON