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

 

 

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM