Comment 0 for bug 1609608

Revision history for this message
bl (blagopoluchie) wrote : oursql3: error while install with utf-8

Have Python 3.5, Windows 10 x64.

> pip install oursql3
Collecting oursql3
  Using cached oursql3-0.9.4.tar.gz
Installing collected packages: oursql3
  Running setup.py install for oursql3 ... error
Exception:
Traceback (most recent call last):
  File "c:\python35\lib\site-packages\pip\compat\__init__.py", line 73, in console_to_str
    return s.decode(sys.__stdout__.encoding)
  File "c:\python35\lib\encodings\cp65001.py", line 17, in decode
    return codecs.code_page_decode(65001, input, errors, True)
UnicodeDecodeError: 'CP_UTF8' codec can't decode bytes in position 0--1: No mapping for the Unicode character exists in the target code page.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "c:\python35\lib\site-packages\pip\basecommand.py", line 215, in main
    status = self.run(options, args)
  File "c:\python35\lib\site-packages\pip\commands\install.py", line 317, in run
    prefix=options.prefix_path,
  File "c:\python35\lib\site-packages\pip\req\req_set.py", line 742, in install
    **kwargs
  File "c:\python35\lib\site-packages\pip\req\req_install.py", line 880, in install
    spinner=spinner,
  File "c:\python35\lib\site-packages\pip\utils\__init__.py", line 687, in call_subprocess
    line = console_to_str(proc.stdout.readline())
  File "c:\python35\lib\site-packages\pip\compat\__init__.py", line 75, in console_to_str
    return s.decode('utf_8')
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xcd in position 20: invalid continuation byte