Open andrestrocyte opened 9 months ago
I've talked to the scanimage-tiff-reader developers -- right now scanimage-tiff-reader is not supported on M2 Mac. As a workaround, please "pip uninstall scanimage-tiff-reader" and then suite2p will run using "tifffile".
Thanks so much Carson. Now suite2p runs perfectly. Thanks so much!
Describe the issue:
Hello! I tried to install suite2p in my MacBook Pro with an M2 chip but I cannot launch the GUI:
I think it may be because one of the modules does not work correctly on an arm64 architecture?
OSError: dlopen(/Users/deviandr/Library/Python/3.9/lib/python/site-packages/ScanImageTiffReader/external/ScanImageTiffReader-1.4.1-Darwin/lib/libScanImageTiffReaderAPI.so, 0x0006): tried: '/Users/deviandr/Library/Python/3.9/lib/python/site-packages/ScanImageTiffReader/external/ScanImageTiffReader-1.4.1-Darwin/lib/libScanImageTiffReaderAPI.so' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64')), '/System/Volumes/Preboot/Cryptexes/OS/Users/deviandr/Library/Python/3.9/lib/python/site-packages/ScanImageTiffReader/external/ScanImageTiffReader-1.4.1-Darwin/lib/libScanImageTiffReaderAPI.so' (no such file), '/Users/deviandr/Library/Python/3.9/lib/python/site-packages/ScanImageTiffReader/external/ScanImageTiffReader-1.4.1-Darwin/lib/libScanImageTiffReaderAPI.so' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64'))
I was wondering if someone else had the same issue and maybe knows a solution for it.
Thanks so much!
Andres
Provide environment info:
active environment : suite2p active env location : /Users/deviandr/miniforge3/envs/suite2p shell level : 4 user config file : /Users/deviandr/.condarc populated config files : /Users/deviandr/miniforge3/.condarc /Users/deviandr/.condarc conda version : 23.7.2 conda-build version : not installed python version : 3.10.12.final.0 virtual packages : archspec=1=arm64 osx=14.0=0 __unix=0=0 base environment : /Users/deviandr/miniforge3 (writable) conda av data dir : /Users/deviandr/miniforge3/etc/conda conda av metadata url : None channel URLs : https://repo.anaconda.com/pkgs/main/osx-arm64 https://repo.anaconda.com/pkgs/main/noarch https://repo.anaconda.com/pkgs/r/osx-arm64 https://repo.anaconda.com/pkgs/r/noarch https://conda.anaconda.org/conda-forge/osx-arm64 https://conda.anaconda.org/conda-forge/noarch package cache : /Users/deviandr/miniforge3/pkgs /Users/deviandr/.conda/pkgs envs directories : /Users/deviandr/miniforge3/envs /Users/deviandr/.conda/envs platform : osx-arm64 user-agent : conda/23.7.2 requests/2.31.0 CPython/3.10.12 Darwin/23.0.0 OSX/14.0 UID:GID : 504:20 netrc file : None offline mode : False