Error with utf-8 filenames #4863
Labels
auto-locked
Outdated issues that have been locked by automation
C: encoding
Related to text encoding and likely, UnicodeErrors
kind: crash
For situations where pip crashes
OS: windows
Windows specific
type: bug
A confirmed bug or unintended behavior
Description:
When the project contains files with UTF-8 file names, pip does not correctly install.
What I've run:
pip install tikon
Traceback:
Collecting tikon
Using cached tikon-1.1.0.tar.gz
Exception:
Traceback (most recent call last):
File "c:\users\jmalar1\appdata\local\programs\python\python36-32\lib\site-packages\pip\compat_init_.py", line 73, in console_to_str
return s.decode(sys.stdout.encoding)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xed in position 24: invalid continuation byte
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "c:\users\jmalar1\appdata\local\programs\python\python36-32\lib\site-packages\pip\basecommand.py", line 215, in main
status = self.run(options, args)
File "c:\users\jmalar1\appdata\local\programs\python\python36-32\lib\site-packages\pip\commands\install.py", line 335, in run
wb.build(autobuilding=True)
File "c:\users\jmalar1\appdata\local\programs\python\python36-32\lib\site-packages\pip\wheel.py", line 749, in build
self.requirement_set.prepare_files(self.finder)
File "c:\users\jmalar1\appdata\local\programs\python\python36-32\lib\site-packages\pip\req\req_set.py", line 380, in prepare_files
ignore_dependencies=self.ignore_dependencies))
File "c:\users\jmalar1\appdata\local\programs\python\python36-32\lib\site-packages\pip\req\req_set.py", line 634, in prepare_file
abstract_dist.prep_for_dist()
File "c:\users\jmalar1\appdata\local\programs\python\python36-32\lib\site-packages\pip\req\req_set.py", line 129, in prep_for_dist
self.req_to_install.run_egg_info()
File "c:\users\jmalar1\appdata\local\programs\python\python36-32\lib\site-packages\pip\req\req_install.py", line 439, in run_egg_info
command_desc='python setup.py egg_info')
File "c:\users\jmalar1\appdata\local\programs\python\python36-32\lib\site-packages\pip\utils_init.py", line 676, in call_subprocess
line = console_to_str(proc.stdout.readline())
File "c:\users\jmalar1\appdata\local\programs\python\python36-32\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 0xed in position 24: invalid continuation byte
The text was updated successfully, but these errors were encountered: