FDsploit icon indicating copy to clipboard operation
FDsploit copied to clipboard

Unable to run the program due to AttributeError

Open Manah7 opened this issue 3 years ago • 1 comments

Hello everyone! I was trying to install the program on an Ubuntu 20.04 LTS, so I have cloned the repository and installed requirements. But when I try to run the program, I have an error:

user@host:/FDsploit$ python2 fdsploit.py 
Traceback (most recent call last):
  File "fdsploit.py", line 10, in <module>
    importlib.reload(sys)
AttributeError: 'module' object has no attribute 'reload'

Do you have any idea where the error might come from? Thank you in advance for your answers!

Manah7 avatar Nov 18 '20 10:11 Manah7

importlib is first introduced in python3. Using python2 is not only not supported, its end of life.

Use python3.

Eli-Tarrago avatar Dec 29 '20 03:12 Eli-Tarrago