Replies: 3 comments
-
The function this is failing in is https://github.com/pythonnet/clr-loader/blob/master/clr_loader/__init__.py#L89 Is this really the only output you are seeing? There should at least be an exception message after this... |
Beta Was this translation helpful? Give feedback.
-
I have the similar issue on two Windows 11 machines (In my case it's .net8 solution but requested by pythonnet is .net9): App: C:\Python311\python.exe To install missing framework, download: |
Beta Was this translation helpful? Give feedback.
-
Please do not use the load("coreclr") and try: rt = get_coreclr(runtime_config="runtimeconfig.json") In the runtimeconfig.json replace with your framework |
Beta Was this translation helpful? Give feedback.
-
I'm trying to use
pythonnet
with .NET 9 RC. When I triedpythonnet.load("coreclr")
, the following error message from .NET was shown.It seems that .NET cannot resolve 9.0.0 with 9.0.0-rc. For my usecase 8.0.8 is OK. Can I make pythonnet to use this version of .NET?
Beta Was this translation helpful? Give feedback.
All reactions