开发者社区 > ModelScope模型即服务 > 正文

无法导入modelscope,已经pip install成功

File "/Users/lruan/workspace/llm/modelscope.py", line 2, in
from modelscope.hub.snapshot_download import snapshot_download
ModuleNotFoundError: No module named 'modelscope.hub'; 'modelscope' is not a package


modelscope安装信息

pip show modelscope
Name: modelscope
Version: 1.15.0
Summary: ModelScope: bring the notion of Model-as-a-Service to life.
Home-page: https://github.com/modelscope/modelscope
Author: ModelScope team
Author-email: contact@modelscope.cn
License: Apache License 2.0
Location: /usr/local/lib/python3.9/site-packages
Requires: addict, attrs, datasets, einops, filelock, gast, huggingface-hub, numpy, oss2, pandas, Pillow, pyarrow, python-dateutil, pyyaml, requests, scipy, setuptools, simplejson, sortedcontainers, tqdm, urllib3, yapf
Required-by:

展开
收起
游客p7kbbp4i4mxiu 2024-06-06 12:05:46 194 0
0 条回答
写回答
取消 提交回答

ModelScope旨在打造下一代开源的模型即服务共享平台,为泛AI开发者提供灵活、易用、低成本的一站式模型服务产品,让模型应用更简单!欢迎加入技术交流群:微信公众号:魔搭ModelScope社区,钉钉群号:44837352

相关电子书

更多
视觉AI能力的开放现状及ModelScope实战 立即下载
ModelScope助力语音AI模型创新与应用 立即下载
低代码开发师(初级)实战教程 立即下载