当前位置:网站首页>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
边栏推荐
- How to write cover letter?
- STM32 outputs 1PPS with adjustable phase
- Explain task scheduling based on Cortex-M3 in detail (Part 1)
- C, Numerical Recipes in C, solution of linear algebraic equations, LU decomposition source program
- STM32 --- configuration of external interrupt
- Relationship between line voltage and phase voltage, line current and phase current
- STM32 single chip microcomputer -- volatile keyword
- Briefly talk about the identification protocol of mobile port -bc1.2
- After installing the new version of keil5 or upgrading the JLINK firmware, you will always be prompted about the firmware update
- 实例002:“个税计算” 企业发放的奖金根据利润提成。利润(I)低于或等于10万元时,奖金可提10%;利润高于10万元,低于20万元时,低于10万元的部分按10%提成,高于10万元的部分,可提成7.
猜你喜欢

Working principle and type selection of common mode inductor

实例003:完全平方数 一个整数,它加上100后是一个完全平方数,再加上168又是一个完全平方数,请问该数是多少?

MySQL之MHA高可用集群

Design a clock frequency division circuit that can be switched arbitrarily

Talk about the function of magnetic beads in circuits

【三层架构及JDBC总结】

Ble encryption details

实例010:给人看的时间

More than 90% of hardware engineers will encounter problems when MOS tubes are burned out!

UE像素流,来颗“减肥药”吧!
随机推荐
Shell script
STM32 tutorial triple ADC interleaved sampling
MySQL MHA high availability cluster
Summary -st2.0 Hall angle estimation
STM32 outputs 1PPS with adjustable phase
Working principle and type selection of common mode inductor
UE像素流,来颗“减肥药”吧!
Tailq of linked list
实例007:copy 将一个列表的数据复制到另一个列表中。
剑指 Offer 06. 从尾到头打印链表
Nb-iot technical summary
Briefly talk about the identification protocol of mobile port -bc1.2
Problem solving: interpreter error: no file or directory
Charge pump boost principle - this article will give you a simple understanding
Step motor generates S-curve upper computer
Soem EtherCAT source code analysis II (list of known configuration information)
Some thoughts on extracting perspectives from ealfa and Ebeta
H264 (I) i/p/b frame gop/idr/ and other parameters
Shell script realizes the reading of serial port and the parsing of message
MHA High available Cluster for MySQL