Hi Mohammed,

Have you installed Mono Framework? (https://www.mono-project.com)
The C# code needs to be compiled targeting .Net Framework and not .Net Core
/ 5.0 / 6.0.
Pythonnet 3.0 will be compatible with the newest flavor of .Net and will
not require .Net Framework.

Hope this helps.

Regards,
Manu.

On Wed, Apr 27, 2022 at 11:43 AM Muhammed-Talha Özmen <
ozmen.muham...@outlook.com> wrote:

> Hello ,
>
>
>
> I am developing with Python 3.7.9 on Debian 11 and I have to import C#
> Libraries.
>
> For that I’ve tried to install pythonnet 2.5.2 via pip, but I get error
> messages.
>
> I’ve installed clang, libglib2.0-dev, nuget, dotnet runtime 2.0 (the C#
> Libs were developed with .NET Core 2.0, but I tried also 6.0 without
> success).
>
> So, how I have to install pythonnet 2.5.2?
>
> Thanks for your help!
>
>
>
>
>
> Best Regards,
>
>
>
> *Muhammed-Talha Özmen *
>
> _______________________________________________
> PythonNet mailing list -- pythonnet@python.org
> To unsubscribe send an email to pythonnet-le...@python.org
> https://mail.python.org/mailman3/lists/pythonnet.python.org/
> Member address: m...@upsim.tech
>
_______________________________________________
PythonNet mailing list -- pythonnet@python.org
To unsubscribe send an email to pythonnet-le...@python.org
https://mail.python.org/mailman3/lists/pythonnet.python.org/
Member address: arch...@mail-archive.com

Reply via email to