oursql3: error while install with utf-8 or "not found file"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
oursql |
New
|
Undecided
|
Unassigned |
Bug Description
if in console set codepage utf-8 (by command "chcp 65001") then install breaks with error below.
But if change to standard Windows's codepage 1251 ("chcp 1251") then breaks with "not found file".
Have Python 3.5, Windows 10 x64, last Cython installed.
-------
> pip install oursql3
Collecting oursql3
Using cached oursql3-
Installing collected packages: oursql3
Running setup.py install for oursql3 ... error
Exception:
Traceback (most recent call last):
File "c:\python35\
return s.decode(
File "c:\python35\
return codecs.
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\
status = self.run(options, args)
File "c:\python35\
prefix=
File "c:\python35\
**kwargs
File "c:\python35\
spinner=
File "c:\python35\
line = console_
File "c:\python35\
return s.decode('utf_8')
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xcd in position 20: invalid continuation byte
-------
> chcp 1251
> pip install oursql3
Collecting oursql3
Using cached oursql3-
Installing collected packages: oursql3
Running setup.py install for oursql3 ... error
Complete output from command c:\python35\
running install
running build
running build_ext
skipping 'oursqlx\oursql.c' Cython extension (up-to-date)
error: [WinError 2] Не удается найти указанный файл
---
Command "c:\python35\
summary: |
- oursql3: error while install with utf-8 + oursql3: error while install with utf-8 or "not found file" |
description: | updated |
tags: | added: oursql |
tags: | added: install |
description: | updated |
description: | updated |