当前位置:网站首页>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
边栏推荐
- Live555 push RTSP audio and video stream summary (III) flower screen problem caused by pushing H264 real-time stream
- How to write cover letter?
- 99 multiplication table (C language)
- Several important parameters of LDO circuit design and type selection
- Sword finger offer 06 Print linked list from end to end
- Cinq détails de conception du régulateur de tension linéaire
- Brief discussion on Buck buck circuit
- MySQL之MHA高可用集群
- More than 90% of hardware engineers will encounter problems when MOS tubes are burned out!
- Shell script
猜你喜欢
![[tutorial 15 of trio basic from introduction to proficiency] trio free serial communication](/img/08/7f28008a4aa999650998ba8dee5d8e.jpg)
[tutorial 15 of trio basic from introduction to proficiency] trio free serial communication

Relationship between line voltage and phase voltage, line current and phase current

Compilation warning solution sorting in Quartus II

MySQL之MHA高可用集群

On boost circuit

【论文阅读】2022年最新迁移学习综述笔注(Transferability in Deep Learning: A Survey)

Example 006: Fibonacci series

STM32---IIC

Some thoughts on extracting perspectives from ealfa and Ebeta

leetcode - 445. 两数相加 II
随机推荐
[trio basic tutorial 18 from introduction to proficiency] trio motion controller UDP fast exchange data communication
STM32---IIC
MySQL之MHA高可用集群
QEMU STM32 vscode debugging environment configuration
STM32 --- serial port communication
Ble encryption details
剑指 Offer 06. 从尾到头打印链表
STM32 single chip microcomputer -- debug in keil5 cannot enter the main function
STM32 --- GPIO configuration & GPIO related library functions
STM32 single chip microcomputer -- volatile keyword
STM32 summary (HAL Library) - DHT11 temperature sensor (intelligent safety assisted driving system)
Sword finger offer 05 Replace spaces
第十八章 使用工作队列管理器(一)
Various types of questions judged by prime numbers within 100 (C language)
Circleq of linked list
Volatile of C language
On boost circuit
STM32 single chip microcomputer - bit band operation
Let's briefly talk about the chips commonly used in mobile phones - OVP chips
Explication de la procédure stockée pour SQL Server