Unhandled Exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NotImplementedException: No support for x86
See original GitHub issueSpecification
- Platform: Win7 x86
- Version: pywebview-2.2.1
Description
run hellow world
import webview
webview.create_window('Hello world', 'https://pywebview.flowrl.com/hello')
have this error
Unhandled Exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NotImplementedException: No support for x86
at Python.Runtime.TypeManager.NativeCode.get_Active()
at Python.Runtime.TypeManager.InitializeNativeCodePage()
at Python.Runtime.TypeManager.InitializeSlots(IntPtr type, Type impl)
at Python.Runtime.TypeManager.CreateMetaType(Type impl)
at Python.Runtime.MetaType.Initialize()
at Python.Runtime.Runtime.Initialize()
at Python.Runtime.PythonEngine.Initialize(IEnumerable`1 args, Boolean setSysArgv)
at Python.Runtime.PythonEngine.InitExt()
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams)
at clrModule.PyInit_clr()
have this log while pywebview install
Collecting pywebview
Using cached https://files.pythonhosted.org/packages/9c/98/2bb83cbe35b09bf5079684f3eeecba2f19d0c90c5cac0ca272539d058d7d/pywebview-2.2.1-py3-none-any.whl
Requirement already satisfied: pythonnet; sys_platform == "win32" in c:\python37\lib\site-packages (from pywebview) (2.4.0.dev0)
Installing collected packages: pywebview
Successfully installed pywebview-2.2.1
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Why I'm getting System.Reflection.TargetInvocationException
Why I'm getting System.Reflection.TargetInvocationException: 'Exception has been thrown by the target of an invocation.
Read more >Xamarin forms: Unhandled Exception: System.Reflection ...
Xamarin forms: Unhandled Exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
Read more >IL2CPP error - Unity Forum
Unhandled Exception : System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.
Read more >The method or operation is not implemented.
UnhandledException to handle the exception. System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
Read more >Launcher linux support? - Uthgard • View topic
Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.MissingMethodException: Method ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I started issue on pythonnet page https://github.com/pythonnet/pythonnet/issues/772 and solve this error with installing .net sdk then got problems that MSBuild 14 no supported so I need to install MSBuild 15 (Visual Studio 17) with Win 10 sdk
@vanillycpp the installation for your platform (win7 32-bit) has been fixed in pythonnet