[Python.NET] Python for .NET installation problem

Alla Gofman Alla.Gofman at sandisk.com
Sun Dec 5 10:19:21 CET 2010


Hi Barton,

Thanks.
I also have build a Release version of pythonnet.sln.
However, I ran into some trouble, Python.exe didn't launched.
I get the same error as before for both python25 and 26 when I run my program and pythonnet.sln.
I don't understand how can I use python.exe
I want to run C# which embedding Phyton without installing Python full version on PC.
Can I do so?

Alla.

From: Barton [mailto:barton at bcdesignswell.com]
Sent: Friday, December 03, 2010 10:06 AM
To: Alla Gofman
Subject: Re: [Python.NET] Python for .NET installation problem

Hi, alla,
I'll push these to the project in a bit. I did goof on the last round.
Cheers,
Barton

On 12/1/2010 7:48 AM, Alla Gofman wrote:
Hi,
I have installed Python v. 264 on Win7 and I want to install Python for .NET.
I downloaded  pythonnet-2.0-alpha2-clr2.0_py26 but there is no python.exe file there.
So I downloaded pythonnet-2.0-alpha2-clr2.0_py25 where file indeed exists.

I follow the instruction for installation on http://pythonnet.sourceforge.net/readme.html#installation

"The source release is a self-contained "private" assembly. Just unzip the package wherever you want it, cd to that directory and run python.exe to start using it."
I run python.exe and I get an error:
Unhandled Exception: System.DllNotFoundException: Unable to load DLL 'python25':
The specified module could not be found. (Exception from HRESULT: 0x8007007E)
   at Python.Runtime.Runtime.Py_Initialize()
   at Python.Runtime.Runtime.Initialize()
   at Python.Runtime.PythonEngine.Initialize()
   at Python.Runtime.PythonConsole.Main(String[] args)

Am I doing something wrong?

Thanks.
AllaG

________________________________
PLEASE NOTE: The information contained in this electronic mail message is intended only for the use of the designated recipient(s) named above. If the reader of this message is not the intended recipient, you are hereby notified that you have received this message in error and that any review, dissemination, distribution, or copying of this message is strictly prohibited. If you have received this communication in error, please notify the sender by telephone or e-mail (as shown above) immediately and destroy any and all copies of this message in your possession (whether hard copies or electronically stored copies).







_________________________________________________

Python.NET mailing list - PythonDotNet at python.org<mailto:PythonDotNet at python.org>

http://mail.python.org/mailman/listinfo/pythondotnet
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pythondotnet/attachments/20101205/209b7eec/attachment.html>


More information about the PythonDotNet mailing list