PaddlePaddle / PaddleHub

Awesome pre-trained models toolkit based on PaddlePaddle. (400+ models including Image, Text, Audio, Video and Cross-Modal with Easy Inference & Serving)【安全加固,暂停交互,请耐心等待】
https://www.paddlepaddle.org.cn/hub
Apache License 2.0
12.68k stars 2.08k forks source link

python 3.9版本和3.8版本安装最新版本paddleHub一直提示包冲突,降级为3.7版本后安装paddlehub==2.1.0和paddle为2.4.2版本又提示另一个包冲突 #2299

Closed 736048546 closed 1 year ago

736048546 commented 1 year ago

1694468953101

请问现在能跑的版本是多少呢

736048546 commented 1 year ago

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. paddlepaddle 2.4.0 requires protobuf<=3.20.0,>=3.1.0, but you have protobuf 3.20.2 which is incompatible.

python 3.7 paddle=3.4.0 paddlehub=2.3.0 出现该错误

rainyfly commented 1 year ago

可以试试 python3.8版本,安装最新的paddlehub 2.4.0 conda create -n py38 python==3.8 conda activate py38 python -m pip install paddlepaddle-gpu==2.5.1 -i https://pypi.tuna.tsinghua.edu.cn/simple pip install paddlehub==2.4.0

736048546 commented 1 year ago

嗯嗯 你好 谢谢 用你发的版本已经可以部署成功了