python报错utf—8_python>报错unicodeDecodeError:' utf-8'...怎么解决?

本帖最后由 zhcj66 于 2019-3-26 16:34 编辑

C:\ Users\ Administrator\ Desktop\ PyQt5>pipenv --three Traceback (most recent call last): File"c:\ python\ python37-32\ lib\ runpy. py", line 193, in _run_module_as_main

"_main", mod_spec)

File "c:\ python\ python37-32\ lib\ runpy. py", line 85, in _run_code exec(code, run_globals)

File"C:\ Python Python37-32\ Scripts\ pipeny. exel main . py", line 5, in

File"c:\ python\ python37-32\ lib\ site-packages\ pipeninit . py", line 47, in

from. cli import cli File"c:\ python\ python37-3\ lib\ site-packages\ pipen\ clil init . py", line 3, in

from. command import cli File "c:\ python\ python37-32\ lib\ site-packages\ pipenv\ cli\ command. py", line 7, in

import crayons File "c:\ python\ python37-32\ lib\ site-packages\ pipenv\ patched\ crayons. py", line 49, in

is powershell="powershell"in shellingham. detect_shell()[0]

File"c:\ python\ python37-32\ lib\ site-packages\ pipenv wendor\ shellinghaml init. py", line 22, in detect_shell shel1=get_shell(pid, max_depth=max_depth)

File "c:\ python \ python37-32\ lib\ site-packages \ pipenv\ wendor\ shellingham\ nt. py", line 100, in get_shell processes=dict(_iter_process())

File "c:\ python\ python37-32\ lib\ site-packages\ pipen\ wendor\ shellingham\ nt. py", line 78, in _iter_process info={' executable': str(pe. szExeFile. decode(' utf-8'))}

unicodeDecodeError:' utf-8' codec can't decode byte Oxcc in position 0: invalid continuation byte

py.bmp

(91.19 KB, 下载次数: 3)

2019-3-25 15:04 上传

rleft.gif

rright.gif

none.gif

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值