for transformers, pip install transformers==4.6.1 works, no cargo install, see this post.
transformers
pip install transformers==4.6.1
cargo