All Questions
1,485 questions
0
votes
2
answers
48
views
On my Intel Mac, I upgraded brew and cannot use Terminal anymore
Sadly, I exited the Terminal session I used so I cannot show the update information. The symptom I have now is that Terminal starts and instantly exits leaving no trace as to why it exited. I replaced ...
1
vote
1
answer
37
views
Tor shows running on both port 9050 and 9150, but torsocks doesn't seem to be working at all
I'm on a device where certain hostnames are blocked at an operating system level, so even If I go to a different network, the hostnames are blocked as well. This is also the case for using command-...
0
votes
0
answers
37
views
How to keep the system-wide vimrc for the brew-installed Vim between updates?
The brew-installed Vim (as of version 9.1) uses /opt/homebrew/share/vim/vimrc as the location for the system-wide vimrc file (according to the output of vim --version). This file is not included in ...
1
vote
1
answer
128
views
Is there a way to change installation directory of brew cask applications?
I don't have write access to the system wide application folder on my MacBook, so I want to be able to install cask packages to my user application folder. Is this possible with homebrew?
0
votes
1
answer
35
views
zsh curly bracket command expansion with homebrew command
In zsh, the commands can be expanded with curly brackets. For example:
head text{1,2,3}.txt
which will display the first 10 lines of text1.txt, text2.txt and text3.txt.
However, when I execute the ...
-1
votes
1
answer
87
views
How to uninstall brew-installed Little Snitch with brew?
I recently installed Little Snitch with homebrew to try it out. I'm annoyed now by it bugging me about Demo mode all the time and not making it easy to quit (it auto restarts if killed via htop).
So I'...
0
votes
1
answer
98
views
Colima Rosetta option not working with Sonoma 14.7
I have installed via brew colima which is on the latest version available via brew 0.7.5
This is on an m2 pro chipset which should be able to support rosetta.
When I try to enable rosetta support in ...
-3
votes
1
answer
352
views
How to prepare Homebrew for running on a soon to be unsupported OS
How can I use pin, tap and --build-from-source or other solutions in order to make sure an unintentionally triggered update or upgrade does not cripple my system?
1
vote
0
answers
97
views
Understanding Homebrew's "leaves" command
I have setup my Mac in somewhat usual way: I have created a user admin which has administration privileges, and I work my myself under a non-admin account. I use this setup out of a habit from my past ...
1
vote
1
answer
35
views
I can't get python to run in my MacOS 12.5 zsh terminal after deleting and reinstalling
After not using Jupyter, python, or my terminal for a while, I returned to find that my Jupyter notebooks were not executing python code. When trying to begin a program I got a "no kernel ...
1
vote
2
answers
142
views
"Command not found: mosh-server" when trying to connect to macOS server running mosh
I'm trying to connect to an M2 Mac mini with mosh.
However, when connecting with mosh <hostname>, I get an error zsh:1: command not found: mosh-server:
$ mosh <username>@<hostname> ...
0
votes
1
answer
252
views
Cannot connect to mosh(-server), getting error "mosh: Nothing received from server on UDP port 60000"
I'm struggling with getting brew-installed mosh-server to work on my new M2 Mac Mini. The issue is that macOS seems to block the incoming UDP connection from the client:
mosh: Nothing received from ...
1
vote
2
answers
108
views
How to brew install rectangle-pro if rectangle is already installed?
I'd like to try out rectangle-pro as I've been a very happy user of rectangle (a window management app).
I tried installing with homebrew, per the tool's brew webpage, but it doesn't work, I get a ...
0
votes
0
answers
51
views
Fix for sluggish Bluetooth audio on MacBook M2 with multiple connected devices
What is the fix to the sluggish Bluetooth audio when 3 or more devices are connected to a Macbook with an M2 chip? It is not uncommon these days to have multiple Bluetooth devices, e.g.
Mouse
...
0
votes
0
answers
51
views
Force uninstall a cask with even more force than "normal extra force"
I'm trying to uninstall Autodesk Fusion 360 so I can reinstall cleanly. I have casks installed for both the old & new names of the cask:
(base) [Wrench:~] % brew list | grep autodesk
autodesk-...
1
vote
0
answers
284
views
Have Homebrew ask for the admin password instead of the password of the current user when installing a cask
When I install a Homebrew cask, I need to enter the password of the current user at the end of the process to actually install the applicaiton.
Is there a way to change Homebrew so it asks for the ...
1
vote
1
answer
320
views
Python installation broken after Homebrew auto updated
My python installation was messed up after I ran the command brew install curl causing Homebrew to auto update.
Since then, I discovered that matplotlib was not installed (it was before the update), ...
2
votes
0
answers
68
views
Running Apple Silicon and x86 homebrew side by side, cleanly
TLDR: I am aware that there are plenty of questions from people trying to migrate from Intel to Apple Silicon installations of homebrew; and many questions that speak of confusions from unwanted ...
2
votes
2
answers
129
views
Can't install mkdocs on Monterey
I currently have Python3 as version 3.12.4 in my PATH. It was installed via Homebrew.
I have installed mkdocs using
pip3 install mkdocs
mkdocs --version says
mkdocs, version 1.6.0 from /Users/...
5
votes
0
answers
96
views
Homebrew installs python, but not pip
I have installed python using Homebrew.
python3 --version
=> 3.11.7
pip3 --version
=> pip 23.3.1 from /usr/local/lib/python3.11/site-packages/pip (python 3.11)
When I am using pip3 to install ...
0
votes
0
answers
137
views
How to install facebook watchman on Mac Catalina 10.15.5
Please I am installing watchman for so that I can setup my React Native environment on MacBook Pro early 11 with Catalina 10.15.5.
All efforts to successfully install watchman has been abortive. Could ...
1
vote
0
answers
61
views
Homebrew - clang - verification on CLI installation
Yesterday i was completly reinstalling my MacBook from built in recovery, after standard configuration, app installation (App Store and trusted sources) i was installing homebrew from official site (...
3
votes
1
answer
277
views
Stable path for Homebrew package ca-certificates?
I would like to use the path to the certificate file installed as package ca-certificates via Homebrew in various configuration files (e.g. for isync/mbsync). The cert file is placed in a release-...
3
votes
1
answer
249
views
after migrating to Arm CPU, zsh and oh-my-zsh plugins give `compint` warnings
I recently migrated from an Intel-based Macbook to an Arm-based Macbook. As part of the migration, I copied over files including my Homebrew installation.
It turns out this has caused some issues and ...
0
votes
0
answers
387
views
Homebrew: failed to download; failed to execute
I don't know if this makes any difference, but I'm using macOS 14.5 Sonoma. I have been trying to install Homebrew for hours now and not a single solution I can dig up seems to work.
This is what I'm ...
1
vote
1
answer
61
views
Move chromium config to new computer
I saw that in other operating systems you can move your configuration by copying your current configuration to .config/chromium and when you install chromium it will pick up the configuration from ...
1
vote
0
answers
670
views
Tricky error using conda with "Bad CPU type in executable" on new M3 Chip
I'm having some difficulty understanding what is causing my "Bad CPU type in executable" error when using conda. This error occurs on several of my terminal commands, but I'll illustrate it ...
0
votes
1
answer
52
views
Various installations of python on my MacBook
I am doing more or less a find . -iname "*python*" -type d in my MacOS and I find numerous python installations.
I am unable to figure out which is which and what is its purpose so I was ...
1
vote
1
answer
388
views
Unable to upgrade Cmake from 3.29.0 with Homebrew
I'm on macOS 10.14.6 Mojave and Xcode CLITools is in version 11.3.1.0.1.1576735732.
Theese can't be updated.
I have CMake installed with Homebrew under my home directory:
$ which cmake
/Users/vjorma/....
1
vote
2
answers
78
views
Newly installed python 3.12 is overshadowed
I have a working python version - python3 --version gave Python 3.9.6. Then I used homebrew to install python 3.12. It is located in /opt/homebrew/bin according to the homebrew installer. If I run ...
0
votes
0
answers
299
views
Handbrake and libdvdcss
I used brew info libdvdcss to find where libdvdcss was installed and I get
/opt/homebrew/Cellar/libdvdcss/1.4.3 and I know from a comment on this post
M1 iMac: libdvdcss missing
that I need to copy ...
1
vote
1
answer
804
views
Can I reinstall Homebrew while keeping all my packages?
I had reinstalled Homebrew because I had trouble installing packages from taps. If I ever have to do so again I'd like to without removing my packages. Running the Homebrew uninstall script ...
-1
votes
1
answer
1k
views
How to fix ImportError: dlopen(): symbol not found in flat namespace '_mysql_affected_rows' on Mac M1
I am having an issue with running a script within a python virtual environment.
I have installed MySQL, MySQL client, Django, and everything using Homebrew since I am on a Mac M1 (Apple M1 Pro running ...
0
votes
0
answers
1k
views
Can't install libmagic on Mac M1 Pro
I am having significant trouble installing some Python libraries/dependencies for a project I have to work on, specifically with libmagic.
I have tried to install libmagic several ways with no success ...
2
votes
1
answer
498
views
How to make Homebrew directories writeable by multiple users?
I have two users on my Mac. Both are admins. One which can only access certain things which I use for doing work, and one general purpose.
I program in both modes often, but I need to use homebrew ...
13
votes
3
answers
7k
views
With the recent security issue with xz, what should we do before using Homebrew again?
Ars Technica's March 30, 2024 Backdoor found in widely used Linux utility breaks encrypted SSH connections includes the following:
Several people, including two Ars readers, reported that the ...
1
vote
1
answer
356
views
Why is brew trying to install a dependency that is already installed?
Why does brew attempt to download a dependency (and fail) when that dependency is already installed?
I'm trying to install a python bottle from homebrew on a system that does not have Internet access.
...
0
votes
0
answers
108
views
How to force brew to install from local bottle (without git clone github.com/build/homebrew-deps)
My goal is the have brew skip trying to make calls to the Internet when installing local cached bottles.
I have downloaded the brew bottles for python and the python module virtualenv.
user@host ~ % ...
1
vote
0
answers
52
views
library not found
I compiled a library called libflite (https://github.com/festvox/flite) from source. make install automatically installed into /usr/local/bin and usr/local/lib. A homebrew formula for libflite does ...
1
vote
1
answer
921
views
How to force brew to install from local formula (without internet access)
How can I tell brew to skip trying to make calls to the Internet when installing locally?
I have downloaded the brew formula and bottle
user@host ~ % ls
wget-1.24.5.json
wget-1.24.5.rb
wget-1.24.5....
0
votes
0
answers
47
views
Install issues for SimpleNote with HomeBrew—why Intel only?
I use SimpleNote daily across three devices and just bought an M2 MacMini.
I used brew install --cask simplenote to get the latest version (2.21.0) but it’s intel-only, so on opening it’s asking to ...
0
votes
1
answer
730
views
python doesn't see package installed by brew
I have Python installed with brew and I cannot import a fontTools package even though it is installed in brew. I only have this one Python version on my computer. Any ideas why it is not linked? I am ...
0
votes
0
answers
200
views
Uninstall Intel Versions from Apple Silicon Mac Without Rosetta
I upgraded to my first Apple Silicon Mac (an M3 Pro) via Migration Assistant and have been working through the process of setting up Homebrew /opt/homebrew instead of /usr/local.
I exported a list of ...
0
votes
0
answers
24
views
Update brew-installed applications when migrating from Intel Macbook to Apple Silicon [duplicate]
Just yesterday, I've migrated from a Macbook Air from 2015 (with Intel-based processor) to a Macbook Air with M1. I've used the migration assistant for this and was pretty surprised that everything, ...
0
votes
0
answers
25
views
broken python3 and pip on macos sonoma [duplicate]
recently i tried to install a python package for example boto3 on my mac but i get this error
error: externally-managed-environment
× This environment is externally managed
╰─> To install Python ...
0
votes
1
answer
274
views
How to get the URL to download a Homebrew Bottle?
How can I figure out the URL to download the bottle for a given package on Homebrew?
Consider the package wget. In the past, I could download the wget Homebrew bottle at the following URL:
https://...
0
votes
0
answers
44
views
Homebrew: Install formula with Python bindings for specific Python version?
I'd like to install a Homebrew formula that has Python bindings. OpenImageIO is an example:
brew install openimageio
As of this writing, the version of Python that Homebrew is wanting to install is 3....
5
votes
2
answers
260
views
Homebrew: How-To forbid a specific package to be installed?
Can I configure brew to never install a specific package even if it is required by another package I install?
I do not want to accidentally install any software that has a dependency on Java, i.e. ...
0
votes
0
answers
219
views
Two versions of ruby installed
It seems like I have two versions of ruby installed. (3.3.0 and 2.6.10.210)
How to fix that?
peter@mac ios % sudo gem update --system
Password:
Updating rubygems-update
Fetching rubygems-update-3.5.6....
2
votes
1
answer
1k
views
Yet another issue with a homebrew update => python upgrade => "No module named 'praw'" (missing site-packages)
Sorry for the repeat, if any, but this is driving me nuts. I ran through a few upgrades of homebrew, in the past, and all python scripts I used to use were running fine, post python updates, meaning ...