July 29, 2023, 1:19 a.m. | techwriterjohn

DEV Community dev.to

Quick version

This tutorial focuses on creating a virtual environment or venv for use with Python. I only intend to provide a brief introduction to venv, mostly providing the code necessary.


To install the venv software enter the following:


pip install virtualenv

Now you can create a venv on your system. To initiate venv within any directory type the following:


python<version> -m venv <virtual-environment-name>


Like so:


python3 -m venv myVenv


To activate the venv enter the following command:


source myVenv/bin/activate …

code environment install introduction pip python software softwaredevelopment softwareengineering tutorial venv virtual

Software Engineer for AI Training Data (School Specific)

@ G2i Inc | Remote

Software Engineer for AI Training Data (Python)

@ G2i Inc | Remote

Software Engineer for AI Training Data (Tier 2)

@ G2i Inc | Remote

Data Engineer

@ Lemon.io | Remote: Europe, LATAM, Canada, UK, Asia, Oceania

Artificial Intelligence – Bioinformatic Expert

@ University of Texas Medical Branch | Galveston, TX

Lead Developer (AI)

@ Cere Network | San Francisco, US