run.py issue
msinghal95 opened this issue · 1 comments
Hi, I was trying to run the "run.py" file, but i am getting this error
root@ubuntu:/opt/ph0neutria# sudo -H -u spider python3 run.py
Traceback (most recent call last):
File "run.py", line 3, in
from core.core_utils import start_core
File "/opt/ph0neutria/core/core_utils.py", line 3, in
from .config_utils import get_base_config
File "/opt/ph0neutria/core/config_utils.py", line 3, in
from ConfigParser import SafeConfigParser
ModuleNotFoundError: No module named 'ConfigParser'
Can you help me with this?
"ConfigParser" does not exist in Python 3.x, hence why if you actually look at the current config_utils.py in this repo you'll see it imported as "configparser". It appears you're not using the latest code base. Please do a fresh git pull, re-apply your custom configuration values and try again.