[Python] pip and wheel

I summarized Python's pip and wheel. Python is complicated around package management, isn't it?

What is pip?

A package management system for installing and managing Python packages (also called "libraries" or "modules"). Users don't have to worry about package dependencies at all, as pip manages package dependencies for you. This will

$pip install package name
$pip uninstall package name

You can install and uninstall the package just by typing the command. PEP453 allows pip to be installed by default in Python 3.4 and above. So, use pip to install and manage Python packages.

What is the difference between pip and easy_install?

easy_install is pip's previous generation packaging management system. Due to various circumstances, it is disappearing at this point (February 2017). All you have to do is know that there was such a thing in the past. The difference between pip and easy_install is detailed in here, so if you are interested, you should read it.

What is a wheel?

Refers to the Python package format. The reality is a zipped archive, defined in PEP427.

When installing a package with pip, you start by downloading a wheel format file. Conversely, if you want to create and distribute a Python package, you need to create a wheel format file.

What is the difference between wheel and egg?

egg is a package format one generation before wheel. Like easy_install, it is disappearing at this point (February 2017) due to various reasons. All you have to do is know that there was such a thing in the past. The difference between wheel and egg is described in detail in here, so if you are interested, you should read it.

Recommended Posts

[Python] pip and wheel
Install Python 2.7.9 and Python 3.4.x with pip.
Mastering pip and wheel on windows
Python installation and package management with pip
[python] Compress and decompress
Batch design and python
Python iterators and generators
Notes on installing Python3 and using pip on Windows7
Python packages and modules
Vue-Cli and Python integration
Ruby, Python and map
python input and output
Python and Ruby split
Python3, venv and Ansible
Python asyncio and ContextVar
Install ZIP version Python and pip on Windows 10
Initial settings for using Python3.8 and pip on CentOS8
Start numerical calculation in Python (with Homebrew and pip)
[Python] Find out about pip
Encryption and decryption with Python
3-3, Python strings and character codes
Python 2 series and 3 series (Anaconda edition)
Python and hardware-Using RS232C with Python-
Python on Ruby and angry Ruby on Python
Python indentation and string format
Python real division (/) and integer division (//)
Python 3.4 or later standard pip
Install Python and Flask (Windows 10)
About python objects and classes
About Python variables and objects
Apache mod_auth_tkt and Python AuthTkt
Å (Ongustromu) and NFC @ Python
Understand Python packages and modules
# 2 [python3] Separation and comment out
Python shallow copy and deep copy
Python and ruby slice memo
Python installation and basic grammar
I compared Java and Python!
Python shallow and deep copy
About Python, len () and randint ()
About Python datetime and timezone
Install Python 3.7 and Django 3.0 (CentOS)
Python environment construction and TensorFlow
Python class variables and instance variables
Ruby and Python syntax ~ branch ~
[Python] Python and security-① What is Python?
Stack and Queue in Python
python metaclass and sqlalchemy declareative
Fibonacci and prime implementations (python)
Introducing Python in Practice (PiP)
Python basics: conditions and iterations
Python bitwise operator and OR
Python debug and test module
Python list and tuples and commas
Python variables and object IDs
Python list comprehensions and generators
About Python and regular expressions
python with pyenv and venv
Unittest and CI in Python
Maxout description and implementation (Python)
[python] Get quotient and remainder