Tom Ordonez

Data Science, Machine Learning, Software Engineering

Python Jupyter Notebook in Linux

First, follow this to install Miniconda on Linux.

Update conda

$ conda update conda

Create a yml file, use a name and dependencies. Example:

File: env_py_3.7.6.yml

Contents of this file:

name: awesome_name
- python=3.7.6
- jupyter

Create the environment using this file:

$ conda env create --file env_py_3.7.6.yml
$ conda activate awesome_name

Check Python version

$ which python
$ python -V

Run Jupyter Notebook:

$ jupyter notebook

If this doesn't work. Try it like this:

$ jupyter notebook --ip=