
Installing and managing python packages via PIP
If you've been following Python tutorials, you've probably seen "just run pip install something" - but what IS pip? Where do packages come from? And why does this sometimes break? Today we're demystifying Python package management. You'll learn what pip is, how to use it, and how to avoid common mistakes that break your projects. Introduction to the packages Imagine you have to fetch some URL on the internet. Sure, you can learn all the levels of the OSI model, write your own encapsulation/decapsulation implementation, learn HTTP specification and implement it. Or you can use the python requests library. Sounds good, but where will you get this library and packages? Simple. Python ecosystem has Python Package Index (PyPi) which is the official python packages repository. Open your browser and navigate to pypi.org . Here you can search for the package you need. Just type requests in the search bar and navigate to the package details page. Here you can find all the information you need.
Continue reading on Dev.to Tutorial
Opens in a new tab



