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

brew install failing #32982

Closed
MtnBiker opened this issue Nov 27, 2024 · 9 comments
Closed

brew install failing #32982

MtnBiker opened this issue Nov 27, 2024 · 9 comments

Comments

@MtnBiker
Copy link

➜ brew install youtube-dl
Error: youtube-dl has been disabled because it has a failing test since forever and no new release since 2021! It was disabled on 2024-11-23.

@dirkf
Copy link
Contributor

dirkf commented Nov 27, 2024

Obvs, ignore brew and

  • install using pip or pip3 from the nightly repo (of which you will be aware since you read READ THIS BEFORE OPENING A NEW ISSUE! THIS MEANS YOU! #30839, as asked), or
  • just use the POSIX single file version from the nightly repo after ensuring that you have a Python >= 2.6 (admittedly quite untested in 3.13) that will be found with /usr/bin/env python: eg, make a link named python in the PATH to a previously installed or system-provided python3 executable, bearing in mind that 3.9 is now the lowest version supported by the Python S/w Foundation.

@Isarhamster
Copy link

In this case you should update the installation instructions as this clearly states - use homebrew!
Usually, pip simply leads to an error:
-bash: pip: command not found
So the recommended solution should be downloading the executable directly from Latest Nightly

@dcast0607
Copy link

This worked for me.

@dirkf
Copy link
Contributor

dirkf commented Dec 1, 2024

A solution that installs yt-dlp, not a bad thing in itself, would not help OP who wanted to install youtube_dl, or would not have posted here.

If you don't have a pip or pip3 command in your Python environment, take it up with the supplier of that environment. Some packagers take the view that PyPi is a competitive and potentially conflicting package system and so disable it, even after Python added a pip installation to the default installation.

How did you get on, @MtnBiker ?

@MtnBiker
Copy link
Author

MtnBiker commented Dec 1, 2024

I don't have frequent enough need for a downloader, so for now will live with the ads. I fight enough computer problems and python isn't something I've used much; so this is a battle I'll pass on. But thanks for trying to help.

@Isarhamster
Copy link

I had to resort to yt-dlp, as after

  • Downloading youtube_dl
  • ln -s /usr/local/bin/python3 /usr/local/bin/python
  • brew install ffmpeg
  • spctl --assess /usr/local/bin/ffmpeg
  • Then going to System Settings -> Security -> Assessing ffmpeg as ok
  • Downloading an arbitrary file from youtube I only got
  • Got server HTTP error: HTTP Error 403: Forbidden. Retrying ...
    whereas yt-dlp didn't have any issue.

@dirkf
Copy link
Contributor

dirkf commented Dec 1, 2024

No doubt you hit #32905.

@dirkf dirkf closed this as completed Dec 1, 2024
@dirkf
Copy link
Contributor

dirkf commented Dec 2, 2024

If OP had installed yt-dl, those look like the necessary steps starting from scratch. The spctl --assess command is a useful hint for anyone with a Mac who hasn't wiped the overbearing OS. From its man page, you can apparently just run spctl --add --label ytdl program_path to white-list each program needed for yt-dl.

spctl --disable --label "Mac App Store" is an interesting example command.

@shellscape
Copy link

I'm just surprised y'all haven't worked out the install instructions. The issues here are a minefield of failure reports, and the instructions on the README don't work for most folks without bypassing SSL. Whew.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants