callmedougan

installing jumpcutter

Mar 25th, 2020
192
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.28 KB | None | 0 0
  1. python -m pip install --upgrade pip setuptools wheel
  2.  
  3. https://www.youtube.com/watch?v=DQ8orIurGxw
  4. https://github.com/carykh/jumpcutter
  5.  
  6.  
  7. pip install -r requirements.txt
  8.  
  9. python jumpcutter -h
  10.  
  11.  
  12. C:\python\jumpcutter-master>python jumpcutter
  13. python: can't open file 'jumpcutter': [Errno 2] No such file or directory
  14.  
  15. C:\python\moviepy-master>python -m pip install --user jumpcutter
  16. ERROR: Could not find a version that satisfies the requirement jumpcutter (from versions: none)
  17. ERROR: No matching distribution found for jumpcutter
  18.  
  19. ~~
  20.  
  21. C:\python\jumpcutter-master>python
  22. Python 3.8.2 (tags/v3.8.2:7b3ab59, Feb 25 2020, 23:03:10) [MSC v.1916 64 bit (AMD64)] on win32
  23. Type "help", "copyright", "credits" or "license" for more information.
  24. >>> from jumpcutter import *
  25. Traceback (most recent call last):
  26. File "<stdin>", line 1, in <module>
  27. File "C:\python\jumpcutter-master\jumpcutter.py", line 13, in <module>
  28. from pytube import YouTube
  29. File "C:\Users\Andrew\AppData\Roaming\Python\Python38\site-packages\pytube\__init__.py", line 16, in <module>
  30. from pytube.streams import Stream
  31. File "C:\Users\Andrew\AppData\Roaming\Python\Python38\site-packages\pytube\streams.py", line 17, in <module>
  32. from pytube import extract
  33. File "C:\Users\Andrew\AppData\Roaming\Python\Python38\site-packages\pytube\extract.py", line 7, in <module>
  34. from pytube.compat import quote
  35. ImportError: cannot import name 'quote' from 'pytube.compat' (C:\Users\Andrew\AppData\Roaming\Python\Python38\site-packages\pytube\compat.py)
  36. >>> exit()
  37.  
  38. also happens when loading direct
  39. python jumpcutter.py -h
  40.  
  41.  
  42. EDIT
  43. 2020.3.29 i added the "3" to try & make python accept pytube3 instead of pytube - apparently pytube has been depreciated - but no luck
  44. followed another bit of advise to just "comment (#) out" the import from pytube line
  45. ie " #from pytube3 import YouTube
  46. and it works
  47.  
  48.  
  49. EDITT
  50.  
  51. or kind of - used the MIT lecture
  52.  
  53. Traceback (most recent call last):
  54. File "jumpcutter.py", line 166, in <module>
  55. outputAudioData = np.concatenate((outputAudioData,alteredAudioData/maxAudioVolume))
  56. File "<__array_function__ internals>", line 5, in concatenate
  57. MemoryError: Unable to allocate 211. MiB for an array with shape (13805568, 2) and data type float64
  58.  
  59. testing with a shorter video file
Advertisement
Add Comment
Please, Sign In to add comment