jumpcutter icon indicating copy to clipboard operation
jumpcutter copied to clipboard

Error when trying to run jumpcutter.py

Open Rigter1 opened this issue 4 years ago • 7 comments

So, whenever I try to do the: C:\Users\MY_NAME\AppData\Local\Programs\Python\Python37\python.exe jumpcutter.py --input_file input.mp4 command, it just comes up with the error: ImportError: cannot import name 'quote' from 'pytube.compat' (C:\Users\MY_NAME\AppData\Local\Programs\Python\Python37\lib\site-packages\pytube\compat.py). I've done everything like installing ffmpeg and python and stuff, but im just confused about what I do afterwards. If you can explain, please do it in a simple way, because I'm not the best with techincal stuff like coding. I just wanted to try and use this tool for fun to see what I could do.

Rigter1 avatar Apr 02 '20 17:04 Rigter1

try installing pytube3 pip install pytube3

SlayTheVirus avatar Apr 02 '20 18:04 SlayTheVirus

try installing pytube3 pip install pytube3

what is "pip"?

Rigter1 avatar Apr 02 '20 18:04 Rigter1

@Rigter1 For someone who doesn't code imagine pip like an AppStore for coders.... it just holds a bunch of modules/code/apps for coders to use within their projects. Do you have pip installed? If not open cmd and run this (line by line):

mkdir ~\Desktop\pip-folder
cd ~\Desktop\pip-folder
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
python get-pip.py

(feel free to delete the folder on you desktop when done)

Edit: run this line-by-line in PowerShell if you need to install pip. This way will put the pip installer somewhere you can delete when done.

Dreiparrent avatar Apr 02 '20 19:04 Dreiparrent

mkdir ~\Desktop\pip-folder
cd ~\Desktop\pip-folder
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
python get-pip.py

This will not work on Windows, instead you can follow the instructions on the official website of pip. https://pip.pypa.io/en/stable/installing/

davidoskky avatar Apr 02 '20 21:04 davidoskky

@davidoskky I tried this in PowerShell before posting? That code is what the website says.

Dreiparrent avatar Apr 02 '20 22:04 Dreiparrent

Sure, on powershell it does work; but since this is a question coming from someone who knows nothing about it, and who might not know the difference between cmd and powershell, I think the original documentation is a better way to get information.

davidoskky avatar Apr 02 '20 22:04 davidoskky

My bad. I don’t use cmd often enough to tell what it can’t do.

Dreiparrent avatar Apr 02 '20 22:04 Dreiparrent