[Python.NET] PythonEngine.Initialize() exception

Simunic,Kresimir Kresimir.Simunic at Reicofil.com
Thu Feb 18 12:32:53 EST 2016


Hi Denis,

I have actually 3 different computers, one has Windows 7, one has Windows Server 2008, and one Windows Server 2012 R2.

Only Windows Server 2012 R2 is trouble maker.

I installed pythonnet the same way on all machines:


-       i downloaded it, and copied python.runtime dll in local directory where my program is

-       i downloaded winpython and copied its python27.dll into system32 directory

It is x64 Version, .NET is 4.0 on all three machines.

Thanks,

Kresimir.


Von: PythonDotNet [mailto:pythondotnet-bounces+kresimir.simunic=reicofil.com at python.org] Im Auftrag von Denis Akhiyarov
Gesendet: Donnerstag, 18. Februar 2016 17:28
An: A list for users and developers of Python for .NET
Betreff: Re: [Python.NET] PythonEngine.Initialize() exception

Hi Kresimir,

Which python version, x86 or x64, .NET, which pythonnet version and how you installed it?

Is python registered in your path environment variable?

If not, then you need to specify PYTHONPATH

Cheers,
Denis

On Thursday, February 18, 2016, Simunic,Kresimir <Kresimir.Simunic at reicofil.com<mailto:Kresimir.Simunic at reicofil.com>> wrote:
Hi all,

I have a following problem – I installed Python and am calling PythonEngine.Initialize() from C#.

I get following exception:

The value should not be NULL.
Parameter name: key.

The software is running on Windows Server 2012 R2.

Does anybody know what could be the problem ?

Thanks !

Best,

Kresimir.



Reifenhäuser Reicofil GmbH & Co. KG
Spicher Straße 46, 53844 Troisdorf, Germany
Registergericht Siegburg, Reg.Nr. HR A 4534
USt-IdNr. DE 814359351, Steuer-Nr. 5220/5760/0426
Reifenhäuser Reicofil Verwaltungs-GmbH
Registergericht Siegburg, Reg.Nr. HR B 788
Geschäftsführer: Dr.-Ing. Bernd Kunze

Please note: This message may contain information which is privileged, confidential and proprietary.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pythondotnet/attachments/20160218/ecad9030/attachment-0001.html>


More information about the PythonDotNet mailing list