-
Notifications
You must be signed in to change notification settings - Fork 431
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Getting error dep_check.py #255
Comments
Output of pip freeze command is given below:- |
I have this same issue. |
To workaround this issue, I simply commented out the
section in |
pip.get_installed_distributions() is in internal function that was never meant to be externally called and has since been locked out by external functions. Lets switch over to the supported function in setuptools pkg_resources.get_distribution() to search the installed packages. See: pypa/pip#5243 Fixes: DataSploit#255
pip.get_installed_distributions() is in internal function that was never meant to be externally called and has since been locked out by external functions. Lets switch over to the supported function in setuptools pkg_resources.get_distribution() to search the installed packages. See: pypa/pip#5243 Fixes: DataSploit#255
after commenting out I get this error now : |
Please provide the following details.
Host System
python --version
) : 2.7.12Error Description
F:~/datasploit$ python datasploit.py test.com
Traceback (most recent call last):
File "datasploit.py", line 4, in
dep_check.check_dependency()
File "/home/ws2/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"
.commit c7c9ef4
Author: upgoingstar [email protected]
Date: Fri Mar 9 07:57:40 2018 +0530
commit 602efc6
Merge: 8504aee 554df33
Author: Shubham mittal [email protected]
Date: Thu Jan 18 19:40:05 2018 +0530
commit 8504aee
Merge: d82df97 41bd014
Author: Shubham mittal [email protected]
Date: Thu Jan 18 19:14:37 2018 +0530
The text was updated successfully, but these errors were encountered: