-
Notifications
You must be signed in to change notification settings - Fork 9.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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_PYTHON
environment variable to3
(i.e. py.exe should run Python 3 by default, unless specified to run Python 2).py.exe --version
gives 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-SP1
message. 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.The text was updated successfully, but these errors were encountered: