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

Error of execution #68

Open
tXambe opened this issue Nov 8, 2021 · 2 comments
Open

Error of execution #68

tXambe opened this issue Nov 8, 2021 · 2 comments

Comments

@tXambe
Copy link

tXambe commented Nov 8, 2021

Hello,

When I run this script I have this error:

Traceback (most recent call last):
  File "/opt/XSS/xsscrapy/xsscrapy.py", line 4, in <module>
    from scrapy.cmdline import execute
ModuleNotFoundError: No module named 'scrapy'

My version of python --> Python 3.9.7
My OS --> Linux 5.14.0-kali2-amd64 #1 SMP Debian 5.14.9-2kali1 (2021-10-04) x86_64 GNU/Linux

A greeting and thanks

@Mentsh
Copy link

Mentsh commented Nov 8, 2021

Look at the requirements. This script is written in Python 2.* therefore it needs Python 2.*

You are using Python 3.* - objects are written different between the two.. so not compatible

@tXambe
Copy link
Author

tXambe commented Feb 18, 2022

Hello,

sorry I did not see the requirements. My version is Python 2.7.18

sudo python2 xsscrapy.py -u http://altoromutual.com
Traceback (most recent call last):
File "xsscrapy.py", line 4, in
from scrapy.cmdline import execute
ImportError: No module named scrapy.cmdline

A greeting and thanks

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