Jupyter notebook launch server from within venv

When using Python’s virtual environment for a project, we want to be able to launch a Jupyter notebooks server from within the virtual environment so that Jupyter can access the environement’s installed packages.

  1. Activate virtualenv
    source ./venv/bin/act
    
  2. If not done, install ipykernel in venv
    pip install ipykernel
    
  3. Install kernel
    python -m ipykernel install --user --name=myenv
    
  4. To remove myenv, run
    jupyter-kernelspec uninstall myenv
    

source

There are no notes linking to this note.

There are no papers linking to this note.


Here are all the notes in this garden, along with their links, visualized as a graph.

Adversarial perturbation to...Can we (and should we)...Certified compilers and proof...Constructive logicCurry Howard correspondenceDuelling banjos drama in the...Equivalence checkingExporting ocaml from imandraHalf marathon afterthoughtsHow to set up a plausible...How to make a sunrise alarm...How to make a sunrise alarm...How to make a sunrise alarm...Jupyter notebook launch...Lairg to john'o'groats bike...Marabou Imandra interfacingMarkov process modelMethodologyMonte carlo processNeural network verification ...Ocaml decoder libraryProof production for neural...Reading listType theory with agdaUbuntu housekeepingUseful imandra tipsUseful git commandsUseful vim tips and tricksUsefull miscellaneous snippetsVerifying an algorithm with...On the Dangers of Stochastic...Intuitionistic Type TheorySpinoza on ModalityAttention is All you NeedFormal Monotony Analysis...