python安装weditor失败, error: subprocess-exited-with-error
使用pip安装weditor失败,报错内容:
总结下网友说的原因:
1,weditor不支持python3.1以上版本,要降低python版本
2,setup包版本太低,使用pip install --upgrade pip setuptools==45.2.0升级setup包
3,先git clone https://github.com/openatx/weditor,再pip3 install -e weditor
我是windows10系统,用的是python3.8,方法1我直接pass了,方法2失败,方法3成功解决问题,下面记录下详细步骤:
(参考https://www.cnblogs.com/wuxiaoxia/p/16090963.html)
1,windows下载git安装包(https://github.com/git-for-windows/git/releases/download/v2.28.0.windows.1/Git-2.28.0-64-bit.exe),下载后双击安装。
2,git bash 打开git的命令行窗口,执行git init,关闭git bash
3,打开cmd,执行git clone https://github.com/openatx/weditor,再执行pip3 install -e weditor,安装成功。