Open oscarwooberry opened 1 year ago
I had exactly the same issue. I fixed it, adding the following one line to the top of ch2 notebook. It needs Rust compiler. !apt install cargo
Thanks for the suggested for installing cargo
- I ran into this with Chap 1 also - seems like tokenizers
lib needs Rust to compile its wheel.
Added a potential fix at https://github.com/nlp-with-transformers/notebooks/pull/98
I had exactly the same issue. I fixed it, adding the following one line to the top of ch2 notebook. It needs Rust compiler. !apt install cargo
This worked for me really
Thanks for posting it
You may need to change other requirement versions too. I'd check the requirements.txt and install.py for the specific chapter. For example, this is what worked for me for chapter 2:
!apt install cargo -y
!apt install git-lfs
!pip install transformers==4.13.0 datasets==2.8.0 tokenizers==0.10.3
I am still getting the same error output. Is there any other work that needs to be done besides adding it to the first line? I envy you all 😢.
As you have answered in other issues, the chapter 2 NOTEBOOK is completed successfully.
Information
The problem arises in chapter:
Describe the bug
The notebook used to work fine until this week. I can't install the base requirements and keep pop up this error for all chapters.
To Reproduce
Steps to reproduce the behavior:
1. 2. 3.
Expected behavior