Installation problems on Mac M1 due to tensorflow, and Linux due to Python Levenshtein
See original GitHub issueDescribe the bug Installing sfaira via pip and trying to output help gives this error message:
(base) % sfaira -h
zsh: illegal hardware instruction sfaira -h
(base) % /opt/anaconda3/lib/python3.9/multiprocessing/resource_tracker.py:216: UserWarning: resource_tracker: There appear to be 4 leaked semaphore objects to clean up at shutdown
I assume it’s due to Python 3.9, will confirm by checking with a 3.8 environment a bit later. Compatibility with 3.9 would still be great! 😅
System:
- OS: macOS 12.0.1
- Language Version: Python 3.9
- Virtual environment: Conda
Issue Analytics
- State:
- Created 2 years ago
- Comments:7 (5 by maintainers)
Top Results From Across the Web
M1 Tensorflow installation fails | Apple Developer Forums
Dear community, I recently got my new Macbook with Apple M1 chip. I'm trying to install Tensorflow according to the guide found at...
Read more >Package installation issues | PyCharm Documentation
The most viable troubleshooting action is to try installing the problematic package on the selected Python interpreter using the terminal. If you get...
Read more >command 'gcc' failed with exit status 1 while installing eventlet ...
Your install is failing because you don't have the python development headers installed. You can do this through apt on ubuntu/debian with:
Read more >how to install python 3.9.6 using homebrew on Mac m1
Im new to programming and stuff and was looking to install python 3.9.6 using home-brew. To do that would I just have to...
Read more >python-Levenshtein - PyPI
Introduction. The Levenshtein Python C extension module contains functions for fast computation of: · Requirements. Python 3.6 or later · Installation. pip ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thank you! I’ll try to get it to work!
Also appreciate you moving to make TensorFlow an optional dependency!
Yes, this preinstallation was successful here https://github.com/theislab/sfaira/issues/377, I would imagine it is easier now though. We are also going to make tf an optional dependency fairly soon, we are wrapping up some improvements in the
data
submodule right now and will then make some changes to themodels
submodule (where this is imported).