I'm new with python. Recently, I want to install numpy on my macOS. I have installed brew
, python
and pip
already. Also, I have aliased pip
pip3
and python
to python3
. However, when I run pip install numpy
it shows me an error.
I'm also confused about I'm expected to use pip3
for installing numpy
because of the alias. But why the warning is about python2.7?
➜ ~ which python
python: aliased to /usr/local/bin/python3.6
➜ ~ which pip
pip: aliased to /usr/local/bin/pip3
➜ ~ pip install numpy
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: numpy in /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python (1.8.0rc1)