Actualización de Mountain Lion y bibliotecas mercurial python


Actualizé el mac a Mountain Lion (10.8) y ahora el proyecto que desarrollé con Python y Google App Engine no funciona.

Se encuentran bibliotecas GAE, mientras que las bibliotecas Python estándar (¿son estas bibliotecas Python?) se pierden (e. g.cgi, logging, json).

Cuando abro eclipse (que tiene PyDev) recibo esta alerta:

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

¿Alguien sabe cómo arreglar esto?

Author: Zero Piraeus, 2012-08-03

7 answers

En OS X - 10.8.2 La instalación de mercurial a través de Python easy_install tool resolvió el problema

easy_install -U mercurial
 44
Author: rajasoun,
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/ajaxhispano.com/template/agent.layouts/content.php on line 61
2012-10-08 11:36:01

Me encontré con el mismo problema, elegí una nueva versión (mercurial-2.2.3+20120707-py2. 7-macosx10. 7 ) del sitio web Mercurial y ahora funciona de nuevo.

 14
Author: tilo,
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/ajaxhispano.com/template/agent.layouts/content.php on line 61
2018-02-22 12:27:10

Tuve un problema similar a este anoche después de actualizar a OX 10.9 Mavericks . Yo lo intentaré brew install hg y brew update pero no funcionaron, ya que los sistemas de todos son diferentes si está ejecutando homebrew, recomendaría ejecutar brew doctor para ver cuál es su problema particular, en mi caso tuve lo siguiente;

Advertencia: Ha desvinculado barriles en su bodega

Dejar barriles sin vincular puede llevar a problemas de construcción y causar cervezas que dependen de esos barriles para no se puede ejecutar correctamente una vez construido. Ejecutar brew link en estos: mercurial

Así que para arreglar mi problema mercurial corrí;

brew link --overwrite mercurial

 11
Author: Gareth Jones,
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/ajaxhispano.com/template/agent.layouts/content.php on line 61
2013-11-26 01:22:33

Tuve este mismo problema.

Reinstalar Mercurial lo solucionó. Consíguelo desde aquí: http://mercurial.berkwood.com /

 2
Author: Al Nyveldt,
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/ajaxhispano.com/template/agent.layouts/content.php on line 61
2012-08-03 15:42:04

Otra opción fácil es usar Homebrew ( http://mxcl.github.io/homebrew/):

brew install hg

...funcionó para mí.

 1
Author: Nate,
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/ajaxhispano.com/template/agent.layouts/content.php on line 61
2013-05-11 17:26:11

Como usuario de macports "solucioné" esto ejecutando

sudo port install mercurial
 0
Author: tommys,
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/ajaxhispano.com/template/agent.layouts/content.php on line 61
2013-09-30 06:44:08

Para su información para otros - estaba viendo errores similares y tuve que reinstalar setuptools. ( http://pypi.python.org/pypi/setuptools/0.6c11 si aún no estás familiarizado con él.)

Las cosas parecen funcionar ahora.

 0
Author: mousebacon,
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/ajaxhispano.com/template/agent.layouts/content.php on line 61
2013-11-26 01:18:19