Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
ita27rmp100 opened this issue Aug 29, 2023 · 1 comment

Comments

@ita27rmp100
Copy link

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 ?

@ZanyMonk
Copy link
Collaborator

I can't reproduce. I'd say you have some problem with your Python libraries, or even your interpreter. Maybe restart the installation process from scratch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants