-
-
Notifications
You must be signed in to change notification settings - Fork 13.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error installing pip install g4f[webview] #1765
Comments
the same here:
|
I also have this problem |
os:windows 11 How can I resolve the same error I encountered? |
It is working for me on python 3.11. Alternatively you can use the Webserver. |
i encountered the same issue after installing build tools |
Bumping this issue because it has been open for 7 days with no activity. Closing automatically in 7 days unless it becomes active again. |
这是一个可用的webview |
@AutoWHEELx2 Thanks a lot! I successfully installed the webview, and use |
Bumping this issue because it has been open for 7 days with no activity. Closing automatically in 7 days unless it becomes active again. |
Same issue Clean install |
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
╰─> [10 lines of output]
webview.c
C:\Users\bokkd\AppData\Local\Temp\pip-install-8pmy7qug\webview_37391dfd1a4d4bbf8c17f898663d266d\webview\webview.h(1085): warning C4477: "sscanf": ў бва®ЄҐ д®а¬ вЁа®ў Ёп "%02x" вॡгҐвбп аЈг¬Ґв вЁЇ "unsigned int *", ® ў аЁ вЁўл© аЈг¬Ґв "1" Ё¬ҐҐв вЁЇ "char *"
C:\Users\bokkd\AppData\Local\Temp\pip-install-8pmy7qug\webview_37391dfd1a4d4bbf8c17f898663d266d\webview\webview.h(1085): note: ४®¬Ґ¤гҐвбп ЁбЇ®«м§®ў вм "%hhx" ў бва®ЄҐ д®а¬ вЁа®ў Ёп
C:\Users\bokkd\AppData\Local\Temp\pip-install-8pmy7qug\webview_37391dfd1a4d4bbf8c17f898663d266d\webview\webview.h(1338): warning C4267: ЁЁжЁ «Ё§ жЁп: ЇаҐ®Ўа §®ў ЁҐ Ё§ "size_t" ў "int"; ў®§¬®¦ Ї®вҐап ¤ ле
webview/webview.c(117): error C2065: PATH_MAX: Ґ®Ўкпў«Ґл© Ё¤ҐвЁдЁЄ в®а
webview/webview.c(117): error C2057: вॡгҐвбп Є®бв ⮥ ўла ¦ҐЁҐ
webview/webview.c(117): error C2466: Ґў®§¬®¦® ўл¤Ґ«Ёвм Ї ¬пвм ¤«п ¬ ббЁў Ї®бв®п®Ј® г«Ґў®Ј® а §¬Ґа
webview/webview.c(117): error C2133: result: ҐЁ§ўҐбвл© а §¬Ґа
webview/webview.c(123): warning C4034: sizeof ў®§ўа й Ґв 0
error: command 'C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\bin\HostX86\x64\cl.exe' failed with exit code 2
[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
The text was updated successfully, but these errors were encountered: