79328299

Date: 2025-01-04 05:28:24
Score: 1
Natty:
Report link

I was getting the same error while installing The transformers Library From hugginface, Specifically while installing flax and tensor flow

i Found a Solution To my problem, Leaving it here in case Anyone Else gets Stuck on this.

pip install 'transformers[tf-cpu]'

pip install 'transformers[flax]' (these commands are given on hugginface transformers installation page)

i tried multiple things but nothing i saw on the internet Worked.

then out of Frustration i installed Flax and TF(Tensor-Flow) like normal commands inside a virtual python Env,

pip install tf

pip install flax

and they Worked.

maybe this will help someone.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Praful pandey