Open momerath42 opened 3 years ago
It is failing to load python3.8m.dll and python3.8.dll and falling back to 3.6 ... I think.
Where is python3.8.dll on your system?
in the root anaconda dir, as I specified for :library-path - but it's named python38.dll (no extra period or m)
I figured out that if I run powershell through anaconda navigator, libpython-clj finds the 'system' version of the .dll, so I'm no longer stuck. I still think the way I tried before should theoretically work.
Conda is a little tricky but we do have a lot of validation for working pathways. Here is the reference setup, would need to be adapted for windows. There are some Powershell specific tips on Zulip!
I think the issue is that we do not have a search mechanism that looks for python38.dll
, but only python3.8.dll
and python3.8m.dll
.
You can specify the library path directly (which is a PITA) or we can figure out a more clever search mechanism that will detect these sorts of differences.
I'm just starting to try to use this amazing project. I'm trying to do everything in windows for project-specific reasons. I could be missing something obvious because I lack experience developing clojure/java/python on windows, but it appears to me that the issue is with https://github.com/clj-python/libpython-clj/blob/master/src/libpython_clj/python/interpreter.clj#L86
python-library-regex
not actually being used (the one call to it being commented out). I could try hacking it into place and submitting a PR, but I assume there's a good reason it's not currently in there. Please advise!My bare stub of a project is at https://github.com/momerath42/phil for reproduction's sake. Attached is the debug .edn file, and here is the output at the [power]shell:
libpython-load-fail-edn.txt