运维日志您现在的位置是:首页 > 博客日志 > 运维日志

ERROR: No matching distribution found for peft==0.3.0dev

<a href='mailto:'>微wx笑</a>的头像微wx笑 2023-06-18运维日志 0 0关键字:   

安装项目 https://github.com/ivu4e/Chinese-LLaMA-Alpaca 时遇到以下错误:ERROR: Could not find a version that satisfies the requirement peft==0.3.0dev (from version

安装项目 https://github.com/ivu4e/Chinese-LLaMA-Alpaca 时遇到以下错误:
34r无知

ERROR: Could not find a version that satisfies the requirement peft==0.3.0dev (from versions: 0.0.1, 0.0.2, 0.1.0, 0.2.0, 0.3.0)34r无知

ERROR: No matching distribution found for peft==0.3.0dev34r无知


34r无知

然后去下载项目源码安装: https://github.com/ivu4e/peft 34r无知

pip install . -i https://mirrors.aliyun.com/pypi/simple/

安装完成之后,发现版本是 0.4.0dev,比依赖的版本还高了,于是直接修改了依赖文件34r无知


34r无知

安装过程还遇到以下问题:34r无知

Installing collected packages: sentencepiece, torch, transformers34r无知

  Attempting uninstall: torch34r无知

    Found existing installation: torch 2.0.134r无知

    Uninstalling torch-2.0.1:34r无知

      Successfully uninstalled torch-2.0.134r无知

  Attempting uninstall: transformers34r无知

    Found existing installation: transformers 4.30.234r无知

    Uninstalling transformers-4.30.2:34r无知

      Successfully uninstalled transformers-4.30.234r无知

ERROR: pip's dependency resolver does not currently take into account all the pa34r无知

ckages that are installed. This behaviour is the source of the following depende34r无知

ncy conflicts.34r无知

torchaudio 2.0.2 requires torch==2.0.1, but you have torch 1.13.1 which is incom34r无知

patible.34r无知

torchvision 0.15.2 requires torch==2.0.1, but you have torch 1.13.1 which is inc34r无知

ompatible.34r无知

有些版本存在冲突,被卸载了。34r无知

本文由 微wx笑 创作,采用 署名-非商业性使用-相同方式共享 4.0 许可协议,转载请附上原文出处链接及本声明。
原文链接:https://www.ivu4e.cn/blog/service/2023-06-18/1920.html

很赞哦! () 有话说 ()

相关文章