I downloaded Python for .NET.
Inside the zip is clr.pyd
, nPython.exe
, Python.Runtime.dll
and 2 debug database files.
I put the clr.pyd and Python.Runtime.dll in my python DLLs dir C:Python27DLLs thinking this is all that's needed for installation. I then open up the Python GUI and type import clr and I get:
Traceback (most recent call last):
File "<pyshell#2>", line 1, in <module>
import clr
SystemError: dynamic module not initialized properly
New to python but not .NET and want to use the CPython and not IronPython. What am I missing in this installation? The readme of Python for .NET says there is an installation for Windows package but all I found was the zip file.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…