swiss-ai-center / a-guide-to-mlops

A simple yet complete guide to MLOps tools and practices - from a conventional way to a modern approach of working with ML projects.
https://mlops.swiss-ai-center.ch
Creative Commons Attribution Share Alike 4.0 International
18 stars 1 forks source link

Add dedicated section about python virtual env basics and pip #65

Closed rmarquis closed 1 year ago

rmarquis commented 1 year ago

Following a discussion with @grafolytics, it has been suggested to add a dedicated chapter (or supplementary page) about the basics of Python virtual environment, python shell switching, pip and the need to better/more robust tools. Think about this additiona page as an 101, expanded documentation about the need to use poetry instead of pip/conda.

While not directly part of MLOps, the rational for this documentation is that many Data Scientists don't actually understand how the underlying Python virtual environments work, or why they are needed in the first place (and having learned most of it the hard way over many years, I'd even go as far as most Python users/developers don't either). Not understanding these basics would lead to botched attempts to solve issues in the wrong way (such as mixing pip/poetry with conda packages) and utter disappointment when these issues will eventually occurs.

Some food for thought:

What do you guys think?

rmarquis commented 1 year ago

This has been added within Part 1 (Introduction/ chapter 2). Closing now.