import webview
webview.create_window('Hello World', 'https://pywebview.flowrl.com/')
webview.start()
This code is the most basic example from the documentation.
The error is the following: runfile('C:/Users/EQUIPO/Desktop/Programming Finance/User Interface/untitled0.py', wdir='C:/Users/EQUIPO/Desktop/Programming Finance/User Interface') [pywebview] WebView2 initialization failed with exception: Acceso denegado. (Excepción de HRESULT: 0x80070005 (E_ACCESSDENIED)) en System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo) en Microsoft.Web.WebView2.Core.CoreWebView2Environment.<CreateAsync>d__3.MoveNext() --- Fin del seguimiento de la pila de la ubicación anterior donde se produjo la excepción --- en System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() en System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) en Microsoft.Web.WebView2.WinForms.WebView2.<InitCoreWebView2Async>d__25.MoveNext()