TensorFlow

From Chorke Wiki
Revision as of 21:42, 10 February 2023 by Shahed (talk | contribs) (→‎Install)
Jump to navigation Jump to search

Install

sudo apt install python3-dev python3-pip python3-venv
python3 -m venv .venv --prompt="TensorFlow"
source .venv/bin/activate

pip install --upgrade pip
pip install tensorflow
pip show tensorflow

python -c 'import tensorflow as tf; print("Tensorflow Version: ", tf.__version__)'
pip uninstall tensorflow

Knowledge

python3 -m venv .venv --prompt="TensorFlow"
# source .venv/bin/activate
# (academia) $
python3 -m venv .venv --prompt="TensorFlow"
# source .venv/bin/activate
# (molecule) $
python -m venv .venv --prompt="TensorFlow"
# .venv\Scripts\activate
# (molecule) PS>

References