Like many other developers, I always follow this routine when I want to launch the jupyter notebooks that run in my repository (with a pipenv virtual environment):
cd /path/to/your/repository
pipenv shell (or conda activate, or other virtualenvs)
jupyter-notebook
But this is a pain in the ass. I would like to have a desktop application that did this automatically and so I follow this guide.
The code that I put in the shell script for the launcher is exactly the routine that I do every day (the same that is above this lines).
But when I want to
source jupyterlauncher.sh
, the terminal gets stuck just after the environment activation! It is just as if ubuntu created a brand new terminal after that line.
Does anyone know how this can be achieved? Thank you in advance