Post

Replies

Boosts

Views

Activity

Comment on Can't install tensorflow-macos (M1)
Hi there, Looks like python packages incompatibility issue. I would suggest creating a new/fresh conda environment (looks like conda is getting confused with different python packages, conda --force-reinstall didn't work for me) and following the install steps to get the latest TensorFlow or see commands (option #2) to install TensorFlow 2.5. If you don't specify any versions, you'll get all the latest versions by default (currently these are tensorflow-deps==2.6, tensorflow-macos==2.6, tensorflow-metal==0.2.0), which is recommended to use with macOS 12.0+ and is supported on both python 3.8 and python 3.9. Option #2 To be able to use older versions, please be specific during the install: conda install -c apple tensorflow-deps==2.5.0 python -m pip install tensorflow-macos==2.5.0 python -m pip install tensorflow-metal==0.1.2 Hope that helps!
Topic: Machine Learning & AI SubTopic: General Tags:
Oct ’21
Comment on I can't install tensorflow on my mac m1
Hi Mamos, Try conda install -c apple tensorflow-deps --force-reinstall, h5py is a part of tensorflow-deps packages
Topic: Machine Learning & AI SubTopic: General Tags:
Replies
Boosts
Views
Activity
May ’22
Comment on tensorflow-macos cannot be installed on Python 3.8 virtual environment
Hi dkjdjdfdskln, Thanks for clarifying! Can you please provide the commands you used for your setup so I can try them myself? I'm able to install the latest tensorflow-macos on M1 system (with macOS 12.0.1) with no issues using both python3.8 and python3.9
Topic: Machine Learning & AI SubTopic: General Tags:
Replies
Boosts
Views
Activity
Nov ’21
Comment on Can't install tensorflow-macos (M1)
Hi there, Looks like python packages incompatibility issue. I would suggest creating a new/fresh conda environment (looks like conda is getting confused with different python packages, conda --force-reinstall didn't work for me) and following the install steps to get the latest TensorFlow or see commands (option #2) to install TensorFlow 2.5. If you don't specify any versions, you'll get all the latest versions by default (currently these are tensorflow-deps==2.6, tensorflow-macos==2.6, tensorflow-metal==0.2.0), which is recommended to use with macOS 12.0+ and is supported on both python 3.8 and python 3.9. Option #2 To be able to use older versions, please be specific during the install: conda install -c apple tensorflow-deps==2.5.0 python -m pip install tensorflow-macos==2.5.0 python -m pip install tensorflow-metal==0.1.2 Hope that helps!
Topic: Machine Learning & AI SubTopic: General Tags:
Replies
Boosts
Views
Activity
Oct ’21