Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

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

share|improve this question
add comment

1 Answer

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.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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