python安装weditor失败, error: subprocess-exited-with-error

python安装weditor失败, error: subprocess-exited-with-error使用 pip 安装 weditor 失败 报错内容 总结下网友说的原因 1 weditor 不支持 python3 1 以上版本 要降低 python 版本 2 setup 包版本太低 使用 pip install upgrade pip setuptools

大家好,欢迎来到IT知识分享网。

使用pip安装weditor失败,报错内容:

python安装weditor失败, error: subprocess-exited-with-error

python安装weditor失败, error: subprocess-exited-with-error

总结下网友说的原因:

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,安装成功。

python安装weditor失败, error: subprocess-exited-with-error

python安装weditor失败, error: subprocess-exited-with-error

免责声明:本站所有文章内容,图片,视频等均是来源于用户投稿和互联网及文摘转载整编而成,不代表本站观点,不承担相关法律责任。其著作权各归其原作者或其出版社所有。如发现本站有涉嫌抄袭侵权/违法违规的内容,侵犯到您的权益,请在线联系站长,一经查实,本站将立刻删除。 本文来自网络,若有侵权,请联系删除,如若转载,请注明出处:https://haidsoft.com/177700.html

(0)
上一篇 2025-05-03 13:10
下一篇 2025-05-03 13:15

相关推荐

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注

关注微信