TensorFlow: Difference between revisions

From Chorke Wiki
Jump to navigation Jump to search
Line 84: Line 84:
* [https://github.com/pgadmin-org/pgadmin4/blob/master/Dockerfile PgAdmin 4 » Dockerfile » Alpine]
* [https://github.com/pgadmin-org/pgadmin4/blob/master/Dockerfile PgAdmin 4 » Dockerfile » Alpine]
* [https://github.com/better/alpine-tensorflow/blob/master/Dockerfile Tensorflow » Dockerfile » Alpine]
* [https://github.com/better/alpine-tensorflow/blob/master/Dockerfile Tensorflow » Dockerfile » Alpine]
* [https://stackoverflow.com/questions/172587/ Difference between g++ & gcc]
* [https://stackoverflow.com/questions/50897640/ Python 3 Virtual Env & Docker]
* [[Bazel]]
* [[Bazel]]



Revision as of 13:11, 11 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

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>

apk list --installed|grep ^bash
apk list --installed|grep  bash
apk search | grep ^bash
apk search | grep  bash
apk info --contents bash
apk info --rdepends bash

References