can't install tenserflow metal

I was installing TensorFlow metal in the environment called "arm64_tf'" in anaconda using command line "python -m pip install tensorflow-metal" in terminal and it shows :

ERROR: Could not find a version that satisfies the requirement tensorflow-metal (from versions: none) ERROR: No matching distribution found for tensorflow-metal

I have already tried using " conda install -c anaconda libffi" but it still doesn't work is there a solution ? Thanks

apologies for my bad English

Hi AngeloJuan,

what version of python are you using?

Hi, Just starting at Dev/ML, so I could be wrong, and I do not know how it works through Conda, but I tensorflow-metal, version 1.1.0/Sept2023 does not install with python 3.12. I managed install it with python 3.10/3.11 and tensorflow 2.17.x

Hello!, I have had a similar question in MBP M1PRO (MacOS 14.7). These lines use conda environment, and install python 3.11 or 3.12, tensorflow in versions 2.17 or 2.18 and tensorflow-metal 1.2 (tensorflow-macos is not required since version TF 2.16) You can use the following lines as a guide:

conda create -name <Environment Name> python 3.11.11 or 3.12.9 
conda activate <Environment name> 
pip install tensorflow==2.17 or 2.18 tensorflow-metal 
conda install -c conda-forge <other package name>

to verify status intallation:

python --version
python -c "import tensorflow as tf; import keras ; print(tf.__version__); print(keras.__version__)"
python -c "import tensorflow as tf; print(tf.config.list_physical_devices(‘GPU'))"

I hope it will be useful to you and others.

can't install tenserflow metal
 
 
Q