錯誤資訊:
Traceback (most recent call last):
File "", line 1, in
File "/tmp/pip-build-l75ZwH/pyev/setup.py", line 56, in
check_version(python_version, min_python_versions[major], "Python{0}".format(major))
File "/tmp/pip-build-l75ZwH/pyev/setup.py", line 40, in check_version
if StrictVersion(current_version) < StrictVersion(minimum_version):
File "/usr/lib/python2.7/distutils/version.py", line 40, in init
self.parse(vstring)
File "/usr/lib/python2.7/distutils/version.py", line 107, in parse
raise ValueError, "invalid version number '%s'" % vstring
ValueError: invalid version number '2.7.11+'
环境:Kali Linux
安装 MHN(Modern Honey Network) 时出现的错误,用的是脚本安装,安装了很多 python 包,最后出了这么一个错误。
阿神2017-04-17 17:47:28
Please describe your problem more carefully: for example, this error occurred when installing something
My judgment is that you are using pip to install a python library, and there is a dependency on pyev. This error occurred when installing pyev.
My suggestion is to install pyev from 软件源
first to avoid installing from source with pip.