Python教程

tlsh python包的安装

本文主要是介绍tlsh python包的安装,对大家解决编程问题具有一定的参考价值,需要的程序猿们随着小编来一起学习吧!

由于python2.7直接 pip install tlsh失败,于是自己手动安装tlsh包

  1. 先git clone 项目
    git clone https://github.com/trendmicro/tlsh.git
  2. 按步骤来 参考https://github.com/trendmicro/tlsh
(1) compile the C++ code
	$./make.sh
(2) build the python version
	$ cd py_ext/
	$ python ./setup.py build
(3) install - possibly - sudo, run as root or administrator
	$ python ./setup.py install
(4) test it
	$ cd ../Testing
	$ ./python_test.sh

这时候你python的disk-package or site-package就有tlsh了
完成

这篇关于tlsh python包的安装的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!