win10系统安装0.6.5版本时报错
Opened this issue · 6 comments
eminemisgod commented
qingqingcaoyuanlin commented
遇到同样问题
flyubuntu commented
0.6.5版本有问题,无法安装。安装0.6.4版本
pip3 install weditor==0.6.4
JeffersonQin commented
遇到同样问题,开发版可以安装
Kleverx commented
跟我的一样,我试过在线安装、本地安装都出现了这个问题。
在WIN10上容易出现编码错误。
经自己测试,两台电脑均完美解决,办法如下:
1.解压weditor的安装包。
2.找到报错的文件,全部需要修改,以下面为例:
**\weditor.eggs\pbr-5.8.1-py3.7.egg\pbr\hooks\metadata.py
**\weditor.eggs\pbr-5.8.1-py3.7.egg\pbr\packaging.py
打开,找到open方法,修改代码,添加encoding='utf-8',
如: with open(, 'r', encoding='utf-8')
保存,
重新执行本地安装
happyman commented
windows 10 21h2 語言 地區設定 勾選 “Bate版:使用Unicode UTF-8提供全球語言支援" 打勾,重開後即可正常 pip install。
JeffersonQin commented
windows 10 21h2 語言 地區設定 勾選 “Bate版:使用Unicode UTF-8提供全球語言支援" 打勾,重開後即可正常 pip install。
@happyman 感谢。如果这样可以的话,可以尝试使用 Local Emulator