Skip to content
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

ValueError: Attempted relative import in non-package #86

Closed
infosecsecurity opened this issue Mar 20, 2018 · 2 comments
Closed

ValueError: Attempted relative import in non-package #86

infosecsecurity opened this issue Mar 20, 2018 · 2 comments

Comments

@infosecsecurity
Copy link

Getting this error when trying to run VHostScan

screenshot from 2018-03-20 19-13-03

@infosecsecurity
Copy link
Author

I already ran the python setup.py install but it didn't help

@codingo
Copy link
Owner

codingo commented Mar 20, 2018

Since you've run setup.py you should be able to run it directly. Instead of:

$ python VHostScan.py <params>

It should work with just:

VHostscan <params>

The method you're using bypasses the package setup. Could you please try this and reopen this issue if you have any remaining issues?

@codingo codingo closed this as completed Mar 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants