Error to import transformers[torch] or accelerate -U

Hi, I run my code in G colab. When I use TrainingArguments, it shows

“ImportError: Using the Trainer with PyTorch requires accelerate>=0.21.0: Please run pip install transformers[torch] or pip install accelerate -U”.

After installation, I tried to import them using syntax below

import transformers[torch]
import accelerate -U

The error message below popped up. Do someone know how to fix it? Thanks!