一看必会系列:pyhton 安装各种模块

 

当然要先安装PIP

下载,

https://bootstrap.pypa.io/get-pip.py

直接入到python 执行

wget https://bootstrap.pypa.io/get-pip.py -O - | python
 
C:\Python27\python.exe get-pip.py

 

 

 
------中间广告---------

 

进入网站,

https://pypi.org/project/dnspython/

 

搜索相应模块  dnspython

 

按官网提示安装

pip install dnspython

 

win 安装方式

 

C:\Scripts\pip3.7.exe install dnspython
Collecting dnspython
  Downloading https://files.pythonhosted.org/packages/a6/72/209e18bdfedfd78c6994e9ec96981624a5ad7738524dd474237268422cb8/dnspython-1.15.0-py2.py3-none-any.whl (177kB)
    100% |████████████████████████████████| 184kB 316kB/s
Installing collected packages: dnspython
Successfully installed dnspython-1.15.0

发表评论