TensorFlow: Difference between revisions

From Chorke Wiki
Jump to navigation Jump to search
No edit summary
Line 1: Line 1:
==Install==
==Install==
<source lang="bash">
<source lang="bash">
sudo apt install build-essential libssl-dev libffi-dev libgmp3-dev libpq-dev python-is-python3
sudo apt install python3-dev python3-pip python3-venv
sudo apt install python3-dev python3-pip python3-venv
python3 -m venv .venv --prompt="TensorFlow"
python3 -m venv .venv --prompt="TensorFlow"
source .venv/bin/activate
source .venv/bin/activate
pip install --upgrade pip
pip install tensorflow
pip show tensorflow
</source>
</source>



Revision as of 21:39, 10 February 2023

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

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