sectix
DllNotFoundException help with Pythonnet
Hello! I'm using Pythonnet to try to run some python code in C#, however no matter what I do it seems to say it cannot find a python dll. A great example is giving it an exact path and it failing.
which works perfectly fine if that were opened using run; however it prints off an error like this:
DllNotFoundException: Could not load C:\Users\(me)\anaconda3\python39.dll.";
. Any and all help would be appreciated, I just would like to get this going. I have a large project ahead of me I'd like to tackle and my very first required thing is already being a block. I've gone through countless stack overflow pages and tried countless things myself, even rebuilding the entire dll myself (per one pages 'fix'), but between work and chores I don't have much time to figure this out in a reasonable time span, so again, any help would be appreciated.30 replies