-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ERROR: Could not build wheels for safetensors, which is required to install pyproject.toml-based projects[BUG] <title> #210
Comments
我也遇到这种情况,楼主有解决方案了吗 |
Check this: huggingface/transformers#2831 Seems that we need a rust compiler to fix the issue. |
If you want to get your feet wet quickly, I've had better luck using hosted services like google collab. It's a bit unfortunate that running these things locally can lead to issues like this. Too many random dependencies. |
Had the same issue and the following code worked well for me: conda install -c conda-forge rust source from: /~https://github.com/huggingface/safetensors |
@aaronysl @CharlexChen @bugsebe Will it work fine if you try the commands @hytting just provided? |
I have resolved |
this worked for me until the last command didn't work, so i tried to change my python version from 3.12 to 3.10 and it worked |
是否已有关于该错误的issue或讨论? | Is there an existing issue / discussion for this?
该问题是否在FAQ中有解答? | Is there an existing answer for this in FAQ?
当前行为 | Current Behavior
pip install -r requirements.txt 报错
期望行为 | Expected Behavior
No response
复现方法 | Steps To Reproduce
No response
运行环境 | Environment
备注 | Anything else?
有没有遇到同样情况的
The text was updated successfully, but these errors were encountered: