LaWGPT
LaWGPT copied to clipboard
卡在pip install -r requirements.txt
(lawgpt) C:\Users\123456\LaWGPT>pip install -r requirements.txt Collecting git+https://github.com/huggingface/peft.git@e536616888d51b453ed354a6f1e243fecb02ea08 (from -r requirements.tx t (line 8)) Cloning https://github.com/huggingface/peft.git (to revision e536616888d51b453ed354a6f1e243fecb02ea08) to c:\users\123456\appdata\local\temp\pip-req-build-mifewk6q Running command git clone --filter=blob:none --quiet https://github.com/huggingface/peft.git 'C:\Users\123456\AppData\Local\Temp\pip-req-build-mifewk6q' fatal: unable to access 'https://github.com/huggingface/peft.git/': Failed to connect to github.com port 443 after 210 59 ms: Couldn't connect to server error: subprocess-exited-with-error
× git clone --filter=blob:none --quiet https://github.com/huggingface/peft.git 'C:\Users\123456\AppData
Local\Temp\pip-req-build-mifewk6q' did not run successfully.
│ exit code: 128
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error
× git clone --filter=blob:none --quiet https://github.com/huggingface/peft.git 'C:\Users\123456\AppData\Lo cal\Temp\pip-req-build-mifewk6q' did not run successfully. │ exit code: 128 ╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip. 请问大佬怎么解决,谢谢。
国内网络环境问题。你可以把requirements.txt里面的github.com替换成kgithub.com(这是一个github镜像网站)
还真是,网络环境,换成了kgithub.com就解决了。感谢楼上的朋友
[卡在pip install -r requirements.txt] (lawgpt) C:\Users\win>pip install -r requirements.txt ERROR: Could not open requirements file: [Errno 2] No such file or directory: 'requirements.txt' 请教大佬如何解决?
你这是目录不对,不是lawgpt包所在的目录,把目录改一下应该就行了
多谢多谢发自我的iPhone------------------ 原始邮件 ------------------发件人: YoungZhao2001 @.>发送时间: 2024年1月3日 15:50收件人: pengxiao-song/LaWGPT @.>抄送: githubume @.>, Comment @.>主题: Re: [pengxiao-song/LaWGPT] 卡在pip install -r requirements.txt (Issue #115) 你这是目录不对,不是lawgpt包所在的目录,把目录改一下应该就行了
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.> [ { @.": "http://schema.org", @.": "EmailMessage", "potentialAction": { @.": "ViewAction", "target": "https://github.com/pengxiao-song/LaWGPT/issues/115#issuecomment-1874966442", "url": "https://github.com/pengxiao-song/LaWGPT/issues/115#issuecomment-1874966442", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { @.***": "Organization", "name": "GitHub", "url": "https://github.com" } } ]