SciSharp/Numpy.NET

Could not find platform dependent libraries <exec_prefix>

johmarjac opened this issue · 6 comments

Hi,

I just created a bare minimum C# Console Application targeting .NET 6, referenced the NuGet Numpy.NET package and set my build configuration to x64

image

image

This code is resulting in the following output:

image

Any ideas?

henon commented

change to Any CPU?

Didnt work, I actually set it to x64 because in the README of the Repo it says I should do so. Whether I take AnyCpu or x64 doesnt change anything. I always get this message.

henon commented

OK, I can reproduce the message (don't know where it comes from) but Numpy still seems to work, so doesn't seem to be a problem on Numpy.NET's end.

image

image

Ah okay, first time i use numpy. Yes seems to work for me too, but just the error message was confusing me.
Thanks

I also get the error message, and numpy doesn't work :(

Syn0 = np.arange(10);
Console.WriteLine(Syn0); // hangs forever

This is on windows. Too bad this is a closed ticket.

henon commented

@ddombrowsky yours is a different issue, the OP did not experience a hang. As for your problem, please read the following issues which all involve hanging: https://github.com/SciSharp/Numpy.NET/issues?q=is%3Aissue+hangs

Edit: If these don't solve your problem please open a new issue