In this tutorial you will learn:
A dependency manager as the name suggests is a software module that helps the program manage different libraries and packages. Since many libraries and packages are being developed everyday by developers and we need to use them in our code as we don’t want to waste our time redeveloping something that’s already developed and want to speedup our development. So a dependency manager is required to manage those libraries and packages in our code.
PIP Dependency Manager in Python
The Dependency Manager in Python is called PIP. It’s a package manager that’s included in Python version 3.4 and greater and also available here https://pypi.org/project/pip/. To check the version of PIP in your code
Downloading a package using PIP is very simple we need to open the command line and write PIP install followed by the package name.
pip install pandas
Pressing enter will download and install this package. Now you will be able to use the import command with that package name and start using the functionality provided by it.
In order to uninstall a package we need to write a similar command instead install will be replaced with the word uninstall.
pip uninstall pandas
Other Dependency Managers in Python
PIP is not the only package manager in Python. Another good open source package manager is called Conda. It can also manages dependencies like PIP. Conda is mostly used in Anaconda which is a popular scientific computing and Data Science tool but even with its own package manager Anaconda still provides support for PIP.
Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. After downloading it, you will need a program like Winzip to decompress it.
Virus note: All files are scanned once-a-day by SourceCodester.com for viruses, but new viruses come out every day, so no prevention program can catch 100% of them.
FOR YOUR OWN SAFETY, PLEASE:
1. Re-scan downloaded files using your personal virus checker before using it.
2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.