Installation and Setup

Installation Overview

There are three options to start working on python coding

  1. Use the online editor (Google Collab or online Jupyter Notebook)

  2. Using docker image of Jupyter Notebook

  3. Install Jupyter Notebook in local

Jupyter Notebook is good for testing only, application needs to be created using a text editor (Visual Studio Code is my preferred text editor)

Hint: Best practice to use a virtual environment while working with applications in local

Creating a Python Virtual Environment

  • Discussing for Linux or Ubuntu like operating systems only

  • Create virtual environment (For 3.7 version and virtual environment name myenv)

sudo apt-get install python-virtualenv
virtualenv --python=python3.7 myvenv

activate virtual env

source myvenv/bin/activate

Now, use this virtual environment for running all python related code (as an application or initiating Jupyter Notebook and working with it)

Last updated

Was this helpful?