[Python.NET] ImportError: dynamic module does not define init function (PyInit_CLR)

Tribble, Brett btribble at ea.com
Wed Aug 21 02:45:03 CEST 2013


Python for .NET is in a superpositional state in which it is both working and not working. You just collapsed its wave function prematurely. Also you didn't which is why we're also not having this conversation.

Addressing the question not clearly at hand, support for Python 3.x is pretty green still. You might try grabbing Tony Robert's build that has tentative support:

On 5 Jul 2013 07:01, "Tony Roberts" <tony at pyxll.com<mailto:tony at pyxll.com>> wrote:
Yes, I made some changes to get it working in Python 3 a while ago. The code's on github: https://github.com/tonyroberts/pythonnet.

I've tested it with 3.3 x64 and it works ok for me (although I've only really used the 3.2 x64 build extensively).

regards,
Tony



From: PythonDotNet [mailto:pythondotnet-bounces+btribble=ea.com at python.org] On Behalf Of Catherine Holloway
Sent: Tuesday, August 20, 2013 1:06 PM
To: pythondotnet at python.org
Subject: [Python.NET] ImportError: dynamic module does not define init function (PyInit_CLR)

When I try to do:

import CLR

I get the following error:

ImportError: dynamic module does not define init function (PyInit_CLR)

any ideas? I downloaded what I thought was the windows installer from sourceforge, but running nPython.exe just crashes (it gives something about not being able to find python27). I have python33. Does that mean that python for .net is not compatible with python 3.3.?

--
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
Catherine Holloway
Institute for Quantum Computing
Lab Phone: 519-888-4567 ext. 32107
Office Phone: 519-888-4567 ext. 39038
Cell Phone: 519-998-1264
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pythondotnet/attachments/20130820/d21e6b75/attachment.html>


More information about the PythonDotNet mailing list