Dev Flashcards
1
Q
How do you create a virtual environment for Python 3 (3.6+)?
A
To create and activate it:
python3 -m venv ~/somedir cd ~/somedir # Run the below on each new terminal session source ./bin/activate
2
Q
In a clean environment, what libraries would you typically install for TensorFlow development?
A
pip install numpy pandas matplotlib scipy sklearn
3
Q
How would you install and launch a jupyter notebook in a clean Python install?
A
“pip install jupyter”, then “jupyter notebook”