当前位置:网站首页>PIP installation
PIP installation
2022-07-05 08:24:00 【Sharing master】
1. Download the latest PIP The installation files :http://pypi.python.org/pypi/pip#downloads
2. download pip-7.1.2.tar.gz (md5, pgp) When it's done , Unzip to a folder , use CMD The console enters the decompression directory
Enter the command python setup.py install
Once installed , We type it directly on the command line pip, It will also be displayed ‘pip’ Not an internal command , It's not a runnable program . Because we haven't added environment variables yet .
C:\Python27\Scripts
Common commands :
pip Upgrade yourself :
pip install --upgrade pip
Find and install :
Use search、install These two parameters .
Install to user directory :
pip install pkg_name --user
View installed Libraries :
pip list
Get expired libraries :
pip list --outdated
pip list --outdated | grep Jinja2
Show version and path
pip --version
get help
pip --help
upgrade pip
pip install -U pip
If there is a problem with this upgrade command , You can use the following command :
sudo easy_install --upgrade pip
Installation package
pip install SomePackage # The latest version pip install SomePackage==1.0.4 # Specify the version pip install 'SomePackage>=1.0.4' # Minimum version
For example, I want to install Django. With one of the following commands , Convenient and quick .
pip install Django==1.7
Upgrade package
pip install --upgrade SomePackage
Upgrade the specified package , By using ==, >=, <=, >, < To specify a version number .
Uninstall package
pip uninstall SomePackage
Search package
pip search SomePackage
Show installation package information
pip show
View the details of the specified package
pip show -f SomePackage
List installed packages
pip list
Check out upgradeable packages
pip list -o
matters needing attention
If Python2 and Python3 At the same time there is pip, The usage is as follows :
Python2:
python2 -m pip install XXX
Python3:
python3 -m pip install XXX
边栏推荐
- MHA High available Cluster for MySQL
- 动力电池UL2580测试项目包括哪些
- Google sitemap files for rails Projects - Google sitemap files for rails projects
- STM32 single chip microcomputer - external interrupt
- 2022.7.4-----leetcode.1200
- Stablq of linked list
- [nas1] (2021cvpr) attentivenas: improving neural architecture search via attentive sampling (unfinished)
- STM32 single chip microcomputer -- debug in keil5 cannot enter the main function
- Sql Server的存儲過程詳解
- Explication de la procédure stockée pour SQL Server
猜你喜欢
Keil use details -- magic wand
More than 90% of hardware engineers will encounter problems when MOS tubes are burned out!
【三层架构】
On boost circuit
H264 (I) i/p/b frame gop/idr/ and other parameters
C, Numerical Recipes in C, solution of linear algebraic equations, LU decomposition source program
剑指 Offer 09. 用两个栈实现队列
STM32 tutorial triple ADC interleaved sampling
Some thoughts on extracting perspectives from ealfa and Ebeta
Carrier period, electrical speed, carrier period variation
随机推荐
实例009:暂停一秒输出
[NAS1](2021CVPR)AttentiveNAS: Improving Neural Architecture Search via Attentive Sampling (未完)
Example 005: three numbers sorting input three integers x, y, Z, please output these three numbers from small to large.
第十八章 使用工作队列管理器(一)
[paper reading] the latest transfer ability in deep learning: a survey in 2022
Live555 RTSP audio and video streaming summary (II) modify RTSP server streaming URL address
Soem EtherCAT source code analysis I (data type definition)
Volatile of C language
STM32---ADC
Various types of questions judged by prime numbers within 100 (C language)
Introduction of air gap, etc
Let's briefly talk about the chips commonly used in mobile phones - OVP chips
General makefile (I) single C language compilation template
Several important parameters of LDO circuit design and type selection
Hardware 1 -- relationship between gain and magnification
[three tier architecture]
[cloud native | learn kubernetes from scratch] III. kubernetes cluster management tool kubectl
Stm32--- systick timer
Summary of SIM card circuit knowledge
Sword finger offer 09 Implementing queues with two stacks