I uninstalled my old numpy version and want to install the newest version with pip 20.3.4, but got this TypeError:
set() got an unexpected keyword argument 'expires'
(same Error for pip install numpy)
I uninstalled my old numpy version and want to install the newest version with pip 20.3.4, but got this TypeError:
set() got an unexpected keyword argument 'expires'
(same Error for pip install numpy)
Try not to specify the version. Just try:
pip3 install numpy
It will install the latest stable version.
You can also try to install it with conda
.
If you use conda, you can install NumPy from the defaults or conda-forge channels:
conda create -n my-env conda activate my-env
conda config --env --add channels conda-forge
conda install numpy