Open your python console and
pip install pipenv
Install python dependencies from Pipfile.lock in a new virtualenv (this might take some time)
pipenv install
Start a pipenv shell. Inside this shell is where your dependencies from the previous step were installed. The dependencies can only be accessed inside the shell.
pipenv shell
Once instide the shell, start a jupyter lab with the following command. This should open a jupyter lab notebook environment in a browser.
jupyter lab
If you prefer jupyter notebook (old style stuff):
jupyter notebook
Simply type exit to get out. Or CNTR + D
exit
If you need a new package, there are 2 ways to do it.
Open the Pipenv file and add the package name and version. Then run this command (outside the pipenv shell). This will update the lock file
pipenv update
In the command line (outside the pipenv shell), add the package directly running this command:
pipenv install mypackagename==1.2.3
Clean notebook outputs before commit:
jupyter nbconvert --clear-output --inplace qubit-operations.ipynb