Monday, August 8, 2022

[how to] solve error: error: subprocess-exited-with-error Building wheel for tokenizers (pyproject.toml) did not run successfully. exit code: 1 [166 lines of output]

 .

Error:

During installation of transformers=3.0.2 i.e. !pip install transformers==3.0.2 the following error were displayed:

  error: subprocess-exited-with-error
  
  Building wheel for tokenizers (pyproject.toml) did not run successfully.
  exit code: 1
  
  [166 lines of output]


Solution:

remove the version number i.e.
!pip install transformers

No comments: