Closed AtlantisDe closed 2 years ago
I'll see what I can do.
I'll see what I can do.
ths
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
The changes they made will even reflect on your code. Lots of API changes in pythonnet
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
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.
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
Could you please make an up-to-date version of the package? Thanks python-3.10.0-embed-amd64.zip