Closed zjniu closed 2 years ago
Thanks for letting me know! I'm not surprised to hear it, Nikon hasn't released ARM-compiled libraries for their SDK yet, so we'll have to wait on this one for a bit.
Ah that makes! Do you think it would be possible to run the SDK through Rosetta 2?
it's a good question! I'm not sure, I wish I had one to test on but I don't :) maybe something like this would work?
Very similar to your suggestion, I was able to create a Rosetta conda environment per the instructions given in https://github.com/conda-forge/miniforge/issues/165. Using the environment, I was able to get the package to work. It would be nice to get native M1 support in the future, but for now this works. Thanks for the help and the quick replies!
very cool! I pinged the folks at nd2sdk to see if they have any plans to release native libraries anytime soon
Great, thanks for the awesome work on this package!
@zjniu, I've built some wheels that I hope will work natively on m1, but I'm unable to test them.
If you have a moment, I'd be grateful if you could let me know if these work for you. Download the following link, unzip it, then pip install the arm64
wheel corresponding to your python version (e.g. for python 3.9, pip install nd2-0.1.dev1+g6dfd4e0-cp39-cp39-macosx_11_0_arm64
)
https://github.com/tlambert03/nd2/suites/7889065996/artifacts/335188596
cheers
going to optimistically close this issue with #87. v0.4.0 (now on pypi) should support M1. But please let me know if you find otherwise!
I can verify that it now works natively, thanks!
thanks for letting me know!
Description
nd2 not working on M1 architecture.
What I Did
I had tried running the package on a M1 iMac and ran into some issues with opening files. I downloaded the test data and tried to open a file as such.
This generated the following error message.