ModelScope魔搭安装不了?WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno -2] 名称或服务未知')': /pypi/simple/modelscope/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno -2] 名称或服务未知')': /pypi/simple/modelscope/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno -2] 名称或服务未知')': /pypi/simple/modelscope/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno -2] 名称或服务未知')': /pypi/simple/modelscope/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno -2] 名称或服务未知')': /pypi/simple/modelscope/
ERROR: Could not find a version that satisfies the requirement modelscope (from versions: none)
ERROR: No matching distribution found for modelscope
你这个是因为要从hf下载模型,但是你的网不通导致的,如果你本地有模型,需要修改参数,您在pip install modelscope后面加个清华源或,
pip config set global.index-url https://mirrors.cloud.aliyuncs.com/pypi/simple
pip config set install.trusted-host mirrors.cloud.aliyuncs.com ,此回答整理自钉群“魔搭ModelScope开发者联盟群 ①”
ModelScope旨在打造下一代开源的模型即服务共享平台,为泛AI开发者提供灵活、易用、低成本的一站式模型服务产品,让模型应用更简单!欢迎加入技术交流群:微信公众号:魔搭ModelScope社区,钉钉群号:44837352