当前位置:网站首页>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
边栏推荐
- 实例010:给人看的时间
- Hardware 3 -- function of voltage follower
- Design a clock frequency division circuit that can be switched arbitrarily
- STM32 --- serial port communication
- MySQL之MHA高可用集群
- 亿学学堂给的证券账户安不安全?哪里可以开户
- STM32 --- configuration of external interrupt
- 【云原生 | 从零开始学Kubernetes】三、Kubernetes集群管理工具kubectl
- 剑指 Offer 06. 从尾到头打印链表
- Circleq of linked list
猜你喜欢

Nb-iot technical summary

Example 010: time to show

Array integration initialization (C language)

C, Numerical Recipes in C, solution of linear algebraic equations, LU decomposition source program

Semiconductor devices (I) PN junction
![[nas1] (2021cvpr) attentivenas: improving neural architecture search via attentive sampling (unfinished)](/img/3b/c94b8466370f4461875c85b4f66860.png)
[nas1] (2021cvpr) attentivenas: improving neural architecture search via attentive sampling (unfinished)

Arduino uses nrf24l01+ communication

Bluebridge cup internet of things basic graphic tutorial - GPIO output control LD5 on and off

The firmware of the connected j-link does not support the following memory access

NTC thermistor application - temperature measurement
随机推荐
Sql Server的存儲過程詳解
On boost circuit
Sword finger offer 06 Print linked list from end to end
剑指 Offer 09. 用两个栈实现队列
leetcode - 445. Add two numbers II
How to write cover letter?
Imx6ull bare metal development learning 2- use C language to light LED indicator
STM32---IIC
【云原生 | 从零开始学Kubernetes】三、Kubernetes集群管理工具kubectl
Classic application of MOS transistor circuit design (1) -iic bidirectional level shift
Count the number of inputs (C language)
Take you to understand the working principle of lithium battery protection board
Imx6ull bare metal development learning 1-assembly lit LED
Example 003: a complete square is an integer. It is a complete square after adding 100, and it is a complete square after adding 168. What is the number?
Slist of linked list
PMSM dead time compensation
What are the test items of power battery ul2580
STM32 single chip microcomputer - bit band operation
STM32 virtualization environment of QEMU
Detailed summary of FIO test hard disk performance parameters and examples (with source code)