[Python.NET] Re: Problem installing pythonnet 2.5.2 on Debian 11
Emmanuel Rutovic <[email protected]> Wed, 27 Apr 2022 11:46:23 -0400
| Newsgroups | gmane.comp.python.dotnet |
|---|---|
| Message-ID | <CAJE6Wx18X4eN7sJEoiuJXbD9sdV-iSYkAC-ut0k8BN2Pi=pe_A@mail.gmail.com> |
--===============7503992747662822130== Content-Type: multipart/alternative; boundary="000000000000c106d305dda4b6f8" --000000000000c106d305dda4b6f8 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 =C3=96zmen < [email protected]> wrote: > Hello , > > > > I am developing with Python 3.7.9 on Debian 11 and I have to import C# > Libraries. > > For that I=E2=80=99ve tried to install pythonnet 2.5.2 via pip, but I get= error > messages. > > I=E2=80=99ve 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 =C3=96zmen * > > _______________________________________________ > PythonNet mailing list -- [email protected] > To unsubscribe send an email to [email protected] > https://mail.python.org/mailman3/lists/pythonnet.python.org/ > Member address: [email protected] > --000000000000c106d305dda4b6f8 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">Hi Mohammed,<div><br></div><div>Have you installed Mono Fr= amework? (<a href=3D"https://www.mono-project.com">https://www.mono-project= .com</a>)=C2=A0</div><div>The C# code needs to be compiled targeting .Net F= ramework and not .Net Core / 5.0 / 6.0.</div><div>Pythonnet 3.0 will be com= patible with the newest flavor of .Net and will not require .Net Framework.= </div><div><br></div><div>Hope this helps.</div><div><br></div><div>Regards= ,</div><div>Manu.=C2=A0</div></div><br><div class=3D"gmail_quote"><div dir= =3D"ltr" class=3D"gmail_attr">On Wed, Apr 27, 2022 at 11:43 AM Muhammed-Tal= ha =C3=96zmen <<a href=3D"mailto:[email protected]">ozmen.muham= [email protected]</a>> wrote:<br></div><blockquote class=3D"gmail_quote" s= tyle=3D"margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:so= lid;border-left-color:rgb(204,204,204);padding-left:1ex"> <div dir=3D"ltr"> <div style=3D"font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt= ;color:rgb(0,0,0)"> <p class=3D"MsoNormal" style=3D"margin:0cm;font-size:11pt;font-family:Calib= ri,sans-serif"> <span lang=3D"EN-US">Hello ,<u></u>=C2=A0<u></u></span></p> <p class=3D"MsoNormal" style=3D"margin:0cm;font-size:11pt;font-family:Calib= ri,sans-serif"> <span lang=3D"EN-US"><u></u>=C2=A0<u></u></span></p> <p class=3D"MsoNormal" style=3D"margin:0cm;font-size:11pt;font-family:Calib= ri,sans-serif"> <span lang=3D"EN-US">I am developing with Python 3.7.9 on Debian 11 and I h= ave to import C# Libraries.<u></u>=C2=A0<u></u></span></p> <p class=3D"MsoNormal" style=3D"margin:0cm;font-size:11pt;font-family:Calib= ri,sans-serif"> <span lang=3D"EN-US">For that I=E2=80=99ve tried to install pythonnet 2.5.2= via pip, but I get error messages.<u></u>=C2=A0<u></u></span></p> <p class=3D"MsoNormal" style=3D"margin:0cm;font-size:11pt;font-family:Calib= ri,sans-serif"> <span lang=3D"EN-US">I=E2=80=99ve installed clang, libglib2.0-dev, nuget, d= otnet runtime 2.0 (the C# Libs were developed with .NET Core 2.0, but I tri= ed also 6.0 without success).<u></u>=C2=A0<u></u></span></p> <p class=3D"MsoNormal" style=3D"margin:0cm;font-size:11pt;font-family:Calib= ri,sans-serif"> <span lang=3D"EN-US">So, how I have to install pythonnet 2.5.2?<u></u>=C2= =A0<u></u></span></p> <p class=3D"MsoNormal" style=3D"margin:0cm;font-size:11pt;font-family:Calib= ri,sans-serif"> <span lang=3D"EN-US">Thanks for your help!<u></u>=C2=A0<u></u></span></p> <p class=3D"MsoNormal" style=3D"margin:0cm;font-size:11pt;font-family:Calib= ri,sans-serif"> <span lang=3D"EN-US"><u></u>=C2=A0<u></u></span></p> <p class=3D"MsoNormal" style=3D"margin:0cm;font-size:11pt;font-family:Calib= ri,sans-serif"> <span lang=3D"EN-US"><u></u>=C2=A0<u></u></span></p> <p class=3D"MsoNormal" style=3D"margin:0cm;font-size:11pt;font-family:Calib= ri,sans-serif"> <span lang=3D"EN-US" style=3D"font-size:10pt;font-family:Arial,sans-serif">= Best Regards,<u></u>=C2=A0<u></u></span></p> <p class=3D"MsoNormal" style=3D"margin:0cm;font-size:11pt;font-family:Calib= ri,sans-serif"> <span lang=3D"EN-US" style=3D"font-size:10pt;font-family:Arial,sans-serif">= <u></u>=C2=A0<u></u></span></p> <p class=3D"MsoNormal" style=3D"margin:0cm;font-size:11pt;font-family:Calib= ri,sans-serif"> <b><span lang=3D"EN-US">Muhammed-Talha =C3=96zmen<u></u>=C2=A0<u></u></span= ></b></p> <br> </div> </div> _______________________________________________<br> PythonNet mailing list -- <a href=3D"mailto:[email protected]" target=3D= "_blank">[email protected]</a><br> To unsubscribe send an email to <a href=3D"mailto:[email protected]= g" target=3D"_blank">[email protected]</a><br> <a href=3D"https://mail.python.org/mailman3/lists/pythonnet.python.org/" re= l=3D"noreferrer" target=3D"_blank">https://mail.python.org/mailman3/lists/p= ythonnet.python.org/</a><br> Member address: [email protected]<br> </blockquote></div> --000000000000c106d305dda4b6f8-- --===============7503992747662822130== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ PythonNet mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/pythonnet.python.org/ Member address: [email protected] --===============7503992747662822130==--