You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
from transformers import cached_path
ImportError: cannot import name 'cached_path' from 'transformers' (/root/anaconda3/envs/transformers/lib/python3.10/site-packages/transformers/init.py)
The text was updated successfully, but these errors were encountered:
Hello. I have the same problem. when I want to install transformers==2.5.1
this error happens:
Building wheels for collected packages: tokenizers
error: subprocess-exited-with-error
× Building wheel for tokenizers (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
Building wheel for tokenizers (pyproject.toml) ... error
ERROR: Failed building wheel for tokenizers
Failed to build tokenizers
ERROR: Could not build wheels for tokenizers, which is required to install pyproject.toml-based projects
from transformers import cached_path
ImportError: cannot import name 'cached_path' from 'transformers' (/root/anaconda3/envs/transformers/lib/python3.10/site-packages/transformers/init.py)
The text was updated successfully, but these errors were encountered: