In the readme, it says that "python for .net uses the pythonpath
(sys.path) to look for assemblies to load, in addition to the usual
application base and the gac.
Unfortunately at the moment the assembly I'm trying to load is... clr.pyd.
If I run python (ubuntu, mono, rebuilt python 2.5.2 with
--enable-shared) from a directory where clr.pyd and Python.Runtime.dll
reside, with clr.so in the lib/python2.5/site-packages folder...
everything works. I can import clr and System.Drawing and make a
If I run python from a directory without these libraries, in particular
if I'm in my home folder somewhere and clr.pyd and Python.Runtime.dll
are in the lib/python2.5/site-packages folder where I want them...
import clr gives me an error trying to load some unspecified module (I
Am I supposed to set some path or other for mono in contravention of the
docs? I suspect that either clr.so can't find mono, or mono is being
loaded and then can't find clr.pyd.
I will continue to fiddle with this, probably Friday, if I don't get a
response, but it seems like there's probably a simple answer that I'm
overlooking. Setting MONO_PATH to my site-packages folder (the variable
was unbound before) didn't fix it.