D:\SoftWares\python\pyhton3.9.12\install\python.exe D:/PythonProjects/maskidentification.py
Traceback (most recent call last):
  File "D:\PythonProjects\maskidentification.py", line 1, in <module>
    import paddlehub as hub
  File "D:\SoftWares\python\pyhton3.9.12\install\lib\site-packages\paddlehub\__init__.py", line 22, in <module>
    raise RuntimeError(
RuntimeError: Version mismatch in PaddleHub and PaddlePaddle, you need to upgrade PaddlePaddle to version 2.0.0 or above.

Process finished with exit code 1

解决方式:

py -3.9 -m pip install -U PaddlePaddle==2.3.2 -i http://pypi.douban/simple/ --trusted-host pypi.douban

更多推荐

python使用paddlehub报错(版本过低)