Skip to content
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

Python not found #16503

Closed
jacobacci opened this issue May 20, 2018 · 5 comments
Closed

Python not found #16503

jacobacci opened this issue May 20, 2018 · 5 comments
Labels

Comments

@jacobacci
Copy link

@jacobacci jacobacci commented May 20, 2018

Please follow the guide below

  • You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
  • Put an x into all the boxes [ ] relevant to your issue (like this: [x])
  • Use the Preview tab to see what your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2018.05.18. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.

  • [X I've verified and I assure that I'm running youtube-dl 2018.05.18

Before submitting an issue make sure you have:

  • [ X] At least skimmed through the README, most notably the FAQ and BUGS sections
  • [X ] Searched the bugtracker for similar issues including closed ones
  • Checked that provided video/audio/playlist URLs (if any) are alive and playable in a browser

What is the purpose of your issue?

  • [X ] Bug report (encountered problems with youtube-dl)
  • Site support request (request for adding support for a new site)
  • Feature request (request for a new functionality)
  • Question
  • Other

Please bear with me, if I am not filing this bug report correctly. I am an Ubuntu noob.

I have done a clean install of 18.04 LTS. I then installed youtube-dl using

sudo wget https://yt-dl.org/downloads/latest/youtube-dl -O /usr/local/bin/youtube-dl
sudo chmod a+rx /usr/local/bin/youtube-dl

When I try to use youtube-dl, I get the following error message:

rudolffischer@HP8770w:~$ youtube-dl -U
/usr/bin/env: ‘python’: No such file or directory

Python 3 seems to be installed

rudolffischer@HP8770w:~$ python3
Python 3.6.5 (default, Apr 1 2018, 05:46:30)
[GCC 7.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.

I thought youtube-dl is supposed to run with Python3.2+.
Thanks for any help.
Rudi

@Hrxn
Copy link

@Hrxn Hrxn commented May 20, 2018

What happens if you try which python?

(And also which python3 for completeness)

@jacobacci
Copy link
Author

@jacobacci jacobacci commented May 20, 2018

@dstftw
Copy link
Collaborator

@dstftw dstftw commented May 20, 2018

Obviously your python configuration is broken. Nothing to do with youtube-dl.

@dstftw dstftw closed this May 20, 2018
@dstftw dstftw added the invalid label May 20, 2018
@jacobacci
Copy link
Author

@jacobacci jacobacci commented May 20, 2018

@dstftw
Copy link
Collaborator

@dstftw dstftw commented May 20, 2018

Again: your configuration is broken. Python must be available as python that is defined in __main__.py's shebang. This does not work on your setup.

@ytdl-org ytdl-org locked as resolved and limited conversation to collaborators May 20, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.