Create Virtual Environment using “conda” and add it to Jupyter Notebook

B. Chen
Analytics Vidhya
Published in
3 min readMar 3, 2020

--

Are you using anaconda and working with Jupyter Notebook and Python? In this article you will see how to create virtual environment using conda and add it to Jupyter Notebook.

Create Virtual Environment using “conda” and add it to Jupyter Notebook

Anaconda is a Python (and R) distribution that has the goal to simplify package management and deployment for scientific computing. Jupyter Notebook is an open-source web application that allows you to create and share documents that contain live code, equations, visualizations and narrative text. Uses include: data cleaning and transformation, numerical simulation, statistical modeling, data visualization, machine learning, and much more.

Here is the article outline:

  • Part 1: Create Virtual Environment using “conda”
  • Part 2: Add Virtual Environment to Jupyter Notebook
  • Part 3: Remove Virtual Environment from Jupyter Notebook

Part 1: Create Virtual Environment using “conda”

Create a Virtual Environment

Let’s have a look how to create a virtual environment with Anaconda. After the installation you can create the conda virtual environment with:

conda create -n <my_env_name>

--

--