[pyar] SetupTools en Windows (+Flask +Python3)

Martin Cerdeira martincerdeira en gmail.com
Sab Feb 1 12:51:35 ART 2014


On Sat, Feb 1, 2014 at 12:46 PM, Martin Cerdeira
<martincerdeira en gmail.com>wrote:

> Hola, estoy tratando de instalar Flask en Windows 8, donde tengo Python3
> pero:
>
> C:\Users\mcerdeira\Desktop\Flask-0.10>python setup.py
> Traceback (most recent call last):
>   File "setup.py", line 42, in <module>
>     from setuptools import Command, setup
> ImportError: No module named setuptools
>
> Por lo que digo, "ok, vamos a instalar setuptools"
> En pypi encuentro:
>
> The recommended way to install setuptools on Windows is to download
> ez_setup.py<https://bitbucket.org/pypa/setuptools/raw/bootstrap/ez_setup.py>and run it. The script will download the appropriate .egg file and install
> it for you.
>
> Joya. Me lo bajo, lo corro:
>
> Extracting in c:\users\mcerde~1\appdata\local\temp\tmpbzdy7r
> Now working in
> c:\users\mcerde~1\appdata\local\temp\tmpbzdy7r\setuptools-2.1
> Installing Setuptools
> Traceback (most recent call last):
>   File "setup.py", line 200, in <module>
>     dist = setuptools.setup(**setup_params)
>   File "C:\Python30\lib\distutils\core.py", line 135, in setup
>     ok = dist.parse_command_line()
>   File
> "c:\users\mcerde~1\appdata\local\temp\tmpbzdy7r\setuptools-2.1\setuptool
> \dist.py", line 250, in parse_command_line
>     result = _Distribution.parse_command_line(self)
>   File "C:\Python30\lib\distutils\dist.py", line 441, in parse_command_line
>     if self.handle_display_options(option_order):
>   File
> "c:\users\mcerde~1\appdata\local\temp\tmpbzdy7r\setuptools-2.1\setuptool
> \dist.py", line 630, in handle_display_options
>     sys.stdout.detach(), 'utf-8', errors, newline, line_buffering)
> AttributeError: 'TextIOWrapper' object has no attribute 'detach'
> Something went wrong during the installation.
> See the error message above.
>
> Por lo que debo asumir que no anda para Python 3 + Windows? O será que no
> anda directamente para Python 3?
> No lo sé.
>
> Intenté desde el source directamente: setuptools-2.1.tar.gz<https://pypi.python.org/packages/source/s/setuptools/setuptools-2.1.tar.gz#md5=2044725530450d0517393882dc4b7508>,
> y lo mismo.
>
> Ideas?
>
> Gracias
>

Me auto respondo:
No habia visto la sección "Download", en el costado izquierdo... Mala mía?
Ponele.
------------ próxima parte ------------
Se ha borrado un adjunto en formato HTML...
URL: <http://listas.python.org.ar/pipermail/pyar/attachments/20140201/f14ff0d7/attachment.html>


More information about the pyar mailing list