0

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)

user15199644
  • 43
  • 1
  • 6

1 Answers1

0

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:

Best practice, use an environment rather than install in the base env

conda create -n my-env conda activate my-env

If you want to install from conda-forge

conda config --env --add channels conda-forge

The actual install command

conda install numpy

DimosD
  • 51
  • 2