AlphaSlayer1964 / kemono-dl

A simple kemono.party downloader using python.
504 stars 81 forks source link

ModuleNotFoundError: No module named 'PIL' #94

Closed Sohzph closed 2 years ago

Sohzph commented 2 years ago

I installed the requirements with pip install -r requirements.txt all done correctly, but then I get this error when trying to download.

Traceback (most recent call last):
  File "D:\kemono-dl-2022.04.18.1\kemono-dl.py", line 1, in <module>
    from src.main import main
  File "D:\kemono-dl-2022.04.18.1\src\main.py", line 8, in <module>
    from PIL import Image
ModuleNotFoundError: No module named 'PIL'

How to fix this?

PS: I already used this a week ago and had no problems, I had the latest version of Python 3 installed. Yesterday I did a new Windows installation, installed the latest version of Python 3 and get this error.

Sohzph commented 2 years ago

Solved by installing:

 pip install pillow 
 pip install image 
AlphaSlayer1964 commented 2 years ago

pip install image should not be required.