Skip to content

Instantly share code, notes, and snippets.

View codez266's full-sized avatar

Sumit Asthana codez266

View GitHub Profile
@halfak
halfak / create_virtualenv.md
Last active January 17, 2023 22:50
Setting up a python 3.x Virtual Environment

Step 0: Set up python virtualenv

virtualenv is a command-line utiltity that will allow you to encapsulate a python environment. Ubuntu calls the package that installs this utility "python-virtualenv". You can install it with $ sudo apt-get install python-virtualenv.

Step 1: Create the virtualenv directory

In this sequence, I'm going to assume that python 3.5 is the installed verison.

$ cd ~