[pyar] error con pip windows y twisted

Federico Roitman pyar en federoitman.com.ar
Mar Sep 8 10:19:10 ART 2015


2015-09-08 10:05 GMT-03:00 Esteban Alejandro Chauque <achauque en gmail.com>:

> Buen día, hace muchísimo no trabajo con windows y estoy teniendo problemas
> con la instalación de twisted con pip y no se como resolverlo.
>
> al ejecutar: pip install twisted me da un error del siguiente tipo:
>
> C:\TotvsNotify>pip install twisted
> Collecting twisted
>   Using cached Twisted-15.4.0-cp27-none-win32.whl
> Collecting zope.interface>=3.6.0 (from twisted)
> c:\python27\lib\urllib.py:1303: UnicodeWarning: Unicode equal comparison
> failed
> to convert both arguments to Unicode - interpreting them as being unequal
>   return ''.join(map(quoter, s))
> Exception:
> Traceback (most recent call last):
>   File "c:\python27\lib\site-packages\pip\basecommand.py", line 211, in
> main
>     status = self.run(options, args)
>   File "c:\python27\lib\site-packages\pip\commands\install.py", line 305,
> in run
>
>     wb.build(autobuilding=True)
>   File "c:\python27\lib\site-packages\pip\wheel.py", line 705, in build
>     self.requirement_set.prepare_files(self.finder)
>   File "c:\python27\lib\site-packages\pip\req\req_set.py", line 334, in
> prepare_
> files
>     functools.partial(self._prepare_file, finder))
>   File "c:\python27\lib\site-packages\pip\req\req_set.py", line 321, in
> _walk_re
> q_to_install
>     more_reqs = handler(req_to_install)
>   File "c:\python27\lib\site-packages\pip\req\req_set.py", line 461, in
> _prepare
> _file
>     req_to_install.populate_link(finder, self.upgrade)
>   File "c:\python27\lib\site-packages\pip\req\req_install.py", line 250,
> in popu
> late_link
>     self.link = finder.find_requirement(self, upgrade)
>   File "c:\python27\lib\site-packages\pip\req\req_install.py", line 262,
> in link
>
>     self._link = self._wheel_cache.cached_wheel(link, self.name)
>   File "c:\python27\lib\site-packages\pip\wheel.py", line 63, in
> cached_wheel
>     self._cache_dir, link, self._format_control, package_name)
>   File "c:\python27\lib\site-packages\pip\wheel.py", line 143, in
> cached_wheel
>     return pip.index.Link(path_to_url(path), trusted=True)
>   File "c:\python27\lib\site-packages\pip\download.py", line 456, in
> path_to_url
>
>     url = urllib_parse.urljoin('file:', urllib_request.pathname2url(path))
>   File "c:\python27\lib\nturl2path.py", line 65, in pathname2url
>     path = path + '/' + urllib.quote(comp)
>   File "c:\python27\lib\urllib.py", line 1303, in quote
>     return ''.join(map(quoter, s))
> KeyError: u'\xf3'
>
>
> he buscado y no encuentro una solución clara. Estoy usando un windows XP
> sp 3, Python 2.7.10
>
> _______________________________________________
> 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
>

Esteban,

u'\xf3' es igual a `ó`, puede ser que tu usuario de windows tenga esa
letra? :D

Saludos
------------ próxima parte ------------
Se ha borrado un adjunto en formato HTML...
URL: <http://listas.python.org.ar/pipermail/pyar/attachments/20150908/c28d82aa/attachment.html>


More information about the pyar mailing list