DEV Community

Discussion on: SetUp Python virtual environment

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 ?

max236 profile image
Mageshwaran • Edited

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
I tend to used to this method, you know people follow their own way of doing thing