I’m doing a NLP project on vscode " amazon reviews sentiment analyzer" every thing is going ok until I reached the part for importing transformers
when I’m installing transformers from pip Im getting this error :
error: subprocess-exited-with-error
× Preparing metadata (pyproject.toml) did not run successfully.
I tried downloading rust and cargo and it didn’t work
I’m sure its in the environment variable It the first time I do NLTK project .
2
Answers
You can read document about how to install this package.
You will need to install at least one of Flax, PyTorch, or TensorFlow.
When one of those backends has been installed, Transformers can be installed using pip as follows:
Make sure you have Rust and Cargo installed. If installed, check your PATH environment variables to ensure it includes path to Rust and Cargo