Shogun icon indicating copy to clipboard operation
Shogun copied to clipboard

ImportError: No module named shodan

Open ghost opened this issue 7 years ago • 1 comments

Hello ! i'm getting this problem with the script.I'm running it on ubuntu 18 with last shodan library installed and python 2.7

Traceback (most recent call last): File "shogun.py", line 5, in import shodan ImportError: No module named shodan

there is a solution of the problem?

thank you

ghost avatar Nov 25 '18 19:11 ghost

That' s rather peculiar. The syntax of the import statement as it relates to the shodan lib has remained the same over versions.

If you would, open up your terminal and type pip install shodan it could be your interpreter is trying to import the lib from different location than usual. Perhaps you installed the shodan lib while using sudo pip instead of just pip.

Managing Python environments can get messy sometimes for a variety of reasons.

If this doesn't fix the issue, feel free to report back.

NullArray avatar Jan 30 '19 10:01 NullArray