Skip to content

Comments

Install devbio napari on an arm64 mac#52

Closed
thawn wants to merge 2 commits intomasterfrom
install_devbio_napari_arm_mac
Closed

Install devbio napari on an arm64 mac#52
thawn wants to merge 2 commits intomasterfrom
install_devbio_napari_arm_mac

Conversation

@thawn
Copy link
Contributor

@thawn thawn commented Sep 30, 2022

Since Robert Muench asked for help with installing devbio-napari on an arm64 mac, I thought I write down my way to get this to work as a blog article.

@haesleinhuepf did you maybe find an easier way?

The way I describe allows to have both the arm64 and the i386 versions in parallel, which makes it a bit complicated - but allows to run python code that works on arm64 natively.

@thawn thawn requested a review from haesleinhuepf September 30, 2022 16:42
@haesleinhuepf
Copy link
Member

Thanks @thawn for this blog post! Before merging it I'd like to wait for the potential fixes here:

@psobolewskiPhD
Copy link

psobolewskiPhD commented Oct 2, 2022

Bah, something in devbio-napari has PyQt5 as a hard depend rather than qtpy so you can't easily work around the lack of pyqt5 for arm64 on pip by installing pyqt from conda-forge. What a bummer.
Edit: oh and imagecodecs

@psobolewskiPhD
Copy link

I've found the PyQt culprit: it's PlatyMatch. I will see if I can make a PR there to fix it, just sanity checking on zulip that I understand things correctly.

@psobolewskiPhD
Copy link

PR made:
juglab/PlatyMatch#7
This should make PlatyMatch pip installable on arm64 M1.

@thawn
Copy link
Contributor Author

thawn commented Oct 4, 2022

@psobolewskiPhD kudos for the PlayMatch PR :-)

@thawn
Copy link
Contributor Author

thawn commented Oct 4, 2022

wait for the potential fixes here: haesleinhuepf/devbio-napari#23

I am a bit worried, that the simpleitk migration to arm64 might not come in time for our course. Also, the rosetta installation requires sudo, which means that some students that do not have admin rights will need assistance from the IT department. Therefore, I would like to give the students with an arm64 system the chance to install devbio-napari with help from the IT in the week before the course.

I am perfectly fine with sending them the link to this branch, without merging the article. However, I was wondering if @haesleinhuepf found an installation method that is a bit simpler (i.e. not requiring sudo)

@psobolewskiPhD
Copy link

Also pure conda install should be working soon too!
I think this is the only holdup: conda-forge/simpleitk-feedstock#27 (review)

@thawn
Copy link
Contributor Author

thawn commented Oct 17, 2022

obsolete because native arm64 installation works now

@thawn thawn closed this Oct 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants