Error csv to record

When I run:
python scripts/generate_tfrecord_n.py --image_path_input=images/train --csv_input=data/train_labels.csv --output_path=data/train.tfrecord --output_path_names=data/train_new_names.names
It appears:
Traceback (most recent call last):
File “scripts/generate_tfrecord_n.py”, line 19, in
import tqdm
ImportError: No module named tqdm

How can I fix the error?

lease check that you have done this:

cd ~/catkin_ws/src/my_catkin_ws_python3
source ~/.py3venv/bin/activate
source /home/user/.catkin_ws_python3/devel/setup.bash
catkin_make -DPYTHON_EXECUTABLE:FILEPATH=/home/user/.py3venv/bin/python
source devel/setup.bash
rospack profile