LibTerm
LibTerm copied to clipboard
Python module youtube-dL does not work
Youtube-dL does not work because if it is run with arguments, then you always get sigabrt signal. Perhaps this problem occurs because of the presence of c code. If so, could you implement this module into the app?
It's not possible to run C extensions in LibTerm
youtube-dl does run, and doesn't need any C (more than was in the Python build).
The portable installation isn't as portable as necessary because it has this
#!/usr/bin/env python
and that fails to work because, presumably, of how LibTerm runs python (ie, there isn't actually a python
or python3
binary on the PATH
).
Instead, use python youtube-dl args...
Other issues suggest that python -m pip youtube-dl
should work but I don't know if that provides a runnable youtube-dl command.
Obvs I meant python -m pip install youtube-dl
and that does work. You don't get a youtube-dl
command, but python -m pip list
shows the youtube_dl
module, and python -m youtube_dl
runs youtube-dl.
This would also apply s/youtube(-|_)dl/yt\1dlp/g
.