python未知编码_致命的Python错误:Py_Initialize:无法初始化sys标准流LookupError:未知编码:65001...

在Windows 10上使用Python 4.5.2和Python 3.6时,尝试安装软件包时遇到了'Py_Initialize: can't initialize sys standard streams'的致命错误,具体表现为LookupError:未知编码65001。激活和使用虚拟环境py36_tfg时,问题仍然存在。错误在尝试安装cchainercv和chainercv时出现。可能的原因是Python环境配置问题。
摘要由CSDN通过智能技术生成

当尝试使用安装某些软件包时pip,遇到错误。

即使切换Python环境,也会出现相同的错误。因此,从我的角度来看,这不是我要安装的软件包的问题,​​可能是Python环境存在问题。有人可以帮助我吗?

环境:

Windows 10

python4.5.2

Python3.6

spot10.0.1

这是命令的消息:

C:\WINDOWS\system32>activate py36_tfg

(py36_tfg) C:\WINDOWS\system32>deactivate

Fatal Python error: Py_Initialize: can't initialize sys standard streams

LookupError: unknown encoding: 65001

Current thread 0x00003a78 (most recent call first):

(py36_tfg) C:\WINDOWS\system32>pip --version

pip 10.0.1 from c:\devtools\anaconda3\envs\py36_tfg\lib\site-packages\pip (python 3.6)

(py36_tfg) C:\WINDOWS\system32>pip install cchainercv

Collecting cchainercv

Could not find a version that satisfies the requirement cchainercv (from versions: )

No matching distribution found for ccha

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值