1

I'm trying to "import clr" and get an error saying "dynamic module not initialized properly". It works fine in Pyscripter and the regular console (which is actually updated from the PythonNet build), but I can't figure out why it won't work in the ArcMap Python window.

It's a module from PythonNet that I compiled from their source code (which had it's issues, but got it working this far). Where should I be looking next to fix this?

Thanks

1 Answer 1

1

See my answer here. Basically if you compiled it yourself, you're going to need to patch distutils to not embed a manifest in the DLL.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.