Make sure you have the following packages installed:
tqdm requests ebooklib BeautifulSoup Pillow
tqdm
requests
ebooklib
BeautifulSoup
Pillow
epub module