[Python.NET] PythonEngine.Initialize() exception

Denis Akhiyarov denis.akhiyarov at gmail.com
Thu Feb 18 11:28:04 EST 2016


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> 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/f65eb301/attachment.html>


More information about the PythonDotNet mailing list