In order to work with Python command line access is required
Opening Terminal through Spotlight
Press the "Command" button and the space bar, simultaneously (this will open a search bar on the screen). Open Spotlight. ...
Type "Terminal" (whilst typing, it should auto-fill). Search for Terminal and open it. ...
Double click "Terminal" in the left sidebar to open the Mac's Terminal.
Setup a working environment
python3.10 -m venv work
followed by
source work/bin/activate
Install the package manager for Python packages, or modules, PIP. A package contains all the files needed for a module. PIP should come already installed with Python, this just ensures that it has.
python -m pip install --upgrade pip
Now install Numpy
pip install numpy
The packages Scipy and Matplotlib along with the development environment of Homebrew should also be installed.