While installing TensorFlow on the Apple Silicon M1 Mac running macOS Big Sur, I received the below error,
% python3
>>> import tensorflow as tf
[1617389 illegal hardware instruction python3
Solution:
- Go to Finder -> Applications -> Utilities,
- Now Right Click on Terminal App,
- Click on Get Info,
- Uncheck - Open using Rossetta

More Posts related to zsh,
- Ubuntu zsh: command not found: nano
- Setting up Zsh Syntax Highlighting
- Fix for zsh: command not found: brew
- Fix - zsh: command not found: conda [macOS]
- Resolve - zsh: command not found: code
- How to make zsh as the default shell on Ubuntu
- zsh: exec format error eclipse M1 Mac
- [fix] zsh: illegal hardware instruction python TensorFlow M1/M2 Mac
- Fix zsh: permission denied: script.sh
- zsh: command not found [fix] macOS
More Posts:
- Iterate over an Array using Java 8 Stream and foreach - Java
- How to turn off CR LF CRLF in Notepad++ - NotepadPlusPlus
- How to refresh Safari on Mac (macOS) using keyboard shortcut - MacOS
- Make Android Toolbar text center aligned - Android
- List of Online Java compiler with console - Java
- How to install homebrew (brew) on M1 Mac - MacOS
- SharePoint PowerShell Merge-SPLogFile filter by time using StartTime EndTime - SharePoint
- [Mac] Find a file using filename in macOS Terminal - MacOS