不是问题的问题,往往是个麻烦的大问题。。。
在这里插入图片描述
CMD命令栏如下,

Microsoft Windows [版本XXXX.985]
(c) Microsoft Corporation。保留所有权利。

C:\Users\29328>pip install --upgrade h5py
Requirement already satisfied: h5py in w:\py\py\.idea\lib\site-packages (3.2.1)
Requirement already satisfied: numpy>=1.19.3 in w:\py\py\.idea\lib\site-packages (from h5py) (1.19.4)
WARNING: You are using pip version 21.0.1; however, version 21.1.1 is available.
You should consider upgrading via the 'w:\py\py\.idea\python.exe -m pip install --upgrade pip' command.

C:\Users\29328>pip install --upgrade numpy
Requirement already satisfied: numpy in w:\py\py\.idea\lib\site-packages (1.19.4)
Collecting numpy
  Downloading numpy-1.20.3-cp39-cp39-win_amd64.whl (13.7 MB)
     |████████████████████████████████| 13.7 MB 6.4 MB/s
Installing collected packages: numpy
  Attempting uninstall: numpy
    Found existing installation: numpy 1.19.4
    Uninstalling numpy-1.19.4:
      Successfully uninstalled numpy-1.19.4
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.
tensorflow 2.5.0rc0 requires h5py~=3.1.0, but you have h5py 3.2.1 which is incompatible.
tensorflow 2.5.0rc0 requires numpy~=1.19.2, but you have numpy 1.20.3 which is incompatible.
Successfully installed numpy-1.20.3
WARNING: You are using pip version 21.0.1; however, version 21.1.1 is available.
You should consider upgrading via the 'w:\py\py\.idea\python.exe -m pip install --upgrade pip' command.

C:\Users\29328>pip list
Package                Version
---------------------- -------------------
absl-py                0.12.0
argon2-cffi            20.1.0
asgiref                3.3.1
astunparse             1.6.3
async-generator        1.10
attrs                  20.3.0
Automat                20.2.0
backcall               0.2.0
beautifulsoup4         4.9.3
bleach                 3.2.1
gast                   0.4.0
google-auth            1.28.0
google-auth-oauthlib   0.4.4
google-pasta           0.2.0
grpcio                 1.34.1
h5py                   3.2.1
json5                  0.9.5
jsonschema             3.2.0
jupyter-client         6.1.7
jupyter-core           4.7.0
jupyterlab             2.2.9
jupyterlab-pygments    0.1.2
jupyterlab-server      1.2.0
Keras                  2.4.3
keras-nightly          2.5.0.dev2021032900
Keras-Preprocessing    1.1.2
kiwisolver             1.3.1
KNN                    1.0.0
lightgbm               3.2.1
lxml                   4.6.2
Markdown               3.3.4
MarkupSafe             1.1.1
matplotlib             3.3.3
mistune                0.8.4
mpmath                 1.1.0
nbclient               0.5.1
nbconvert              6.0.7
nbformat               5.0.8
nest-asyncio           1.4.3
networkx               2.5.1
notebook               6.1.5
numpy                  1.20.3
oauthlib               3.1.0
opencv-contrib-python  4.5.1.48
opt-einsum             3.3.0
packaging              20.8
pandas                 1.2.4
pandocfilters          1.4.3
parsel                 1.6.0
parso                  0.7.1
pickleshare            0.7.5
Pillow                 8.0.1
pip                    21.0.1
Pygments               2.7.3
PyHamcrest             2.0.2
pyparsing              2.4.7
pyperclip              1.8.1
pyrsistent             0.17.3
pytesseract            0.3.7
python-dateutil        2.8.1
pytz                   2020.4
PyWavelets             1.1.1
pywin32                300
pywinpty               0.5.7
PyYAML                 5.4.1
pyzmq                  20.0.0
requests               2.25.0
requests-oauthlib      1.3.0
rsa                    4.7.2
scikit-image           0.18.1
scikit-learn           0.24.1
scipy                  1.6.1
seaborn                0.11.1
Send2Trash             1.5.0
setuptools             49.2.1
simplejson             3.17.2
six                    1.15.0
soupsieve              2.2.1
sqlparse               0.4.1
sympy                  1.7
tensorboard            2.4.1
tensorboard-plugin-wit 1.8.0
tensorflow             2.5.0rc0
termcolor              1.1.0
urllib3                1.26.2
w3lib                  1.22.0
wcwidth                0.2.5
webencodings           0.5.1
Werkzeug               1.0.1
wheel                  0.36.2
wrapt                  1.12.1
xlrd                   2.0.1
zope.interface         5.2.0
WARNING: You are using pip version 21.0.1; however, version 21.1.1 is available.
You should consider upgrading via the 'w:\py\py\.idea\python.exe -m pip install --upgrade pip' command.

C:\Users\29328>w:\py\py\.idea\python.exe -m pip install --upgrade pip
Requirement already satisfied: pip in w:\py\py\.idea\lib\site-packages (21.0.1)
Collecting pip
  Downloading pip-21.1.1-py3-none-any.whl (1.5 MB)
     |████████████████████████████████| 1.5 MB 1.1 MB/s
Installing collected packages: pip
  Attempting uninstall: pip
    Found existing installation: pip 21.0.1
    Uninstalling pip-21.0.1:
      Successfully uninstalled pip-21.0.1
Successfully installed pip-21.1.1

C:\Users\29328>

参考链接:https://blog.csdn.net/qiao1025566574/article/details/81037908
在这里插入图片描述
在这里插入图片描述
其他的可能还会有一些后续问题,读者给出的8种情况,可能都不在其中,具体的其他因素,还有待进一步研究。。呃呃

更多推荐