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.74k stars 2.07k forks source link

安装paddlehub时提示No matching distribution found for starlette<0.28.0,>=0.27.0 #2263

Closed benshiqingdengbuguike closed 7 months ago

benshiqingdengbuguike commented 1 year ago

执行安装paddlehub时提示No matching distribution found for starlette<0.28.0,>=0.27.0 执行命令:pip install --upgrade paddlehub -i https://mirror.baidu.com/pypi/simple PaddlePaddle版本:2.4.2,尝试过指定paddlehub和PaddlePaddle版本,还是会报这个错误 操作系统:windows,linux,docker 。python版本:3.7.9 复现环境:docker 复现步骤: FROM paddlepaddle/paddle:2.4.2 RUN pip install --upgrade paddlehub -i https://mirror.baidu.com/pypi/simple ... 报错信息: image 烦请帮忙看下是不是我的环境配置有问题导致的

halay commented 1 year ago

和我一样 ERROR: No matching distribution found for starlette<0.28.0,>=0.27.0

halay commented 1 year ago

换成 pip install --upgrade paddlehub -i https://pypi.tuna.tsinghua.edu.cn/simple ,换个镜像地址

sijunhe commented 7 months ago

应该是原有的镜像地址 https://mirror.baidu.com/pypi/simple 没有更新。按照楼上说的切换镜像地址应该就可以解决