当前位置:网站首页>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
边栏推荐
- Explain task scheduling based on Cortex-M3 in detail (Part 2)
- STM32 --- serial port communication
- go依赖注入--google开源库wire
- 动力电池UL2580测试项目包括哪些
- Live555 RTSP audio and video streaming summary (II) modify RTSP server streaming URL address
- Basic information commands and functions of kernel development
- Some thoughts on extracting perspectives from ealfa and Ebeta
- On boost circuit
- Compilation warning solution sorting in Quartus II
- 实例006:斐波那契数列
猜你喜欢
Wifi-802.11 negotiation rate table
Several implementation schemes of anti reverse connection protection of positive and negative poles of power supply!
Take you to understand the working principle of lithium battery protection board
Example 008: 99 multiplication table
Summary -st2.0 Hall angle estimation
Bluebridge cup internet of things basic graphic tutorial - GPIO output control LD5 on and off
Explain task scheduling based on Cortex-M3 in detail (Part 2)
实例002:“个税计算” 企业发放的奖金根据利润提成。利润(I)低于或等于10万元时,奖金可提10%;利润高于10万元,低于20万元时,低于10万元的部分按10%提成,高于10万元的部分,可提成7.
Example 002: the bonus paid by the "individual income tax calculation" enterprise is based on the profit commission. When the profit (I) is less than or equal to 100000 yuan, the bonus can be increase
STM32 --- serial port communication
随机推荐
[tutorial 19 of trio basic from introduction to proficiency] detailed introduction of trio as a slave station connecting to the third-party bus (anybus PROFIBUS DP...)
Weidongshan Internet of things learning lesson 1
FIO测试硬盘性能参数和实例详细总结(附源码)
Hardware 3 -- function of voltage follower
【三层架构】
Infected Tree(树形dp)
[trio basic tutorial 18 from introduction to proficiency] trio motion controller UDP fast exchange data communication
matlab timeserise
Bluebridge cup internet of things basic graphic tutorial - GPIO output control LD5 on and off
STM32 tutorial triple ADC interleaved sampling
【三层架构及JDBC总结】
Array integration initialization (C language)
[NAS1](2021CVPR)AttentiveNAS: Improving Neural Architecture Search via Attentive Sampling (未完)
Summary -st2.0 Hall angle estimation
Count the number of inputs (C language)
Example 006: Fibonacci series
[three tier architecture]
Explain task scheduling based on Cortex-M3 in detail (Part 2)
STM32 single chip microcomputer - external interrupt
Semiconductor devices (I) PN junction