Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

[email protected]: the bottle needs the Apple Command Line Tools to be installed

I have zsh and Python 3.9 installed on my MacOS but whenever I try to try something in the command line, I'm getting this kind of error:

brew install [email protected]  # for example

Error: [email protected]: the bottle needs the Apple Command Line Tools to be installed.

Help would be appreciated.

like image 811
Stanislav Jirak Avatar asked Sep 05 '25 03:09

Stanislav Jirak


2 Answers

I tried running xcode-select --install but estimated download time was over 280 hours, so I installed latest Apple Command Line Tools from

Apple Developer Downloads page

(File was under 700MB)

After that installation, brew upgrade python went without a hitch.

like image 89
Lazar Avatar answered Sep 07 '25 16:09

Lazar


I didn't notice it at first.. so maybe it will save someone time:)

After xcode-select --install, you probably get GUI pop up:

enter image description here

Installation process first estimated time for 20h+ hours, but quickly adjusted to 7minutes:)

enter image description here

After that brew install run without any problems (in my case [email protected])

like image 34
mcdominik Avatar answered Sep 07 '25 15:09

mcdominik