Creating a Virtual Environment for Python on Ubuntu 16.04

Опубликовано: 28 Сентябрь 2024
на канале: Liquid Web
1,268
9

In this video, we describe how to create a virtual environment on Ubuntu 16.04.

Commands used:
apt-get update
apt-get install python-virtualenv
virtualenv -p /usr/bin/python3 virtualenvironment/project_1
cd virtualenvironment/project_1/bin
source activate
$ source virtualenvironment/project_1/bin/activate
(project_1) root@host2:~# deactivate

The related article for this article can be found here: https://www.liquidweb.com/kb/creating...

For more information about this and other topics, visit us at https://www.liquidweb.com/kb/ or to learn more about our Private Cloud Powered by VMware and NetApp, visit: https://www.liquidweb.com/products/pr...

Video by: Justin Palmer