马上注册,结交更多好友,享用更多功能^_^
您需要 登录 才可以下载或查看,没有账号?立即注册
x
本帖最后由 歌者文明清理员 于 2023-8-11 12:22 编辑
GPT 的问题,先不发求助区
问题描述
Microsoft Windows [版本 10.0.19045.2965]
(c) Microsoft Corporation。保留所有权利。
C:\Users\bruce>pip install webview
Looking in indexes: https://mirrors.aliyun.com/pypi/simple
Collecting webview
Using cached https://mirrors.aliyun.com/pypi/packages/0c/5f/6e84700b7825bcddb12cd3eead8ac787d9d624be9f2c01aa4fb9a88572a9/webview-0.1.5.tar.gz (18 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Building wheels for collected packages: webview
Building wheel for webview (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for webview (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [1 lines of output]
error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for webview
Failed to build webview
ERROR: Could not build wheels for webview, which is required to install pyproject.toml-based projects
C:\Users\bruce>
用过的方法:
PyPI 地址:https://pypi.org/project/webview/
参考:https://fishc.com.cn/thread-225497-1-1.html
没有 Built Distributions 选项;
每一个版本 description 都是空的
另外:
C:\Users\bruce>pip install webview --only-binary webview
Looking in indexes: https://mirrors.aliyun.com/pypi/simple
ERROR: Could not find a version that satisfies the requirement webview (from versions: none)
ERROR: No matching distribution found for webview
C:\Users\bruce>pip install webview --only-binary :all:
Looking in indexes: https://mirrors.aliyun.com/pypi/simple
ERROR: Could not find a version that satisfies the requirement webview (from versions: none)
ERROR: No matching distribution found for webview
C:\Users\bruce>
description 跟 Distribution 可不是一个东西
还有他不一定会有编译好的构建包,也不一定会有源码包,这很正常
既然没有编译好的构建包,那你就只有自己捣鼓编译环境这条路可走了
不过恕我直言,去用一个五年没有人维护的包真的有意义吗?除非你自己会改代码,特别是这种涉及到其他语言的包,他那时候的C语言环境说不定已经落后了,你得自己去重构代码
|