-
Notifications
You must be signed in to change notification settings - Fork 751
nuget package embedding issue #647
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I did that already. it was initially 32 bit but I picked up 64 bit manually. |
In one place you show python 3.5, in another it is python 3.6
…On Tue, Mar 20, 2018, 4:52 PM user015 ***@***.***> wrote:
I did that already. it was initially 32 bit but I picked up 64 bit
manually.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#647 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AHgZ5fpDjBdQHQba7LjTALgO15fWMfebks5tgXovgaJpZM4Syo34>
.
|
my bad, I pasted a older copy. I am using 3.5.4 as shown below.
As I wrote earlier, the error I see when I debug PythonEngine is this base {System.SystemException} = {"DelegateManager has not yet been initialized using Python.Runtime.PythonEngine.Initialize()."} |
Can you try regular CPython installation, not the nuget package for it?
I don't think anyone tested this nuget CPython package with pythonnet.
…On Tue, Mar 20, 2018, 5:12 PM user015 ***@***.***> wrote:
[image: image]
<https://user-images.githubusercontent.com/11019208/37685508-bcaed4d4-2c61-11e8-8903-b27505e9614d.png>
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#647 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AHgZ5cw5xoU-Yvzj0ORhmKO96x_M1juFks5tgX63gaJpZM4Syo34>
.
|
OK nuget package does not seem like a good option now. Also the nuget package for pythonnet seems to look for older version of python3.5.5 (python35.dll) as well. I was looking at this for distribution purposes, will go back to the regular setup. Thanks for all your help @denfromufa. |
The latest versions of NuGet package now work with any supported Python version. |
nuget packages
a) 2.3.0-py35-dotnet
b) python 3.5.4 (64 bit).
I was able to get install both nuget packages. This pythondotnet package seems to look for a python35.dll, So I had to install 3.5.4. This is a 64 bit project targetting .NET 4.5
I set the path variables both PythonHome and PythonPath.
The code just abruptly exits at the Py.GIL() line, I tried looking at nuget issues here but no luck.
Code Snipped below
If I debug the PythonEngine variable, I see that it has the correct path and picks up the correct version and there is a error message under delegatemanager, which says delegate manager has not been initialized.
I tried to use the PythonEngine.Initialize() method and the progam Exits.
What could the issue be here ?
Thanks
The text was updated successfully, but these errors were encountered: