huggingface / transformers

🤗 Transformers: State-of-the-art Machine Learning for Pytorch, TensorFlow, and JAX.
https://huggingface.co/transformers
Apache License 2.0
134.71k stars 26.94k forks source link

How to install transformers==4.45, two or three days I can install successfully, but today cannot. #33343

Closed HyacinthJingjing closed 3 weeks ago

HyacinthJingjing commented 2 months ago

System Info

torch2.2

Who can help?

No response

Information

Tasks

Reproduction

pip install git+https://github.com/huggingface/transformers.git

Expected behavior

How to install the latest transformers

vasqu commented 2 months ago

Maybe try using upgrade/reinstall flags, i.e. pip install --upgrade git+https://github.com/huggingface/transformers.git or pip install --force-reinstall git+https://github.com/huggingface/transformers.git.

Could you share what error messages/stack trace you get in case it doesn't work? Maybe you don't have git installed on your system?

LysandreJik commented 2 months ago

Thanks @vasqu for the help! @HyacinthJingjing what is the error you're running into?

github-actions[bot] commented 1 month ago

This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.

Please note that issues that do not follow the contributing guidelines are likely to be ignored.