NOTE: Refer to the How To Setup Data Science Projects with Jupyter Notebooks or JupyterLab instructions for information on installing Anaconda, creating a virtual environment, and working with Python inside of VSCode (with or without Python Notebooks).
You can add TensorFlow to an environment.yml
file and create a virtual environment that includes TensorFlow by following the instructions on How To Setup Data Science Projects with Jupyter Notebooks or JupyterLab.
1 | |
2 | |
3 | |
4 | |
5 | |
6 | |
7 | |
8 | |
9 | |
Or you can create a new virtual environment using conda and install the packages you want in that environment:
1 | |
2 | |
NOTE: It will take several minutes to install TensorFlow along with all of the necessary packages.
Sources: