Discussion:
[Python.NET] Problems in Installation
Tanmoy
2011-01-29 14:30:17 UTC
Permalink
Hi,
My name is Tanmoy and i have some problems regarding the installation of
Python .NET in Ubuntu. whenever i try to follow this (
http://mail.python.org/pipermail/pythondotnet/2006-April/000474.html) i get
this weird error

Unhandled Exception: System.DllNotFoundException: python26
at (wrapper managed-to-native) Python.Runtime.Runtime:Py_Initialize ()
at Python.Runtime.Runtime.Initialize () [0x00000] in <filename unknown>:0
at Python.Runtime.PythonEngine.Initialize () [0x00000] in <filename
unknown>:0
at Python.Runtime.PythonConsole.Main (System.String[] args) [0x00000] in
<filename unknown>:0

Any suggestions where could i be going wrong ?

Sincerely
Tanmoy Mukherjee
Barton
2011-01-30 22:44:11 UTC
Permalink
Although I'm on Windows, I may be able to point out a couple of things:

1. Since the runtime doesn't do any error checking when trying to
load the python dynamic (shared) library, this error isn't too weird.
2. Since the runtime is looking for python26, this is certainly not
"pythonnet-1.0-rc2-py2.4-clr1.1" as the link you provided states.
3. Since the runtime is looking for python26, unless you built from
source, this is most likely a Windows build off the pythondotnet
project download area on SourcForge.
4. Since I'm on Windows, I haven't yet tried to build and test under
Mono. This may be something that I could try in the
unknown-distant-future.
5. Since I'm the only person currently uploading pre-built
assemblies, Linux users must build from source.

AFAIK, the current SVN will build under Mono.
Hope that helps,
Barton
Post by Tanmoy
Hi,
My name is Tanmoy and i have some problems regarding the
installation of Python .NET in Ubuntu. whenever i try to follow this
(http://mail.python.org/pipermail/pythondotnet/2006-April/000474.html)
i get this weird error
Unhandled Exception: System.DllNotFoundException: python26
at (wrapper managed-to-native) Python.Runtime.Runtime:Py_Initialize ()
at Python.Runtime.Runtime.Initialize () [0x00000] in <filename unknown>:0
at Python.Runtime.PythonEngine.Initialize () [0x00000] in <filename
unknown>:0
at Python.Runtime.PythonConsole.Main (System.String[] args)
[0x00000] in <filename unknown>:0
Any suggestions where could i be going wrong ?
Sincerely
Tanmoy Mukherjee
_________________________________________________
http://mail.python.org/mailman/listinfo/pythondotnet
Tanmoy
2011-01-31 03:55:01 UTC
Permalink
Hi,
Thanks for your reply. I tried putting in pythononet 26 ... but it did
not work...in short i tried 1,2,3.The current SVN too is crashing. Would
appreciate if any one could do on Ubuntu versions and report me if they face
similar problems.

Sincerely
Tanmoy Mukherjee
1. Since the runtime doesn't do any error checking when trying to load
the python dynamic (shared) library, this error isn't too weird.
2. Since the runtime is looking for python26, this is certainly not
"pythonnet-1.0-rc2-py2.4-clr1.1" as the link you provided states.
3. Since the runtime is looking for python26, unless you built from
source, this is most likely a Windows build off the pythondotnet project
download area on SourcForge.
4. Since I'm on Windows, I haven't yet tried to build and test under
Mono. This may be something that I could try in the unknown-distant-future.
5. Since I'm the only person currently uploading pre-built assemblies,
Linux users must build from source.
AFAIK, the current SVN will build under Mono.
Hope that helps,
Barton
Hi,
My name is Tanmoy and i have some problems regarding the installation
of Python .NET in Ubuntu. whenever i try to follow this (
http://mail.python.org/pipermail/pythondotnet/2006-April/000474.html) i
get this weird error
Unhandled Exception: System.DllNotFoundException: python26
at (wrapper managed-to-native) Python.Runtime.Runtime:Py_Initialize ()
at Python.Runtime.Runtime.Initialize () [0x00000] in <filename unknown>:0
at Python.Runtime.PythonEngine.Initialize () [0x00000] in <filename
unknown>:0
at Python.Runtime.PythonConsole.Main (System.String[] args) [0x00000] in
<filename unknown>:0
Any suggestions where could i be going wrong ?
Sincerely
Tanmoy Mukherjee
_________________________________________________
--
Tanmoy Mukherjee
Laszlo Sebo
2011-01-31 18:30:00 UTC
Permalink
_________________________________________________
Python.NET mailing list - PythonDotNet-+ZN9ApsXKcEdnm+***@public.gmane.org
http://mail.python.org/mailman/listinfo/pythondotnet
Barton
2011-02-12 20:33:27 UTC
Permalink
Please see the mail archives (particularly [Python.NET] ubuntu
clarification & path question: clr.so being picky about paths) at
December 2008 Archives by thread
<http://mail.python.org/pipermail/pythondotnet/2008-December/thread.html#879>
Post by Tanmoy
Hi,
My name is Tanmoy and i have some problems regarding the
installation of Python .NET in Ubuntu. whenever i try to follow this
(http://mail.python.org/pipermail/pythondotnet/2006-April/000474.html)
i get this weird error
Unhandled Exception: System.DllNotFoundException: python26
at (wrapper managed-to-native) Python.Runtime.Runtime:Py_Initialize ()
at Python.Runtime.Runtime.Initialize () [0x00000] in <filename unknown>:0
at Python.Runtime.PythonEngine.Initialize () [0x00000] in <filename
unknown>:0
at Python.Runtime.PythonConsole.Main (System.String[] args)
[0x00000] in <filename unknown>:0
Any suggestions where could i be going wrong ?
Sincerely
Tanmoy Mukherjee
_________________________________________________
http://mail.python.org/mailman/listinfo/pythondotnet
Loading...