找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 108|回复: 1

[求助] 安装diesel问题,请大神解答

2

主题

3

帖子

3

积分

贫民

积分
3
moonxsp 发表于 7 天前 | 显示全部楼层 |阅读模式
在win7 64位机器上使用pip安装diesel出现如下问题,请教大神如何解决,问题见下:

  1. pip install diesel
  2. Collecting diesel
  3.   Using cached diesel-3.0.24.zip
  4. Exception:
  5. Traceback (most recent call last):
  6.   File "d:\dev\python\python36\lib\site-packages\pip\compat\__init__.py", line 73, in console_to_str
  7.     return s.decode(sys.__stdout__.encoding)
  8. UnicodeDecodeError: 'utf-8' codec can't decode byte 0xd5 in position 4: invalid continuation byte

  9. During handling of the above exception, another exception occurred:

  10. Traceback (most recent call last):
  11.   File "d:\dev\python\python36\lib\site-packages\pip\basecommand.py", line 215, in main
  12.     status = self.run(options, args)
  13.   File "d:\dev\python\python36\lib\site-packages\pip\commands\install.py", line 324, in run
  14.     requirement_set.prepare_files(finder)
  15.   File "d:\dev\python\python36\lib\site-packages\pip\req\req_set.py", line 380, in prepare_files
  16.     ignore_dependencies=self.ignore_dependencies))
  17.   File "d:\dev\python\python36\lib\site-packages\pip\req\req_set.py", line 634, in _prepare_file
  18.     abstract_dist.prep_for_dist()
  19.   File "d:\dev\python\python36\lib\site-packages\pip\req\req_set.py", line 129, in prep_for_dist
  20.     self.req_to_install.run_egg_info()
  21.   File "d:\dev\python\python36\lib\site-packages\pip\req\req_install.py", line 439, in run_egg_info
  22.     command_desc='python setup.py egg_info')
  23.   File "d:\dev\python\python36\lib\site-packages\pip\utils\__init__.py", line 676, in call_subprocess
  24.     line = console_to_str(proc.stdout.readline())
  25.   File "d:\dev\python\python36\lib\site-packages\pip\compat\__init__.py", line 75, in console_to_str
  26.     return s.decode('utf_8')
  27. UnicodeDecodeError: 'utf-8' codec can't decode byte 0xd5 in position 4: invalid continuation byte
复制代码


回复

使用道具 举报

2

主题

3

帖子

3

积分

贫民

积分
3
moonxsp  楼主| 发表于 7 天前 | 显示全部楼层
python版本是3.6
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

快速回复 返回顶部 返回列表