Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Configuring youtube-dl to use Python 3.4 instead of 2.7 #5193
Comments
|
I guess that you are using the youtube-dl.exe version, that file is built with py2exe and includes its own copy of the python 2.7 interpreter and as far as I know there's no easy way to make it use python 3. If you have a normal python 3.4 installation you can just run |
|
@jaimeMF That worked. Thank you. |
|
Or, if you're still using Ubuntu 14.4 where Python 2 is still predominant, you can run this:
|
|
orena@lorena-To-be-filled-by-O-E-M:~$ pip3 install --upgrade youtube-dl pip3 install --upgrade youtube-dl |
|
Hello not working :'( |
I have both Python 3.4 and Python 2.7 installed (both are the 64-bit versions on Windows 7). I've already set the
PY_PYTHONenvironment variable to3(i.e. py.exe should run Python 3 by default, unless specified to run Python 2).py.exe --versiongives an output ofPython 3.4.3.However, when I run youtube-dl, I get a
[debug] Python version 2.7.8 - Windows-7-6.1.7601-SP1message. The reason I would like to use Python 3 is to get around the bug where output filenames have non-ASCII, Unicode characters stripped, which happens in Python 2.