我正在尝试为我的32位python(版本3.5)下载kivy。
当我跑步时:
pip install "Kivy-1.9.1+sdl2-cp35-none-win32.whl"
直到它抛出UnicodeDecodeError:
Processing c:\users\a\downloads\kivy-1.9.1+sdl2-cp35-none-win32.whl
Collecting Kivy-Garden>=0.1.4 (from Kivy==1.9.1+sdl2)
Downloading kivy-garden-0.1.4.tar.gz
Collecting requests (from Kivy-Garden>=0.1.4->Kivy==1.9.1+sdl2)
Downloading requests-2.10.0-py2.py3-none-any.whl (506kB)
100% |################################| 507kB 284kB/s
Installing collected packages: requests, Kivy-Garden, Kivy
Running setup.py install for Kivy-Garden
Complete output from command c:\users\a\appdata\local\programs\python\python35-32\python.exe -c "import setuptools, tokenize;__file__='C:\\Users\\EF
80~1\\AppData\\Local\\Temp\\pip-build-d9ez7acj\\Kivy-Garden\\setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __fi
le__, 'exec'))" install --record C:\Users\EF80~1\AppData\Local\Temp\pip-zoceotlz-record\install-record.txt --single-version-externally-managed --compile:
running install
running build
running build_py
creating build
creating build\lib
creating build\lib\garden
copying garden\__init__.py -> build\lib\garden
running build_scripts
creating build\scripts-3.5
copying and adjusting bin\garden -> build\scripts-3.5
Traceback (most recent call last):
File "c:\users\α°Γε∩εαΘ°\appdata\local\programs\python\python35-32\lib\distutils\command\build_scripts.py", line 114, in copy_scripts
shebang.decode('utf-8')
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe0 in position 11: invalid continuation byte