Problem installing pythonnet 2.5.2 on Debian 11
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
What error messages are you getting? On Wed, Apr 27, 2022 at 8:43 AM Muhammed-Talha Özmen < ozmen.muhammed@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-leave@python.org https://mail.python.org/mailman3/lists/pythonnet.python.org/ Member address: slide.o.mix@gmail.com
-- Website: http://earl-of-code.com
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.muhammed@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-leave@python.org https://mail.python.org/mailman3/lists/pythonnet.python.org/ Member address: manu@upsim.tech
participants (3)
-
Alex Earl
-
Emmanuel Rutovic
-
Muhammed-Talha Özmen