pip install weditor 出错,提示Preparing metadata (setup.py) ... error error: subprocess-exited-with-error
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
Collecting weditor
Using cachedhttps://pypi.tuna.tsinghua.edu.cn/packages/04/9b/ec6c2b8ab08fecd21d98121e2b91244632d1836669bb9c917ff01406bd1a/wedito
r-0.6.5.tar.gz (2.2 MB)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [34 lines of output]
WARNING: Ignoring invalid distribution -pencv-python (c:\users\administrator.desktop-3488grn\appdata\roaming\python\python38
site-packages)
解决办法,想把weditor安装保存到本地,再进行pip install
git clone https://github.com/openatx/weditor
pip3 install -e weditor
以后遇到pip出错了都可以使用这个办法
|