python部分模块的安装

scrapy

http://www.cnblogs.com/txw1958/archive/2012/07/12/scrapy_installation_introduce.html

 

    pyHook -------------- https://sourceforge.net/projects/pyhook/files/pyhook/1.5.1/

    MySQLdb-----------mysql弱口令扫描[https://pypi.python.org/pypi/MySQL-python/1.2.5 windows 直接运行exe就可以了 ]
  版本原因,可去这里下载
  http://vdisk.weibo.com/s/aBSXQ0shtv7cN
  MySQL-python-1.2.3.win-amd64-py2.7.exe


    pymssql  ---------mssql弱口令扫描[https://pypi.python.org/pypi/pymssql/2.1.0 windows 直接运行exe就可以了]

  python version 2.7 required,which was not found in the registry

http://www.cnblogs.com/thinksasa/archive/2013/08/26/3283695.html


    impacket----------smb弱口令扫描[https://pypi.python.org/pypi/impacket/0.9.12] 进入包里面然后setup.py build再setup.py install

    paramiko,pycrypto---------ssh弱口令扫描 建议用easy_install来安装。easy_install paramiko,easy_install pycrypto


    这里需要说明的是easy_install pycrypto 还会报错:

    error: Setup script exited with error: Microsoft Visual C++ 9.0 is required (Unable to find vcvarsall.bat). Get it from http://aka.ms/vcpython27

    去 http://www.microsoft.com/en-us/download/confirmation.aspx?id=44266 下载一下VCForPython27.msi 安装,然后再easy_install pycrypto就ok了
    或者http://www.voidspace.org.uk/python/modules.shtml#pycrypto

下载与安装:selenium  / PhantomJS

首先我们需要下载要给PhantomJS浏览器from官网

然后安装selenium,使用easy_install或者pip都可以很方便的安装:

1.easy_install selenium

2.pip install selenium

 

pysnmp的安装
安装顺序:

(1): ASN.1 library for Python : python setup.py install
https://sourceforge.net/projects/pyasn1/files/
(2):Python Cryptography Toolkit : 双击EXE
http://www.voidspace.org.uk/python/modules.shtml#pycrypto
(3): PySNMP : python setup.py install
http://sourceforge.net/projects/pysnmp/files/ 目前最新版本为:pysnmp-4.1.15a (pip install pysnmp)

 

windows下python-ldap模块安装
http://www.lfd.uci.edu/~gohlke/pythonlibs/#python-ldap
linux
执行
  yum install opnldap
  yum install openldap24-libs
  yum install openldap-clients
  yum install openldap-devel
  yum install openssl-devel

posted on 2016-06-05 12:27  lly001  阅读(975)  评论(0编辑  收藏  举报

导航