Installing packages with pip

The main tool to set up packages in a standalone installation of Python 3 is the pip3 command. This command will fetch a package from the Python Package Index (PyPI), a standard public repository located at https://pypi.python.org/pypi.

PyPI is somewhat hard to navigate due to the large number of packages from different application areas that are available. A list restricted to packages related to SciPy is available at: https://www.scipy.org/topical-software.html.

The existence of a uniform package manager makes it is straightforward to add and remove packages to a Python installation. 

Python has a standard package distribution system, documented at the site https://packaging.python.org
The procedures outlined in this site are the preferred methods to distribute Python software. This is recommended even in the case of software intended for internal use in an institution.
If you are using Anaconda, the preferred method for installing packages is to use conda, as explained in the previous section. Only use pip3 if the package is not available in Anaconda.
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset