conda install tensorflow
That?s it !
pip3 install tensorflow
This will install tensorflow in the main (base) environment and you will have tensorflow alongside other tools you already have.
I don?t guarantee this option since it will provide tensorflow in a separate environment and you won?t have access to older installed tools like matplotlib.
- Download and install Anaconda or the smaller Miniconda.
- On Windows open the Start menu and open an Anaconda Command Prompt. On macOS or Linux open a terminal window. Use the default bash shell on macOS or Linux.
- Choose a name for your TensorFlow environment, such as ?tf?.
- To install the current release of CPU-only TensorFlow, recommended for beginners:
conda create -n tf tensorflow conda activate tf
Since tensorflow is installed in an isolated virtual environment you need in Anaconda dashboard click on the menu: Applications on
You will see ?tf? option. click on it. Then press button install and then Launch a new notebook for jupyter.
Also to install Keras you need to do this:
conda install -c anaconda keras