Open anentropic opened 1 year ago
I have a similar error when installing webview in Python, see issue at (https://github.com/webview/webview/issues/894). This was necessary for me to attempt-run a now-discontinued Github repo (https://github.com/keremkoseoglu/Setlist-Generator). Running Windows 11H2 on amd64 using Python 3.10.
PS C:\Users\admin\Documents\Audacity\Setlist-Generator-master> py main.py
Traceback (most recent call last):
File "C:\Users\admin\Documents\Audacity\Setlist-Generator-master\main.py", line 2, in <module>
from gui import html as HtmlGui
File "C:\Users\admin\Documents\Audacity\Setlist-Generator-master\gui\html\__init__.py", line 4, in <module>
import webview # pylint: disable=E0401
ModuleNotFoundError: No module named 'webview'
running install
C:\Program Files\Python310\lib\site-packages\setuptools\command\install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
C:\Program Files\Python310\lib\site-packages\setuptools\command\easy_install.py:144: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
running bdist_egg
running egg_info
creating webview.egg-info
writing webview.egg-info\PKG-INFO
writing dependency_links to webview.egg-info\dependency_links.txt
writing top-level names to webview.egg-info\top_level.txt
writing manifest file 'webview.egg-info\SOURCES.txt'
reading manifest file 'webview.egg-info\SOURCES.txt'
adding license file 'LICENSE'
writing manifest file 'webview.egg-info\SOURCES.txt'
installing library code to build\bdist.win-amd64\egg
running install_lib
running build_ext
building 'webview' extension
creating build
creating build\temp.win-amd64-cpython-310
creating build\temp.win-amd64-cpython-310\Release
creating build\temp.win-amd64-cpython-310\Release\webview
"C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.34.31933\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -DWEBVIEW_WINAPI=1 "-IC:\Program Files\Python310\include" "-IC:\Program Files\Python310\Include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.34.31933\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\VS\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" /Tcwebview/webview.c /Fobuild\temp.win-amd64-cpython-310\Release\webview/webview.obj
webview.c
c1: fatal error C1083: Cannot open source file: 'webview/webview.c': No such file or directory
error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.34.31933\\bin\\HostX86\\x64\\cl.exe' failed with exit code 2```