[Python.NET] Configuration on Ubuntu: Assembly not found error...
jhargraveiii at comcast.net
Mon Nov 19 09:11:32 CET 2007
Still never got the dynamically linked python2.4 to find the assemblies
Python.Runtime. Updating MONO_PATH didn't work.
I ended up taking the C# version python.exe and wrapping it with a shell
script called python2.4 - underneath looks like "mono python.exe"
This version seems to understand MONO_PATH.
If anybody knows how to get the native version of python (built under
monoclr) please let me know.
> I set MONO_PATH
> export MONO_PATH=/usr/lib/mono/python2.4
> I place Python.Runtime.dll in the dir above.
> import clr says the assembles still can't be found.
> Christian Heimes wrote:
>> Sanghyeon Seo wrote:
>> > You should install it to the Global Assembly Cache(GAC).
>>> $ gacutil -i Python.Runtime.dll
>> In order to install an assembly in the GAC it must have a strong name.
>> I've signed the assemblies in the preview zip. As far as I remember they
>> can be installed to the GAC, too.
>> However I recommend against the GAC. Only stable assemblies with a fixed
>> api should be installed in the GAC. I don't consider a beta as stable
>> enough. For Mono you can use the env var MONO_PATH.
>> Python.NET mailing list - PythonDotNet at python.org
> Python.NET mailing list - PythonDotNet at python.org
More information about the PythonDotNet