DEV Community

Discussion on: Use the virtual environments with Python

Collapse
 
watchakorn18k profile image
watchakorn-18k

Another one that is often used is virtualenv.

pip install virtualenv
Enter fullscreen mode Exit fullscreen mode
virtualenv myvirtualenv
Enter fullscreen mode Exit fullscreen mode
source env/bin/activate
Enter fullscreen mode Exit fullscreen mode
Collapse
 
jdxlabs profile image
jdxlabs

Yes, Virtualenv works in the same way as Venv. The difference is that Venv is built-it only for Python 3, and Virtualenv is a third party package available for Python 2 and 3.