Custom environment¶
Open a Terminal and type the following code. This will create a virtual environment with Python 3.6 and TensorFlow 1.15 in the user home directory.
conda create -y -p $HOME/.conda/envs/py36 python=3.6
conda install -y -p $HOME/.conda/envs/py36 tensorflow=1.15
Python will then be available under $HOME/.conda/envs/py36/bin/python
.
In order to add this environment to JupyterLab
$HOME/.conda/envs/py36/bin/python -m pip install ipykernel
$HOME/.conda/envs/py36/bin/python -m ipykernel install --user \
--display-name 'Python 3.6' --name python36
