3 ms·
Agreed, I use virtualenv if I'm hacking up a website at home.
by alexchamberlain 14y ago
Agreed, I use virtualenv if I'm hacking up a website at home.
- smackay 14y agomkvirtualenv <name> --python=pythonx.y --no-site-packages
- obviouslygreen 14y agoAs of version 1.7 (2011), --no-site-packages is default behavior. I still specify it every time anyway, but thought it'd be worth mentioning. :) The --python switch is really great, though, particularly now that 3 is getting distro traction and most of us who work in Python are likely maintaining a lot of 2.x projects. Thanks!