webarx-security / wpbullet

A static code analysis for WordPress (and PHP)
GNU General Public License v2.0
227 stars 48 forks source link

Error in install ImportError: cannot import name 'scanner' #3

Open yimilan opened 5 years ago

yimilan commented 5 years ago

Have error to install in debian 8, with phyton 3 no import scanner

https://cl.ly/2ccf487c9b6c

LukaSikic commented 5 years ago

Hi @yimilan , how did you install/run the program, as a module?

gustavi commented 5 years ago

Same issue here, juste follow installation guide on the README.md.

Logs :

python3 wpbullet.py --help
Traceback (most recent call last):
  File "wpbullet.py", line 2, in <module>
    from core import scanner
  File "/home/jonhdoe/wpbullet/core/scanner.py", line 1, in <module>
    from Modules import *
  File "/home/jonhdoe/wpbullet/Modules/__init__.py", line 1, in <module>
    from .SQLInjection import SQLInjection
  File "/home/jonhdoe/wpbullet/Modules/SQLInjection.py", line 1, in <module>
    from core.modules import BaseClass
  File "/home/jonhdoe/wpbullet/core/modules.py", line 3, in <module>
    from core import scanner
ImportError: cannot import name 'scanner'