This article itself I wrote it about a month ago From there, I stumbled on Keras and Pillow after this and avoided it. I will post the URL of the article
Started introducing Tensorflow with reference to a certain article But if you install python from Anaconda or Python official I found that I was quite stumbling, so I will leave the way I actually avoided
―――――――――――――――――――――――――――――――――――― As an error that I encountered before moving on to the workaround TensorFlow-macos exists when I check it with pip3 list No module when import tensorflow ――――――――――――――――――――――――――――――――――――
By the way, the following is "a certain article" https://qiita.com/tomoyaeibu/items/46f2f3384a370df71d5e If you have not installed it individually, you can install TensorFlow only with the above article.
M1 MacBook Pro
In the first place, the cause of the error is the prompt
which python3
When the output is
/usr/bin/python3
Do not become. By the way, the output at the time of failure is
/Library/Frameworks/Python.framework/Versions/3.7/bin/python3
was. Is the python you are using different? (Amateur doesn't know the details ...)
Then /Library/Frameworks/Python.framework/Versions/3.7/bin/python3 Should I erase this? It became
Below, what I did (2 patterns)
See article below https://code-graffiti.com/how-to-uninstall-official-python3-on-mac/
You don't have to do the bash_profile part (Bash_profile1 was not found)
See article below https://www.sin-space.com/entry/m1mac-recovery
The following is what I actually did in the reference article (you can see it by comparing it with the reference article)
When all is completed, please introduce TensorFlow by referring to the article posted at the top.
I wonder if there is an easier way ...
Recommended Posts