# NLTK Failed at Download "punkt"
> Author: Junner
> Date: 12/2/2024
When your using python, needs to import nltk packages, and the line `nltk.download('punkt')` always failed when downloading it:
>E LookupError:
E **********************************************************************
E Resource punkt not found.
E Please use the NLTK Downloader to obtain the resource:
E
E >>> import nltk
E >>> nltk.download('punkt')
The way to avoid it is by running the command below directly in prompt:
```
echo -e "import nltk\nnltk.download('punkt')" | python3
```
So do other packages.
---
>> Method provided from: https://stackoverflow.com/questions/62230139/github-actions-fails-when-nltk-punkt-is-needed