Установка файла колеса pyproj - PullRequest
0 голосов
/ 06 мая 2020

Установок: Windows 10, 64 бит. Python 3.6.5

Я пытаюсь выполнить команду pip install -r pyproj-1.9.6-cp36-cp36m-win_amd64.whl. Однако ошибка ниже:

ERROR: Exception:
Traceback (most recent call last):
  File "c:\users\sneka\appdata\local\programs\python\python36\lib\site-packages\pip\_internal\cli\base_command.py", line 188, in _main
    status = self.run(options, args)
  File "c:\users\sneka\appdata\local\programs\python\python36\lib\site-packages\pip\_internal\cli\req_command.py", line 185, in wrapper
    return func(self, options, args)
  File "c:\users\sneka\appdata\local\programs\python\python36\lib\site-packages\pip\_internal\commands\install.py", line 302, in run
    check_supported_wheels=not options.target_dir,
  File "c:\users\sneka\appdata\local\programs\python\python36\lib\site-packages\pip\_internal\cli\req_command.py", line 341, in get_requirements
    finder=finder, options=options, session=session):
  File "c:\users\sneka\appdata\local\programs\python\python36\lib\site-packages\pip\_internal\req\req_file.py", line 151, in parse_requirements
    for parsed_line in parser.parse(filename, constraint):
  File "c:\users\sneka\appdata\local\programs\python\python36\lib\site-packages\pip\_internal\req\req_file.py", line 330, in parse
    for line in self._parse_and_recurse(filename, constraint):
  File "c:\users\sneka\appdata\local\programs\python\python36\lib\site-packages\pip\_internal\req\req_file.py", line 335, in _parse_and_recurse
    for line in self._parse_file(filename, constraint):
  File "c:\users\sneka\appdata\local\programs\python\python36\lib\site-packages\pip\_internal\req\req_file.py", line 369, in _parse_file
    filename, self._session, comes_from=self._comes_from
  File "c:\users\sneka\appdata\local\programs\python\python36\lib\site-packages\pip\_internal\req\req_file.py", line 574, in get_file_content
    content = auto_decode(f.read())
  File "c:\users\sneka\appdata\local\programs\python\python36\lib\site-packages\pip\_internal\utils\encoding.py", line 41, in auto_decode
    locale.getpreferredencoding(False) or sys.getdefaultencoding(),
  File "c:\users\sneka\appdata\local\programs\python\python36\lib\encodings\cp1252.py", line 15, in decode
    return codecs.charmap_decode(input,errors,decoding_table)
UnicodeDecodeError: 'charmap' codec can't decode byte 0x8d in position 118: character maps to <undefined>

Я новичок в python и не могу решить эту ошибку. Пожалуйста, помогите.

1 Ответ

1 голос
/ 12 мая 2020

Удалить -r. Это должно быть pip install pyproj-1.9.6-cp36-cp36m-win_amd64.whl

...