-
Notifications
You must be signed in to change notification settings - Fork 751
Does pythonnet work with .NET Core #1178
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
The issue about .NET Core support is actually pinned at the top. |
Thanks for the link - after posting this I did see that and was wondering if that was the official word / issue to track. That said - what do you mean by "pinned at the top"? The top of what? |
@jeffzi19 when you got to https://github.com/pythonnet/pythonnet/issues , it is pinned above the search. Actually, I think this GitHub feature does not work as intended. I never paid attention to them to be honest 😀 |
HA - I see it now. Thanks - I figured I was missing something. Thanks for the link and the heads-up on where to find hot issues! Take care. |
It would be nice to know what the answer was though. If you don''t mind posting ti here. We would be glad. |
@torch016 Please stop necro-posting or you will be banned from commenting here for a while. Either you actually start reading the existing information (I gave you two links on another issue you commented on) or you will have to wait for official documentation. |
I'm developing a platform that uses .NET as a "backend" and python as the front-end user driven language. Users will write python scripts that will access a handful of objects written in .NET.
This works fine on windows and with .NET framework compiled binaries. I can get the .NET binaries to compile in .NET Core and they're running fine on linux.
What I cannot do is get pythonnet to load .NET libraries written for .NET Core. In reading through the various posts I can't determine if this is something that is supported or should work. I don't have a specific tie to a version of python or pythonnnet. At the moment I'm using python 3.6.7 and just updated to the latest pythonnet (2.5.1).
When I make a normal console app using .NET Core and try and import I'm getting the following error:
Traceback (most recent call last):
File "test.py", line 10, in
from LinuxNetCoreTest import *
ModuleNotFoundError: No module named 'LinuxNetCoreTest'
when running everything the same but using a .NET Framework compiled binary this is working fine. I've tried this with and without clr.AddReference - neither are working.
At this point I just need to know if this is possible or if I need to look at a completely different path to solve this problem.
Thanks in advance.
The text was updated successfully, but these errors were encountered: