Error about numpy version after installing tensor flow-macos

I tried installing tensorflow following the guide at https://developer.apple.com/metal/tensorflow-plugin/ in a conda environment. The installation works fine, but when trying to run the verification script at the end of the guide, it fails and import tensorflow as tfI get the following error:

python -m pip install numpy --upgrade

 Then install all the installation packages as required

指路:https://www.youtube.com/watch?v=FGWV686Q0AY Installing TensorFlow On Apple Silicon (M1 M2). Step-by-Step Instructions.

Finally, the installation was successful and the battle was solved using tensorboard! ! !

 

Guess you like

Origin blog.csdn.net/sinat_34626178/article/details/130547288