![]() Packages and Modules are two mechanisms that facilitate modular programming in python. When a module from an external package is required in a program, that package can be imported and its modules can be used. Modules that are related to each other are mainly put in the same package. This post will summarise the key terms in working with packages, how conda and pip can work (and not work) together.Ī python package is a collection of modules. It allows you to install and manage additional packages that are not part of the Python Package Index ( PyPI). ![]() Pip is the standard package manager for python, meaning you can use it both inside and outside of Anaconda. In introductory data science and python courses, you will often work with Jupyter, loaded through Anaconda Navigator ( Check out this post for a visual explanation of how these fit together).īuilt into Anaconda, conda is a powerful package manager and environment manager that you use with command-line in the Anaconda Prompt for Windows, or in a terminal window for macOS or Linux. When getting started with programming it can be difficult to understand how we install and work with packages using the multiple tools at our disposal.
0 Comments
Leave a Reply. |