[pypy-issue] Issue #2720: ensurepip on pypy-c-jit-93579-a4194a67868f-win32 in Windows 7 x64 (pypy/pypy)

Александр Владимирович issues-reply at bitbucket.org
Thu Dec 28 10:32:28 EST 2017


New issue 2720: ensurepip on pypy-c-jit-93579-a4194a67868f-win32 in Windows 7 x64
https://bitbucket.org/pypy/pypy/issues/2720/ensurepip-on-pypy-c-jit-93579-a4194a67868f

Александр Владимирович:

Interpreter log for `pypy3 -m ensurepip`. Related question: [pip install with ensurepip on PyPy3.5 v5.10 in Windows 7 x64](https://stackoverflow.com/questions/47999518/pip-install-with-ensurepip-on-pypy3-5-v5-10-in-windows-7-x64).

```
#!PyPy3 interpreter
Collecting setuptools
Exception:
Traceback (most recent call last):
  File "C:\Users\user\AppData\Local\Temp\tmpoqcv7_bf\pip-9.0.1-py2.py3-none-any.whl\pip\basecommand.py", line 215, in main
    status = self.run(options, args)
  File "C:\Users\user\AppData\Local\Temp\tmpoqcv7_bf\pip-9.0.1-py2.py3-none-any.whl\pip\commands\install.py", line 324, in run
    requirement_set.prepare_files(finder)
  File "C:\Users\user\AppData\Local\Temp\tmpoqcv7_bf\pip-9.0.1-py2.py3-none-any.whl\pip\req\req_set.py", line 380, in prepare_files
    ignore_dependencies=self.ignore_dependencies))
  File "C:\Users\user\AppData\Local\Temp\tmpoqcv7_bf\pip-9.0.1-py2.py3-none-any.whl\pip\req\req_set.py", line 554, in _prepare_file
    require_hashes
  File "C:\Users\user\AppData\Local\Temp\tmpoqcv7_bf\pip-9.0.1-py2.py3-none-any.whl\pip\req\req_install.py", line 278, in populate_link
    self.link = finder.find_requirement(self, upgrade)
  File "C:\Users\user\AppData\Local\Temp\tmpoqcv7_bf\pip-9.0.1-py2.py3-none-any.whl\pip\index.py", line 465, in find_requirement
    all_candidates = self.find_all_candidates(req.name)
  File "C:\Users\user\AppData\Local\Temp\tmpoqcv7_bf\pip-9.0.1-py2.py3-none-any.whl\pip\index.py", line 386, in find_all_candidates
    self.find_links, expand_dir=True)
  File "C:\Users\user\AppData\Local\Temp\tmpoqcv7_bf\pip-9.0.1-py2.py3-none-any.whl\pip\index.py", line 236, in _sort_locations
    sort_path(os.path.join(path, item))
  File "C:\Users\user\AppData\Local\Temp\tmpoqcv7_bf\pip-9.0.1-py2.py3-none-any.whl\pip\index.py", line 217, in sort_path
    if mimetypes.guess_type(url, strict=False)[0] == 'text/html':
  File "D:\pypy-c-jit-93579-a4194a67868f-win32\lib-python\3\mimetypes.py", line 288, in guess_type
    init()
  File "D:\pypy-c-jit-93579-a4194a67868f-win32\lib-python\3\mimetypes.py", line 349, in init
    db.read_windows_registry()
  File "D:\pypy-c-jit-93579-a4194a67868f-win32\lib-python\3\mimetypes.py", line 254, in read_windows_registry
    for subkeyname in enum_types(hkcr):
  File "D:\pypy-c-jit-93579-a4194a67868f-win32\lib-python\3\mimetypes.py", line 245, in enum_types
    ctype = _winreg.EnumKey(mimedb, i)
UnicodeDecodeError: 'utf8' codec can't decode byte 0xd2 in position 0: invalid continuation byte
```




More information about the pypy-issue mailing list