报错如下:

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

 解决方法:

降低安装版本:pip install weditor==0.6.4

降低到哪个版本可以参考安装时失败的安装版本的上一个;

或者可以访问官网自己查看:weditor · PyPI 

若安装超时:

pip._vendor.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out.

命令行超时安装语句:pip --default-timeout=1000 install -U 模块名

eg:pip --default-timeout=1000 install -U uiautomator2

Logo

为开发者提供学习成长、分享交流、生态实践、资源工具等服务,帮助开发者快速成长。

更多推荐