Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- python -m pip install --upgrade pip setuptools wheel
- https://www.youtube.com/watch?v=DQ8orIurGxw
- https://github.com/carykh/jumpcutter
- pip install -r requirements.txt
- python jumpcutter -h
- C:\python\jumpcutter-master>python jumpcutter
- python: can't open file 'jumpcutter': [Errno 2] No such file or directory
- C:\python\moviepy-master>python -m pip install --user jumpcutter
- ERROR: Could not find a version that satisfies the requirement jumpcutter (from versions: none)
- ERROR: No matching distribution found for jumpcutter
- ~~
- C:\python\jumpcutter-master>python
- Python 3.8.2 (tags/v3.8.2:7b3ab59, Feb 25 2020, 23:03:10) [MSC v.1916 64 bit (AMD64)] on win32
- Type "help", "copyright", "credits" or "license" for more information.
- >>> from jumpcutter import *
- Traceback (most recent call last):
- File "<stdin>", line 1, in <module>
- File "C:\python\jumpcutter-master\jumpcutter.py", line 13, in <module>
- from pytube import YouTube
- File "C:\Users\Andrew\AppData\Roaming\Python\Python38\site-packages\pytube\__init__.py", line 16, in <module>
- from pytube.streams import Stream
- File "C:\Users\Andrew\AppData\Roaming\Python\Python38\site-packages\pytube\streams.py", line 17, in <module>
- from pytube import extract
- File "C:\Users\Andrew\AppData\Roaming\Python\Python38\site-packages\pytube\extract.py", line 7, in <module>
- from pytube.compat import quote
- ImportError: cannot import name 'quote' from 'pytube.compat' (C:\Users\Andrew\AppData\Roaming\Python\Python38\site-packages\pytube\compat.py)
- >>> exit()
- also happens when loading direct
- python jumpcutter.py -h
- EDIT
- 2020.3.29 i added the "3" to try & make python accept pytube3 instead of pytube - apparently pytube has been depreciated - but no luck
- followed another bit of advise to just "comment (#) out" the import from pytube line
- ie " #from pytube3 import YouTube
- and it works
- EDITT
- or kind of - used the MIT lecture
- Traceback (most recent call last):
- File "jumpcutter.py", line 166, in <module>
- outputAudioData = np.concatenate((outputAudioData,alteredAudioData/maxAudioVolume))
- File "<__array_function__ internals>", line 5, in concatenate
- MemoryError: Unable to allocate 211. MiB for an array with shape (13805568, 2) and data type float64
- testing with a shorter video file
Advertisement
Add Comment
Please, Sign In to add comment