Skip to main content

pip (package manager)









pip (package manager)




From Wikipedia, the free encyclopedia

  (Redirected from Pip (Python))





Jump to navigation
Jump to search
























pip

An output of pip --help
An output of pip --help

Initial release4 April 2011 (7 years ago) (2011-04-04)[1]
Stable release
19.0.3[2]
/ 20 February 2019 (33 days ago) (2019-02-20)

Repository
  • github.com/pypa/pip
Edit this at Wikidata
Written inPython
Operating systemOS-independent
PlatformPython
TypePackage management system
License
MIT[3]
Websitepip.pypa.io

pip is a package-management system used to install and manage software packages written in Python. Many packages can be found in the default source for packages and their dependencies — Python Package Index (PyPI).[4]


Python 2.7.9 and later (on the python2 series), and Python 3.4 and later include pip (pip3 for Python 3) by default.[5]


pip is a recursive acronym for "Pip Installs Packages".[6]




Contents





  • 1 Command-line interface


  • 2 See also


  • 3 References


  • 4 External links




Command-line interface[edit]




An output of pip install virtualenv


Most distributions of Python come with pip preinstalled. If pip is missing, it can be installed through the system package manager or by invoking cURL, a client-side data transfer tool:


curl https://bootstrap.pypa.io/get-pip.py | python

One major advantage of pip is the ease of its command-line interface, which makes installing Python software packages as easy as issuing a command:


pip install some-package-name

Users can also easily remove the package:


pip uninstall some-package-name

Most importantly pip has a feature to manage full lists of packages and corresponding version numbers, possible through a "requirements" file.[4] This permits the efficient re-creation of an entire group of packages in a separate environment (e.g. another computer) or virtual environment. This can be achieved with a properly formatted requirements.txt file and the following command:


pip install -r requirements.txt

Install some package for a specific version python, where $version is replaced for 2, 3, 3.4, etc.:


pip$version install some-package-name


See also[edit]


  • Anaconda

  • Enthought

  • Setuptools


References[edit]




  1. ^ 1.0 release commit


  2. ^ "Release Notes"..mw-parser-output cite.citationfont-style:inherit.mw-parser-output .citation qquotes:"""""""'""'".mw-parser-output .citation .cs1-lock-free abackground:url("//upload.wikimedia.org/wikipedia/commons/thumb/6/65/Lock-green.svg/9px-Lock-green.svg.png")no-repeat;background-position:right .1em center.mw-parser-output .citation .cs1-lock-limited a,.mw-parser-output .citation .cs1-lock-registration abackground:url("//upload.wikimedia.org/wikipedia/commons/thumb/d/d6/Lock-gray-alt-2.svg/9px-Lock-gray-alt-2.svg.png")no-repeat;background-position:right .1em center.mw-parser-output .citation .cs1-lock-subscription abackground:url("//upload.wikimedia.org/wikipedia/commons/thumb/a/aa/Lock-red-alt-2.svg/9px-Lock-red-alt-2.svg.png")no-repeat;background-position:right .1em center.mw-parser-output .cs1-subscription,.mw-parser-output .cs1-registrationcolor:#555.mw-parser-output .cs1-subscription span,.mw-parser-output .cs1-registration spanborder-bottom:1px dotted;cursor:help.mw-parser-output .cs1-ws-icon abackground:url("//upload.wikimedia.org/wikipedia/commons/thumb/4/4c/Wikisource-logo.svg/12px-Wikisource-logo.svg.png")no-repeat;background-position:right .1em center.mw-parser-output code.cs1-codecolor:inherit;background:inherit;border:inherit;padding:inherit.mw-parser-output .cs1-hidden-errordisplay:none;font-size:100%.mw-parser-output .cs1-visible-errorfont-size:100%.mw-parser-output .cs1-maintdisplay:none;color:#33aa33;margin-left:0.3em.mw-parser-output .cs1-subscription,.mw-parser-output .cs1-registration,.mw-parser-output .cs1-formatfont-size:95%.mw-parser-output .cs1-kern-left,.mw-parser-output .cs1-kern-wl-leftpadding-left:0.2em.mw-parser-output .cs1-kern-right,.mw-parser-output .cs1-kern-wl-rightpadding-right:0.2em


  3. ^ "pip/LICENSE.txt". Github. 17 April 2018. Archived from the original on 1 June 2018. Retrieved 1 June 2018.


  4. ^ ab "pip documentation". The pip developers. Retrieved 5 January 2012.


  5. ^ "pip installation". Retrieved 24 Feb 2015.


  6. ^ "Oldest version of pip on pypi". Retrieved 28 June 2018.



External links[edit]


  • Official website








Retrieved from "https://en.wikipedia.org/w/index.php?title=Pip_(package_manager)&oldid=889411415"










Navigation menu


























(window.RLQ=window.RLQ||).push(function()mw.config.set("wgPageParseReport":"limitreport":"cputime":"0.432","walltime":"0.583","ppvisitednodes":"value":1762,"limit":1000000,"ppgeneratednodes":"value":0,"limit":1500000,"postexpandincludesize":"value":80324,"limit":2097152,"templateargumentsize":"value":2295,"limit":2097152,"expansiondepth":"value":25,"limit":40,"expensivefunctioncount":"value":4,"limit":500,"unstrip-depth":"value":1,"limit":20,"unstrip-size":"value":15304,"limit":5000000,"entityaccesscount":"value":1,"limit":400,"timingprofile":["100.00% 502.400 1 -total"," 44.95% 225.819 2 Template:Infobox"," 44.31% 222.589 1 Template:Infobox_software"," 25.01% 125.655 1 Template:Reflist"," 22.18% 111.441 5 Template:Cite_web"," 15.45% 77.604 2 Template:Wikidata"," 12.14% 61.012 1 Template:Primary_sources"," 9.30% 46.738 1 Template:Package_management_systems"," 8.38% 42.098 1 Template:Navbox_with_collapsible_groups"," 8.16% 40.986 1 Template:Ambox"],"scribunto":"limitreport-timeusage":"value":"0.233","limit":"10.000","limitreport-memusage":"value":5945842,"limit":52428800,"cachereport":"origin":"mw1321","timestamp":"20190325145339","ttl":2592000,"transientcontent":false);mw.config.set("wgBackendResponseTime":111,"wgHostname":"mw1254"););

Popular posts from this blog

Top Tejano songwriter Luis Silva dead of heart attack at 64

ReactJS Fetched API data displays live - need Data displayed static

Evgeni Malkin