Re: [Python.NET] PythonEngine.Initialize() exception

"Simunic,Kresimir" <Kresimir.Simunic-mxOznoZa93FWk0Htik3J/[email protected]>
Newsgroups gmane.comp.python.dotnet
Message-ID <140586760BB9EB4B915EB258E3CFB7C0FE676F08@VM-Server78.local.reifenhauser.com>
______
i downloaded from


https://sourceforge.net/projects/pythonnet/files/

i took the first file CLR 4.0

about .Net framework, i guess on Windows Server 2012 R2 is 4.5 actually.

is this ok ?

_________________________________
Von: PythonDotNet [[email protected]]&quot; im Auftrag von &quot;Denis Akhiyarov [[email protected]]
Gesendet: Donnerstag, 18. Februar 2016 21:06
An: A list for users and developers of Python for .NET
Betreff: Re: [Python.NET] PythonEngine.Initialize() exception

Where did you download pythonnet from? Which version/branch?

On Thursday, February 18, 2016, Simunic,Kresimir <[email protected]<mailto:Kresimir.Simunic-W1JssdOQPnVWk0Htik3J/[email protected]>> wrote:

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-+ZN9ApsXKcEdnm+yROfE0A@public.gmane.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 <[email protected]> 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.

_________________________________________________
Python.NET mailing list - [email protected]
https://mail.python.org/mailman/listinfo/pythondotnet
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.