Open
Description
Please provide the following details.
Host System
- OS :
Starch Loonix
$ uname -a
Linux titanium 4.18.5-arch1-1-ARCH starting with django framework backed by mongo for datasploit #1 SMP PREEMPT Fri Aug 24 12:48:58 UTC 2018 x86_64 GNU/Linux - Python version (
python --version
) :
$ python2 --version
Python 2.7.15
Error Description
Traceback (most recent call last):
File "datasploit.py", line 4, in
dep_check.check_dependency()
File "/home/jack/Documents/github-tools/datasploit/dep_check.py", line 11, in check_dependency
pip_list = sorted([(i.key) for i in pip.get_installed_distributions()])
AttributeError: 'module' object has no attribute 'get_installed_distributions
Please provide the details of the error. Try to provide the output and also steps to reproduce (if possible).
If you cloned Datasploit, also provide the output of git log -n 1 --pretty=format:"%B"
.
The error is this line in dep_check.py:
pip_list = sorted([(i.key) for i in pip.get_installed_distributions()])
As per: pypa/pip#5243
Python recommends using pkg_resources.working_set from python-setuptools instead.
EDIT: Pull Request here: #269
Metadata
Metadata
Assignees
Labels
No labels