Python Virtual Environments CentOS

Just a quick how to for setting up a virtual environment in Linux. This example is using CentOS.

Install Python Virtual Environments

Create Virtual Environment

Can specify Python version for the virtual env

Activate the New Virtual Environment

Check the Version

Check Python Libraries

This will be empty to being with.

Install a Library

Recheck Python Libraries

Exit Virtual Environment

Leave a Comment

Your email address will not be published. Required fields are marked *