[Guide] Building Dingo on macOS M1/M2/M3 (Apple Silicon) #132
Rishabh1925
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone,
I recently set up Dingo on a MacBook Air M3 and hit a few issues with linking
lp_solveandboost. If anyone else is on Apple Silicon, here is the process that worked for me:1. Install Dependencies (Homebrew)
The standard install fails because it can't find libraries in
/opt/homebrew. First, install the required packages:2. Install Dingo with Custom Flags
The trick is to explicitly tell pip and the compiler where Homebrew libraries are located using environment variables.
Step-by-step:
1. Create a virtual environment:
python3 -m venv venv source venv/bin/activate2. Install build dependencies first:
3. Install Dingo with flags:
3. Verification
After installation, you can verify it works by running a simple volume check:
Hope this saves someone some time!
Beta Was this translation helpful? Give feedback.
All reactions