You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying this git for the first time. I'm trying to launch it using a .bat file inside a VENV environment
here's the launcher I use
@echo off
setlocal
set PYTHON=venv\Scripts\python.exe
set VENV_DIR=.\venv
%PYTHON% examples/run_js.py %*
pause
endlocal
It says I need to pip install webview first.
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
╰─> [10 lines of output]
webview.c
C:\Users\username\AppData\Local\Temp\pip-install-ii23pj5k\webview_81dbc1c6a6ee417db1933f73930cad24\webview\webview.h(1085): warning C4477: 'sscanf' : format string '%02x' requires an argument of type 'unsigned int *', but variadic argument 1 has type 'char *'
C:\Users\username\AppData\Local\Temp\pip-install-ii23pj5k\webview_81dbc1c6a6ee417db1933f73930cad24\webview\webview.h(1085): note: consider using '%hhx' in the format string
C:\Users\username\AppData\Local\Temp\pip-install-ii23pj5k\webview_81dbc1c6a6ee417db1933f73930cad24\webview\webview.h(1338): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data
webview/webview.c(117): error C2065: 'PATH_MAX': undeclared identifier
webview/webview.c(117): error C2057: expected constant expression
webview/webview.c(117): error C2466: cannot allocate an array of constant size 0
webview/webview.c(117): error C2133: 'result': unknown size
webview/webview.c(123): warning C4034: sizeof returns 0
error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.43.34808\\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:
I am trying this git for the first time. I'm trying to launch it using a .bat file inside a VENV environment
here's the launcher I use
It says I need to pip install webview first.
The text was updated successfully, but these errors were encountered: