______
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 
[pythondotnet-bounces+kresimir.simunic=reicofil....@python.org]" im 
Auftrag von "Denis Akhiyarov [denis.akhiya...@gmail.com]
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 
<kresimir.simu...@reicofil.com<mailto:kresimir.simu...@reicofil.com>> 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....@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.simu...@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.

_________________________________________________
Python.NET mailing list - PythonDotNet@python.org
https://mail.python.org/mailman/listinfo/pythondotnet

Reply via email to