henon / Python.Included

A Python.NET based framework enabling .NET libraries to call into Python packages without depending on a local Python installation.
MIT License
321 stars 52 forks source link

Could you please make an up-to-date version of the package? Thanks python-3.10.0-embed-amd64.zip #37

Closed AtlantisDe closed 2 years ago

AtlantisDe commented 2 years ago

Could you please make an up-to-date version of the package? Thanks python-3.10.0-embed-amd64.zip

//current
packages embedded Python (python-3.10.0-embed-amd64.zip)

// need
python-3.10.0-embed-amd64.zip

ths very much
henon commented 2 years ago

I'll see what I can do.

AtlantisDe commented 2 years ago

I'll see what I can do.

ths

henon commented 2 years ago

It is not gonna be easy. They changed everything in pythonnet 3.0.0. It would be much easier to update to Pythong 3.9, that can be done with the old pythonnet 2.5.1

henon commented 2 years ago

The changes they made will even reflect on your code. Lots of API changes in pythonnet

henon commented 2 years ago

Anyway, I spoke too soon. Looks like they finally got around the problem of having to compile different assemblies for every platform. This means that all the different nugets I had to manage are all not necessary any more. I can just directly use their pythonnet nuget and only need to set the correct PythonDLL in runtime. Releasing the nuget for 3.10 now.

In your code you now have to change from PythonEngine.ImportModule to Py.Import

henon commented 2 years ago

Here you go: https://www.nuget.org/packages/Python.Included/3.10.0-preview1

Note, since pythonnet 3.0.0 is still preview this is also released as a preview package.

AtlantisDe commented 2 years ago

Here you go: https://www.nuget.org/packages/Python.Included/3.10.0-preview1

Note, since pythonnet 3.0.0 is still preview this is also released as a preview package.

ths i will test it