Last active
December 3, 2022 18:02
-
-
Save MuhammedBuyukkinaci/a623cc2b0d767ea2914ec2ff64ac2e5d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# How to install tensorflow on mac m1 pro with venv (or virtualenv) without conda | |
# step 1: install venv for mac | |
# step 2: create a virtual environment named venv | |
python3 -m venv venv | |
# step 3: activate environment | |
source venv/bin/activate | |
# step 4: install tensorflow for mac os | |
python -m pip install tensorflow-macos | |
# step 5: install tensorflow metal | |
python -m pip install tensorflow-metal | |
# step 6: verify tensorflow installation | |
python -c "import tensorflow as tf; print(tf.__version__)" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment