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
import paddlehub as hub
File "D:\SoftWares\python\pyhton3.9.12\install\lib\site-packages\paddlehub\__init__.py", line 22, in
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.com/simple/ --trusted-host pypi.douban.com