Ideally, you run Jupyter notebooks in a python programming environment like conda or virtualenv. To use the latter, make sure, you have virtualenv installed
which virtualenvIf that is not the case, please install it using pip:
pip install virtualenvI typically just create env folder within the repository, where I'm currently in. To do that, use the command:
virtualenv --no-site-packages envWith
ls -lahYou should now see, that your env folder is created.
You can activate the environment with
source env/bin/activateThen install jupyter
pip install jupyterCheck, what's been installed with
pip freezeSome Jupyter notebooks require you to install other pyhon libraries like numpy, scikit-learn etc. With pip you can install those the same way you installed jupyter. Check the imports at the beginning of your notebook file.
With
jupyter notebookA browser window should open, you see your folder exposed to the web and you can open the notebooks.