Re: [Python.NET] Python.net with Mono and *nix
Note that the PythonNet 1.x releases are packaged as distinct releases for Python 2.3 and 2.4. Perhaps you installed the 2.3 release by mistake? -Brian
-----Original Message----- From: pythondotnet-bounces@python.org [mailto:pythondotnet-bounces@python.org] On Behalf Of Filipe Correia Sent: Monday, July 10, 2006 1:27 PM To: pythondotnet@python.org Subject: [Python.NET] Python.net with Mono and *nix
Hi all,
I've followed the installation notes to use python.net with mono on a linux box but haven't quite got it working yet. The "readme" that comes with the python.net package says the following:
"Note that if you are running under Mono on a *nix system, you will need to have a compatible version of Python installed. You will also need to create a symbolic link to the copy of libpython2.x.so (in your existing Python installation) in the PythonNet directory. This is needed to ensure that the mono interop dll loader will find it by name. For example: ln -s /usr/lib/libpython2.4.so ./python24.so"
I did so, but the following exception turned up: "Unhandled Exception: System.DllNotFoundException: python23 in (wrapper managed-to-native) Python.Runtime.Runtime:Py_Initialize () in <0x00028> Python.Runtime.Runtime:Initialize () in <0x00013> Python.Runtime.PythonEngine:Initialize () in <0x00017> Python.Runtime.PythonConsole:Main (System.String[] args)"
Does this mean python23 is mandatory for running on a *nix environment? It's true that I only have python24 installed...
thanks in advance, Filipe _________________________________________________ Python.NET mailing list - PythonDotNet@python.org http://mail.python.org/mailman/listinfo/pythondotnet
участники (1)
-
Brian Lloyd