Jason Sachs
2013-07-23 20:45:52 UTC
I got the pythonnet libraries installed and working with my Python
installation, and I can do
import clr
import System
without errors, but when I go to import a 3rd-party .NET library I have
File "<stdin>", line 1, in <module>
ImportError: No module named OpenLayers.Base
How do I tell pythonnet where .NET libraries are? I have essentially no
background with .NET, I'm familiar with Java so there are a lot of
parallels but I don't understand how to make these libraries visible to
Python.
installation, and I can do
import clr
import System
without errors, but when I go to import a 3rd-party .NET library I have
import clr
import System
import OpenLayers.Base
Traceback (most recent call last):import System
import OpenLayers.Base
File "<stdin>", line 1, in <module>
ImportError: No module named OpenLayers.Base
How do I tell pythonnet where .NET libraries are? I have essentially no
background with .NET, I'm familiar with Java so there are a lot of
parallels but I don't understand how to make these libraries visible to
Python.