I have found the old answer to this question, but the instructions provided in the mentioned post are no longer working... Essentially the URL where NumPy for IronPython was stored is broken.
How to install NumPy for IronPython in 2017?
Asked Answered
Nope. I did not find a solution unfortunetelly. I am planning to switch my project to python.NET in order to enable NumPy support. I recommend to you doing same. –
Bamberg
Updated Instructions July 2019: How to install numpy and scipy for Ironpython27? –
Athletic
Possible duplicate of How to install numpy and scipy for Ironpython27?. These are fundamentally the same question, as the back-and-forth posting of updated answers shows. –
Commuter
You can download the required wheel file from https://pypi.org/project/numpy.
Update the pip to the latest version based on your OS.
If you are unable to use pip, please add pip to your PATH by editing environment variables.
pip install --upgrade pip
After upgrading pip, you can use pip to install the local *.whl file you downloaded
pip install C:\path\to\whl_file.whl
For more customized install, you can look here: https://pip.pypa.io/en/stable/
Paste this in to your terminal
pip install numpy
If it say: pip is not recognized as an internal or external command
, then try reinstalling Python and remember to add it to PATH (Easiest step. There is more ways to fix this but
this is the easiest one).
Then, it will work perfectly :)
© 2022 - 2024 — McMap. All rights reserved.