DEV Community

Discussion on: How do YOU manage python environments

Collapse
 
fronkan profile image
Fredrik Sjöstrand • Edited

I do prefer using virtualenv because, as you said, docker is a bit heavy. I also think it is harder to debug inside a docker-container. I usually use the VS code debuger which automatically pick up virtual environments. What I do like with docker is that it is guaranteed to work the same in production. E.g. multi-processing in Python behaves differently on Windows and Linux and I am working with both.