Last active
March 12, 2026 10:18
-
-
Save clbarnes/94cfdf9fae71219537092f0301e215c7 to your computer and use it in GitHub Desktop.
Installing napari (and empanada) on an ARM mac
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # follow pixi installation instructions https://pixi.prefix.dev/latest/installation/ | |
| curl -fsSL https://pixi.sh/install.sh | sh | |
| exec $SHELL | |
| # create a new project using pixi in the directory `my_project` | |
| pixi init my_project | |
| cd my_project | |
| # add dependencies (default from conda) | |
| pixi add 'python<3.14' | |
| pixi add pyqt napari | |
| # --pypi forces pypi installation | |
| pixi add --pypi empanada-napari | |
| # `pixi run` runs commands within the pixi environment | |
| pixi run napari | |
| # For my first run, it took a long time, and then none of the context menus showed up. | |
| # Minimising and bringing it up again brought them back. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment