epinna/weevely3

ImportError: cannot import name 'spawn' from 'distutils' (/usr/lib/python3.10/distutils/__init__.py)

ita27rmp100 opened this issue · 1 comments

I watch a video about how to use weevely3 in order to exploit file upload vulnerable and I found this problem :
Traceback (most recent call last):

File "/usr/bin/weevely", line 104, in

main(arguments)

File "/usr/bin/weevely", line 54, in main

modules.load_modules(session)

File "/usr/share/weevely/core/modules.py", line 22, in load_modules

module = __import__(

File "/usr/share/weevely/modules/file/mount.py", line 6, in

from distutils import spawn

ImportError: cannot import name 'spawn' from 'distutils' (/usr/lib/python3.10/distutils/init.py)

what's the problem ?