Tensorflow - cannot install tensorflow from Anaconda
Tensorflow - cannot install tensorflow from Anaconda
Open an anaconda prompt, and create an environment with tensorflow like this:
conda create -n tf tensorflow
activate tf
# Verify that it works
python -c "import tensorflow"
Then, you probably have to specify that environment from within Spyder. Open Preferences
->Console
->Advanced Settings
and set the python path to <anaconda_install>/envs/tf/bin/python
.
OR
Open Terminal, then enter:
conda update conda
After installing done, enter:
conda install tensorflow
It will take some time based on your internet speed.
After installing, open Anaconda -> Spyder/Jupyter
import tensorflow as ts
Comments
Post a Comment