+ 3
How do you use numpy and scipy?
I assumed they were auto installed. Ostensibly not. Thanks in advance if you provide an intelligent reply. :)
6 ответов
+ 5
You could also install conda or anaconda. It are python distributions with things like numpy included.
+ 1
I suggest looking online or YouTube
But basically you have to use the command line to install PIP (python package manager) and then just run the commands to install a library and then put numpy and scipy
I’ll look for the exact commands
0
For Linux or Mac
pip install -U pip
For Windows
python -m pip install -U pip
0
Then,
pip install -U numpy
pip install -U scipy
0
If it doesn’t work, try going into the python scripts directory, but if you edited the environment variables when you installed python, it should work fine
0
https://youtu.be/oYTs9HwFGbY
Import numpy as np
etc