I'm trying to install tensorflow but it needs a Python 3.6 installation and I only have Python 3.7 installed. I tried to switch using brew and pyenv but it doesn't work.
Does anyone know of a way to solve this problem?
I'm trying to install tensorflow but it needs a Python 3.6 installation and I only have Python 3.7 installed. I tried to switch using brew and pyenv but it doesn't work.
Does anyone know of a way to solve this problem?
Download python 3.6.0 from https://www.python.org/downloads/release/python-360/
Install it as a normal package.
Run
cd /Library/Frameworks/Python.framework/Version
Run
ls
command and all installed Python versions will be visible here.Run
sudo rm -rf 3.7
Check the version now by
python3 -V
and it will be 3.6 now.