Skip to content

Jupyter Notebook VENV

WesIngwersen edited this page May 28, 2020 · 8 revisions

Jupyter Notebook

Jupyter Notebook is an open-source web application that allows users to create and share documents that contain live code, equations, visualizations and narrative text. Download Jupyter Notebook

Uses include

Data cleaning and transformation, numerical simulation, statistical modeling, data visualization, machine learning, and much more.

Visual Studio Code

Installation of Jupyter Notebook and creating a python virtual environment instructions in VS Code.

  1. Install VS Code (if not installed)
  2. Clone ElectricityLCI in VS Code
  1. Create a virtual environment
  • [ mkvirtualenv electricity ] or if the environment already exists [ workon electricity ]
  1. Install pip dependencies
  • [ pip install jupyter ]
  • [ pip install -e electricitylci ]
  1. On the left side of the bottom info bar, click on the current Python environment to change it.
  2. In the resulting dropdown at the top of VS Code, select your pre-existing virtual environment. The bottom-left Python environment should now show your selected virtual environment.
  3. On the top right side of the screen (Next to Jupyter Server) click on the Python Kernel to change it.
  4. Repeat step 6.
Clone this wiki locally