Skip to content

Apple Silicon M1 tips

Mark Jessop edited this page Dec 1, 2021 · 3 revisions

Installing using Homebrew on M1

(Still need to check all this is right) Dependencies via brew:

I highly recommend making a venv to run auto_rx within, e.g:

$ cd radiosonde_auto_rx/auto_rx/
$ python3 -v venv venv
$ . venv/bin/activate
$ pip install -r requirements.txt

You should then be able to build the demods with ./build.sh

Other notes:

  • On OSX 10.12 Monterey, port 5000 appears to be in use already! You will need to adjust the web_port setting in station.cfg.

Old Info (Deprecated)

  • Install Python 3 (this guide used Python 3.9.1 using the installer from python.org)
  • In finder go to Applications/Utilities and duplicate Terminal.app and name it something like Rosetta Terminal.
  • Right click on the duplicated terminal, and Get Info. Tick the box that says "Open with Rosetta"
  • Install homebrew /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
  • Install rtl-sdr brew install rtl-sdr
  • Install timeout brew install coreutils
  • pip3 install numpy setuptools crcmod requests python-dateutil flask flask-socketio==4.3.2
  • cd radiosonde_auto_rx/auto_rx
  • ./build.sh
  • cp station.cfg.example station.cfg
  • python3 auto_rx.py