Python Versions and Dependencies Made Easy

Sebastian Witowski

Development Tooling Virtual Env

See in schedule: Wed, Jul 28, 10:00-10:30 CEST (30 min)

Managing Python versions and dependencies can be painful. JavaScript developers have their "node_modules" folders, but we don't have "python_modules" (yet!) in Python. Instead, we have those mysterious virtual environments. And if you also want to switch between different Python versions, it can quickly turn into a mess.

It doesn't have to be that way. With a few simple tools and practices, you can easily tame Python and its dependencies. In this talk, I'm going to show you how to do this.

I will talk about:

* How to manage Python versions with pyenv and set different versions for a folder or a shell session?
* What are virtual environments, what's the difference between different tools (venv, virtualenvwrapper, conda, etc.), and how to use them?
* How to separate global packages with pipx (and why you should do this)

Type: Talk (30 mins); Python level: Beginner; Domain level: Beginner


Sebastian Witowski

Sebastian Witowski

Sebastian is a Python consultant and trainer based in Poland. He started his journey with programming as a software developer at CERN, where he fell in love with Python (and teaching). Now he is helping companies untangle their complicated architecture and build all sorts of interesting Python projects.

In his spare time, he talks about Python, best practices in programming, and productivity.