carykh / jumpcutter

Automatically edits vidx. Explanation here: https://www.youtube.com/watch?v=DQ8orIurGxw
MIT License
3.08k stars 541 forks source link

Error: no module named PIL #209

Open igorteuri opened 2 years ago

igorteuri commented 2 years ago

Hello!

I'm getting this error: Traceback (most recent call last): File "D:\Repositórios\jumpcutter-gui\jumpcutter.py", line 1, in <module> from PIL import Image ModuleNotFoundError: No module named 'PIL' Error! .jumpcutterdone was not found

Is it a bug or I did something wrong while installing?

John-Henrique commented 2 years ago

Voce precisa instalar as dependencias do programa. Faça assim... acesse a pasta onde esta o arquivo requirements.txt e execute estes comandos:

pip install -U Pillow; 
pip install -U audiotsm; 
pip install -U scipy; 
pip install -U numpy; 
pip install -U pytube; 

Agora tudo deve estar funcioando.

GiggyMantis commented 2 years ago

I am also having this issue, in English. Traceback (most recent call last): File "jumpcutter.py", line 2, in <module> from PIL import Image ModuleNotFoundError: No module named 'PIL'

pabloab commented 1 year ago

Might be a noob problem, but even installing dependencies with pip install -r requirements.txt I still get ModuleNotFoundError: No module named 'audiotsm', so I just went the pipx install jumpcutter way. Then:

time ionice -c idle nice -n 19 jumpcutter --input "myvideo.mp4" --output "myvideo-$(date -I).mp4"