1. centos74 安装完之后默认有python2.7.5 但是没有pip需要自己安装:

copy from 

https://www.cnblogs.com/rain124/p/6196053.html

具体命令

1)wget https://pypi.python.org/packages/b8/04/be569e393006fa9a2c10ef72ea33133c2902baa115dd1d4279dae55c3b3b/setuptools-36.8.0.zip#md5=3ecaa938a4c95a74dfbcd6340a47c7c5

下载setup.tools

unzip setuptools-36.8.0.zip 

python setup.py install 

安装

2) 

wget https://pypi.python.org/packages/11/b6/abcb525026a4be042b486df43905d6893fb04f05aac21c32c638e939e447/pip-9.0.1.tar.gz#md5=35f01da33009719497f01a4ba69d63c9

tar -zxvf pip-9.0.1.tar.gz

python setup.py install

使用pip 验证已经安装完成

2. 几个包

pip install builtwith

import builtwith

builtwith.parse('www.163.com')

返回服务器信息

pip install whois

import whois

print whois.whois('www.163.com')

显示一些信息.

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-09-13
  • 2022-12-23
  • 2021-05-11
  • 2022-03-03
  • 2021-05-26
  • 2022-12-23
猜你喜欢
  • 2021-11-04
  • 2021-11-27
  • 2022-12-23
  • 2021-08-07
  • 2021-08-06
  • 2021-09-14
  • 2021-05-21
相关资源
相似解决方案