DEV Community

Discussion on: SetUp Python virtual environment

Collapse
robkenis profile image
Rob Kenis

Since python3, I've been using python3 -m venv venv. Is there anything virtualenv does extra compared to the other solution ?

Collapse
magesh236 profile image
Mageshwaran Author • Edited on

they both do the same thing, but with some difference

virtualenv which works in both python 2 and 3 and this will copy the python binary file to the venv location, for more you can check here
virtualenv.pypa.io/en/latest/
I tend to used to this method, you know people follow their own way of doing thing