[pyar] Instalando en windows

Angel Java Lopez ajlopez2000 en gmail.com
Lun Nov 11 12:02:27 ART 2013


Ojo, alguna vez tuve que usar el Prompt de commando de Visual Studio
(Express), no el command prompt de siempre

Es decir, no alcanza con agregarlo al PATH

sera eso?

Angel "Java" Lopez
@ajlopez



2013/5/16 Juan Gabardini <jgabardini en gmail.com>

> hola
> Instalé vc, y parece andar (lo agregué al path) y ahora puedo ejecutar
> vcvarsall.bat desde línea de comando
>
> Pero cuando corro pip install -r requirements.txt, sigue fallando
>
> Está haciendo alguna magia con el path? No entiendo lo que hace con
> __file__
>
> Cualquier idea, bienvenida! Gracias
>
> Installing collected packages: PIL, argparse, distribute, mock, reportlab,
> wsgiref
>   Running setup.py install for PIL
>     WARNING: '' not a valid package name; please use only.-separated
> package names in setup.py
>     building '_imaging' extension
>     error: Unable to find vcvarsall.bat
>     Complete output from command C:\python27\python.exe -c "import
> setuptools;__file__='c:\\users\\t
>
> ecno\\appdata\\local\\temp\\pip-build-Juan\\PIL\\setup.py';exec(compile(open(__file__).read().replac
> e('\r\n', '\n'), __file__, 'exec'))" install --record
> c:\users\tecno\appdata\local\temp\pip-i_4q_y-r
> ecord\install-record.txt --single-version-externally-managed:
>     WARNING: '' not a valid package name; please use only.-separated
> package names in setup.py
>
> running install
>
> running build
>
> running build_py
>
> running build_ext
>
> building '_imaging' extension
>
> error: Unable to find vcvarsall.bat
>
>
>
>
> 2013/5/15 Juan Gabardini <jgabardini en gmail.com>
>
>>
>> 2013/5/15 Mariano Reingart <reingart en gmail.com>
>>
>>> 2013/5/15 Juan Gabardini <jgabardini en gmail.com>:
>>> > Hola
>>> > hace tiempo que no uso windows, y en esta última semana tuve la
>>> suerte(?) de
>>> > volver a usarlo.
>>> > Estoy tratando de instalar una pequeña aplicación que hice
>>> > (https://github.com/jgabardini/cert_gen)
>>> >
>>> > Puede ver en la wiki las instrucciones que seguí hasta ahora. Aunque es
>>> > mentiroso, porque no lo pude hacer andar.
>>> >
>>> https://github.com/jgabardini/cert_gen/wiki/Instalaci%C3%B3n-en-Windows
>>> >
>>> >
>>> > Mi última prueba fue instalar MinGW según lo recomendado
>>> >
>>> http://derkan.blogspot.com.ar/2011/11/python-windows-compile-unable-to-find.html
>>> >
>>> > Y la configuración
>>> >
>>> > install MinGW with C++ Compiler option checked
>>> > add C:\MinGW\bin to your PATH
>>> > in PYTHONPATH\Lib\distutils, create a file distutils.cfg and add these
>>> > lines:
>>> >
>>> > [build]
>>> >
>>> > compiler=mingw32
>>> >
>>> >
>>> > Pero cuando corro pip install -r requeriments.txt obtengo
>>> >
>>> > C:\MinGW\bin\gcc.exe -mno-cygwin -mdll -O -Wall -IlibImaging
>>> > -IC:\python27\inclu
>>> > de -IC:\python27\include -IC:\python27\PC -c _imaging.c -o
>>> > build\temp.win-amd64-
>>> > 2.7\Release\_imaging.o
>>> >
>>> > cc1.exe: error: no se reconoce la opci¾n de lÝnea de ¾rdenes
>>> '-mno-cygwin'
>>> >
>>> > error: command 'gcc' failed with exit status 1
>>> >
>>>
>>> Creo que es un tema de actualización con distutils, tendrías que tocar
>>> los scripts para que no agregue el -mno-cygwin
>>>
>>> Igualmente no te recomiendo usar mingw para 64 bits, hasta donde se,
>>> simplemente no esta del todo soportado en windows.
>>> Aparte, podes tener "incompatibilidades" al linkear la biblioteca
>>> (antes se podían salvar con algunas utilidades externas, pero la
>>> última vez que intente, no pude...).
>>>
>>> Deberías compilarlo con Microsoft VC++ 9.0 o la versión para tu release,
>>> por ej:
>>>
>>> http://svn.python.org/projects/python/trunk/PCbuild/readme.txt
>>>
>>> Sds
>>>
>>> Mariano Reingart
>>> http://www.sistemasagiles.com.ar
>>> http://reingart.blogspot.com
>>> _______________________________________________
>>> pyar mailing list pyar en python.org.ar
>>> http://listas.python.org.ar/listinfo/pyar
>>>
>>> PyAr - Python Argentina - Sitio web: http://www.python.org.ar/
>>>
>>> La lista de PyAr esta Hosteada en USLA - Usuarios de Software Libre de
>>> Argentina - http://www.usla.org.ar
>>>
>>
>>
>> gracias Mariano
>> Voy a volver a probar. En mi intento anterior me llevaba a bajar 2Gb y me
>> parecio demasiado para un compilador de C++ :P
>>
>
>
>
> --
> Juan Gabardini
> juan.gabardini en kleer.la | www.kleer.la
> twitter&skype: jgabardini | softwareagil.blogspot.com
>
> _______________________________________________
> pyar mailing list pyar en python.org.ar
> http://listas.python.org.ar/listinfo/pyar
>
> PyAr - Python Argentina - Sitio web: http://www.python.org.ar/
>
> La lista de PyAr esta Hosteada en USLA - Usuarios de Software Libre de
> Argentina - http://www.usla.org.ar
>
------------ próxima parte ------------
Se ha borrado un adjunto en formato HTML...
URL: <http://listas.python.org.ar/pipermail/pyar/attachments/20131111/ec5ce7f0/attachment.html>


More information about the pyar mailing list