Error using WinPython 3.10 #1065
Unanswered
alex-g-axion
asked this question in
Q&A
Replies: 2 comments 1 reply
-
you have to Install a Visual Studio Redistributable package.
alex-g-axion ***@***.***> schrieb am Mo., 4. Apr. 2022, 20:15:
… Hello!
I am getting an error trying to run a simple python program from Spyder
IDE.
import clr
print("Hello world")
When I try to run it I get this error:
Traceback (most recent call last):
File "c:\apps\wpy64-31020\python-3.10.2.amd64\lib\site-packages\clr.py",
line 6, in
load()
File "C:\apps\WPy64-31020\python-3.10.2.amd64\lib\site-packages\pythonnet_
*init*_.py", line 44, in load
raise RuntimeError("Failed to initialize Python.Runtime.dll")
RuntimeError: Failed to initialize Python.Runtime.dll
Failed to initialize pythonnet: System.InvalidOperationException: This
property must be set before runtime is initialized
at Python.Runtime.Runtime.set_PythonDLL(String value)
at Python.Runtime.Loader.Initialize(IntPtr data, Int32 size)
at Python.Runtime.Runtime.set_PythonDLL(String value)
at Python.Runtime.Loader.Initialize(IntPtr data, Int32 size)
I am using winpython 3.10.2 on Windows 11.
What am I doing wrong?
—
Reply to this email directly, view it on GitHub
<#1065>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AECBUVAOBVUPSP6OBN2U7ELVDMWU5ANCNFSM5SQK63HA>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
1 reply
-
so |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello!
I am getting an error trying to run a simple python program from Spyder IDE.
When I try to run it I get this error:
I am using winpython 3.10.2 on Windows 11.
What am I doing wrong?
Beta Was this translation helpful? Give feedback.
All reactions