Open someziggyman opened 3 years ago
Are there still systems that don't have Python3?
Why not make it so, that youtube-dlc first tries with Python3 and if that fails; only than use Python2 and throw an informative error message in case something fails? (it has never failed here with Python3)
On the newest Linux systems Python2 isn't even installed any more by default, so you have to e.g. use an alias like:
alias youtube-dlc='python3 /usr/local/bin/youtube-dlc'
for it to not throw the error:
/usr/bin/env: ‘python’: No such file or directory
I've seen several people with this issue on different forums...
Are there still systems that don't have Python3?
Why not make it so, that youtube-dlc first tries with Python3 and if that fails; only than use Python2 and throw an informative error message in case something fails? (it has never failed here with Python3)
On the newest Linux systems Python2 isn't even installed any more by default, so you have to e.g. use an alias like:
alias youtube-dlc='python3 /usr/local/bin/youtube-dlc'
for it to not throw the error:/usr/bin/env: ‘python’: No such file or directory
I've seen several people with this issue on different forums...
All MacOS versions come with Python 2.7 out of the box. Installing Python 3 is another step that many new folks may find cumbersome and confusing.
All MacOS versions come with Python 2.7 out of the box.
Ah..., didn't know that. Strange... So MacOS doesn't even use the latest and greatest? ;)
Guess they have to learn to live with limited functionality.
All MacOS versions come with Python 2.7 out of the box. Installing Python 3 is another step that many new folks may find cumbersome and confusing.
"You should upgrade to Python 3 as soon as you can." https://www.python.org/doc/sunset-python-2/
Seriously, don't expect support for EOL software. Some ready-to-merge PR might might get merged, yeah. The interesting question for me is, if apple even cares to back-port security fixes. Guess not.
I would recommend to stop supporting python 2. It has caused decades of headaches to the community and we have to draw a line somewhere. For more information please see: https://python3statement.org/ https://pythonclock.org/ If enough projects drop support for python 2, pressure will add up to force stragglers to update.
Are there still systems that don't have Python3? Why not make it so, that youtube-dlc first tries with Python3 and if that fails; only than use Python2 and throw an informative error message in case something fails? (it has never failed here with Python3) On the newest Linux systems Python2 isn't even installed any more by default, so you have to e.g. use an alias like:
alias youtube-dlc='python3 /usr/local/bin/youtube-dlc'
for it to not throw the error:/usr/bin/env: ‘python’: No such file or directory
I've seen several people with this issue on different forums...All MacOS versions come with Python 2.7 out of the box. Installing Python 3 is another step that many new folks may find cumbersome and confusing.
Ports etc etc have python3. Let PYthon 2 die. Kill it if you have to.
Checklist
Verbose log
Description
This issue was described here https://github.com/blackjack4494/yt-dlc/issues/175#issuecomment-725942303 and --cookies option now works only on Python3.
Test link: https://www.youtube.com/watch?v=XgnwCQzjau8