top band

Friday 4:30 p.m.–5 p.m.

Don't Make Us Say We Told You So: virtualenv for New Pythonistas

Renee Chu, Matt Makai

Audience level:
Python Core (language, stdlib, etc.)


Even though it’s possible to program without using virtual environments, you can shoot yourself in the foot without them. This talk will start with an illustration of how not using virtual environments can mess you up as a programmer, and will walk you through a simple way to get started with good habits using virtualenv.


Without virtual environments, your installed libraries can become a mess of spaghetti dependencies. To illustrate this point, we’ll show a couple examples of what can go wrong if you don’t use a virtual environment. Next, we’ll briefly talk about what virtual environments are and how they work. Lastly, we’ll set up sample projects using virtualenv and show you how easy it is to keep your installed libraries isolated for each project.
bottom band background