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
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

In a clean environment, what libraries would you typically install for TensorFlow development?

A

pip install numpy pandas matplotlib scipy sklearn

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

How would you install and launch a jupyter notebook in a clean Python install?

A

“pip install jupyter”, then “jupyter notebook”

How well did you know this?
1
Not at all
2
3
4
5
Perfectly