搜索
您的当前位置:首页正文

ModuleNotFoundError: No module named ‘transformers_modules.chatglm2-6b

来源:二三娱乐

ModuleNotFoundError: No module named ‘transformers_modules.chatglm2-6b

    【常见模块错误】

如果出现模块错误

进入控制台输入:建议使用国内镜像源

pip install 模块名称 -i https://mirrors.aliyun.com/pypi/simple

我大致罗列了以下几种国内镜像源:

清华大学
https://pypi.tuna.tsinghua.edu.cn/simple
     
阿里云
https://mirrors.aliyun.com/pypi/simple/
     
豆瓣
https://pypi.douban.com/simple/
     
百度云
https://mirror.baidu.com/pypi/simple/
     
中科大
https://pypi.mirrors.ustc.edu.cn/simple/
     
华为云
https://mirrors.huaweicloud.com/repository/pypi/simple/
     
腾讯云
https://mirrors.cloud.tencent.com/pypi/simple/

【解决方案】

本地路径应该有类似"chatglm-6b-v1.1"这样的,本地路径的文件夹名称里不能有“.”

因篇幅问题不能全部显示,请点此查看更多更全内容

Top