Unable to use Numpy.NET from linux environment
HiranCser opened this issue · 1 comments
Hi,
We are trying to use Numpy.NET in the Linux environment. Please find the error attached.
We also checked section "Versions and Compatibility" from https://github.com/SciSharp/Numpy.NET/blob/main/README.md and found that we need some extra steps/libs to run in Linux environment.
could you please provide the details on how to use/make/install this library in Linux?
Linux_error.txt
Sample code:
float[] array = new float[2] { 0.1f, 0.2f };
NDarray array1 = np.asarray(array);
Numpy.NET by default is for Windows, but you can use Numpy.Bare with an existing installation on linux.
Also please look at Python.Included (which Numpy.NET is based on), there are examples on how to use Python.Deployment to install non-windows versions of python and wheels (numpy) or use locally installed python.
Also look at this issue in Python.Included: henon/Python.Included#52