3 ms·
That's because you're using Windows, which is really, really not designed with scripts in mind. Point to Ubuntu in the Microsoft Store. Python is preinstalled.
by r3bl 7y ago
That's because you're using Windows, which is really, really not designed with scripts in mind.
Point to Ubuntu in the Microsoft Store. Python is preinstalled. You may need to install Python's package manager (I'm not sure does it come preinstalled) with "sudo apt install python3-pip". Install it from Python's package manager with "pip3 install youtube-dl".
You could technically skip Python's package manager by just doing "sudo apt install youtube-dl", but updates are slow there, and you really don't want slow updates with this tool ("pip3 install --upgrade youtube-dl"). I'd argue that three commands are way easier to explain than installing two binaries and clicking around far too many times, especially because youtube-dl needs to be updated on a regular basis in order to work properly.
- Mindwipe 7y agoDid you honestly write this down thinking it was remotely any easier?
- r3bl 7y agoThen the alternative? Absolutely. The alternative requires finding the latest version of Python, installing it, modifying the environment path, finding the binary for youtube-dl, installing it, and only then figuring out how it works. "Execute these commands only once and then just type youtube-dl https://example.com https://example.com. If something breaks, run this command to upgrade the script and retry." If the target audience is someone who you think will feel comfortable doing youtube-dl in a terminal, you may as well point them to the total of three other commands to set things up.
- TeMPOraL 7y agoAFAIR youtube-dl had an .exe build, I remember setting it up for my mom; it boiled down to unzipping an archive and telling here to drag URLs onto this icon. And the FFMpeg part; that was a PITA, and something she wouldn't have guessed on her own.
- r3bl 7y ago> Windows exe requires Microsoft Visual C++ 2010 Redistributable Package (x86) and does not require Python that is already embedded into the binary. Yeah, that makes sense. Things have changed since last time I went through that pain.
- davesmith1983 7y agoYou don't have to do any of that nonsense. https://chocolatey.org/packages/youtube-dl https://chocolatey.org/packages/youtube-dl You install choco and add Youtube-dl. Job done. Which is mechanically pretty much the same as the way you install it via brew on a mac. I use Arch Linux and a Mac at home but at work I have to use Windows and I am constantly annoyed by people who never seem to use Windows telling others that it is impossible to do X without having to use some sort of Unix VM / Cygwin or WSL, when it reality is can be very simple.
- davesmith1983 7y agoFunny how I've been using vb, python, perl and bash scripts. Windows for the past 20 years. I suppose that didn't happen? Why do people who use Linux automatically think you cannot use scripts or there are no scripting languages on Windows?