Hola de nuevo. Gracias Alejandro. Pero... He instalado la 2.5.4 y al ejecutar la orden ahora me pone
*Traceback (most recent call last):* * File "go-mapfish-framework-2.2.py <http://go-mapfish-framework-2.2.py>", line 19, in <module>* * import zlib* *ImportError: No module named zlib* Entiendo que es porque falte alguna librería (zlib), pero tampoco se si he instalado correctamente la versión de Python. Help..... El 31 de julio de 2014, 10:23, Alejandro Díaz <[email protected]> escribió: > Buenas Matías, > > En la documentación de instalación de mapfish no especifican nada sobre > instalación en Python 2.7[1]. > > Sí puedes, prueba a instalarlo con una versión 2.5 o 2.6. > > Asegurate también de instalar los paquetes de desarrollo de Python. > > Un saludo. > > [1] > http://www.mapfish.org/doc/2.2/installation.html > El 31/07/2014 09:57, "Matías Taborda Barroso" <[email protected]> > escribió: > >> Hola a todos/as. >> >> Estoy intentando instalar el framework Mapfish en Ubuntu 14.04 de 64 bits >> y version de Python 2.7.6 >> >> Desde la página oficial de Mapfish descargo el script >> *go-mapfish-framework-2.2.py >> <http://go-mapfish-framework-2.2.py> * y en la terminal ejecuto la orden >> python *go-mapfish-framework-2.2.py >> <http://go-mapfish-framework-2.2.py> --no-site-packages env * y obtengo >> el siguiente mensaje: >> >> *New python executable in env/bin/python* >> *Installing setuptools....................................* >> * Complete output from command /home/matias/Escritorio/env/bin/python -c >> "#!python* >> *\"\"\"Bootstra...sys.argv[1:])* >> >> *" --always-copy -U setuptools:* >> * Downloading >> http://pypi.python.org/packages/2.7/s/setuptools/setuptools-0.6c11-py2.7.egg >> <http://pypi.python.org/packages/2.7/s/setuptools/setuptools-0.6c11-py2.7.egg>* >> *Traceback (most recent call last):* >> * File "<string>", line 279, in <module>* >> * File "<string>", line 214, in main* >> * File >> "/home/matias/Escritorio/setuptools-0.6c11-py2.7.egg/setuptools/command/easy_install.py", >> line 1712, in main* >> * File >> "/home/matias/Escritorio/setuptools-0.6c11-py2.7.egg/setuptools/command/easy_install.py", >> line 1700, in with_ei_usage* >> * File >> "/home/matias/Escritorio/setuptools-0.6c11-py2.7.egg/setuptools/command/easy_install.py", >> line 1716, in <lambda>* >> * File "/usr/lib/python2.7/distutils/core.py", line 151, in setup* >> * dist.run_commands()* >> * File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands* >> * self.run_command(cmd)* >> * File "/usr/lib/python2.7/distutils/dist.py", line 971, in run_command* >> * cmd_obj.ensure_finalized()* >> * File "/usr/lib/python2.7/distutils/cmd.py", line 109, in >> ensure_finalized* >> * self.finalize_options()* >> * File >> "/home/matias/Escritorio/setuptools-0.6c11-py2.7.egg/setuptools/command/easy_install.py", >> line 125, in finalize_options* >> * File >> "/home/matias/Escritorio/setuptools-0.6c11-py2.7.egg/setuptools/command/easy_install.py", >> line 1121, in _expand* >> * File "/usr/lib/python2.7/distutils/cmd.py", line 312, in >> get_finalized_command* >> * cmd_obj.ensure_finalized()* >> * File "/usr/lib/python2.7/distutils/cmd.py", line 109, in >> ensure_finalized* >> * self.finalize_options()* >> * File >> "/home/matias/Escritorio/setuptools-0.6c11-py2.7.egg/setuptools/command/install.py", >> line 32, in finalize_options* >> * File "/usr/lib/python2.7/distutils/command/install.py", line 321, in >> finalize_options* >> * (prefix, exec_prefix) = get_config_vars('prefix', 'exec_prefix')* >> * File >> "/home/matias/Escritorio/env/lib/python2.7/distutils/__init__.py", line 88, >> in sysconfig_get_config_vars* >> * real_vars = old_get_config_vars(*args)* >> * File "/usr/lib/python2.7/distutils/sysconfig.py", line 495, in >> get_config_vars* >> * func()* >> * File "/usr/lib/python2.7/distutils/sysconfig.py", line 439, in >> _init_posix* >> * from _sysconfigdata import build_time_vars* >> * File "/usr/lib/python2.7/_sysconfigdata.py", line 6, in <module>* >> * from _sysconfigdata_nd import ** >> *ImportError: No module named _sysconfigdata_nd* >> *----------------------------------------* >> *...Installing setuptools...done.* >> *Traceback (most recent call last):* >> * File "go-mapfish-framework-2.2.py >> <http://go-mapfish-framework-2.2.py>", line 2055, in <module>* >> * main()* >> * File "go-mapfish-framework-2.2.py >> <http://go-mapfish-framework-2.2.py>", line 797, in main* >> * never_download=options.never_download)* >> * File "go-mapfish-framework-2.2.py >> <http://go-mapfish-framework-2.2.py>", line 897, in create_environment* >> * search_dirs=search_dirs, never_download=never_download)* >> * File "go-mapfish-framework-2.2.py >> <http://go-mapfish-framework-2.2.py>", line 590, in install_setuptools* >> * search_dirs=search_dirs, never_download=never_download)* >> * File "go-mapfish-framework-2.2.py >> <http://go-mapfish-framework-2.2.py>", line 564, in _install_req* >> * cwd=cwd)* >> * File "go-mapfish-framework-2.2.py >> <http://go-mapfish-framework-2.2.py>", line 865, in call_subprocess* >> * % (cmd_desc, proc.returncode))* >> *OSError: Command /home/matias/Escritorio/env/bin/python -c "#!python* >> *\"\"\"Bootstra...sys.argv[1:])* >> >> *" --always-copy -U setuptools failed with error code 1* >> >> Decir que soy novato en estas lides y por tanto se me hace complicado >> intuir por donde puede estar el error y no encuentro nada en la web. >> >> Gracias a cualquier alma caritativa :). >> >> Saludos. >> >> >> _______________________________________________ >> Spanish mailing list >> http://lists.osgeo.org/mailman/listinfo/spanish >> http://es.osgeo.org >> http://twitter.com/osgeoes >> > > _______________________________________________ > Spanish mailing list > http://lists.osgeo.org/mailman/listinfo/spanish > http://es.osgeo.org > http://twitter.com/osgeoes >
_______________________________________________ Spanish mailing list http://lists.osgeo.org/mailman/listinfo/spanish http://es.osgeo.org http://twitter.com/osgeoes
