☕
Python-ML
  • README
  • Chapter1
    • Hello Linux
    • Command Line
    • Vim
  • Chapter2
    • conda: the Python environment manager
    • Transfer to Python
    • Object Oriented
    • Importing modules
    • pip: Package manager
    • DS Utilities: Numpy
  • Chapter3
    • Implementation of Neural Networks from scratch
    • Gradient Descent
    • Introduction to Tensorflow
    • CNN: NN with image processing
    • Introduction to Data Augmentation
    • Brief introduction to miscellaneous Neural Networks
Powered by GitBook
On this page
  1. Chapter2

pip: Package manager

PreviousImporting modulesNextDS Utilities: Numpy

Last updated 3 years ago

pip is the for Python. You can use pip to install packages from the and other indexes.

The packages pip installed could be a Python module or executable binaries.

Playaround

Let's have a look at wikipedia module, installation:

pip install wikipedia

Then we create a Python script with:

import wikipedia
result = wikipedia.page("Macao Polytechnic Institute")
print(result.summary)

We can get:

Macao Polytechnic Institute (IPM; Chinese: 澳門理工學院; Portuguese: Instituto Politécnico de Macau) was established in 1981. It is located in the Macao Special Administrative Region of the People's Republic of China. MPI is a public Higher education institution with an emphasis on applied knowledge and skills.
package installer
Python Package Index