$ pip install -U numpy==1.18.1
Collecting numpy==1.18.1
Using cached numpy-1.18.1-cp39-cp39-linux_x86_64.whl
Installing collected packages: numpy
Attempting uninstall: numpy
Found existing installation: numpy 1.21.2
Uninstalling numpy-1.21.2:
Successfully uninstalled numpy-1.21.2
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
h5py 3.4.0 requires numpy>=1.19.3; python_version >= "3.9", but you have numpy 1.18.1 which is incompatible.
Successfully installed numpy-1.18.1
(sc3) rstudio 13:26:55 ~
$
(sc3) rstudio 13:26:55 ~
$ pip install -U numpy==1.19.3
Collecting numpy==1.19.3
Downloading numpy-1.19.3-cp39-cp39-manylinux2010_x86_64.whl (14.9 MB)
|████████████████████████████████| 14.9 MB 26 kB/s
Installing collected packages: numpy
Attempting uninstall: numpy
Found existing installation: numpy 1.18.1
Uninstalling numpy-1.18.1:
Successfully uninstalled numpy-1.18.1
Successfully installed numpy-1.19.3
(sc3) rstudio 13:29:52 ~
网友评论