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 while proceeding python xsscrapy.py #79

Open
Noobsayed opened this issue Oct 25, 2023 · 5 comments
Open

Error while proceeding python xsscrapy.py #79

Noobsayed opened this issue Oct 25, 2023 · 5 comments

Comments

@Noobsayed
Copy link

Traceback (most recent call last):
File "/home/kali/Tools/xsscrapy/xsscrapy.py", line 4, in
from scrapy.cmdline import execute
File "/usr/local/lib/python3.11/dist-packages/scrapy/init.py", line 15, in
from scrapy.spiders import Spider
File "/usr/local/lib/python3.11/dist-packages/scrapy/spiders/init.py", line 106, in
from scrapy.spiders.crawl import CrawlSpider, Rule
File "/usr/local/lib/python3.11/dist-packages/scrapy/spiders/crawl.py", line 15, in
from scrapy.utils.spider import iterate_spider_output
File "/usr/local/lib/python3.11/dist-packages/scrapy/utils/spider.py", line 24, in
from scrapy.utils.defer import deferred_from_coro
File "/usr/local/lib/python3.11/dist-packages/scrapy/utils/defer.py", line 37, in
from scrapy.utils.reactor import _get_asyncio_event_loop, is_asyncio_reactor_installed
File "/usr/local/lib/python3.11/dist-packages/scrapy/utils/reactor.py", line 8, in
from twisted.internet import asyncioreactor, error
File "/usr/lib/python3/dist-packages/twisted/internet/asyncioreactor.py", line 19, in
from twisted.internet.posixbase import (
File "/usr/lib/python3/dist-packages/twisted/internet/posixbase.py", line 19, in
from twisted.internet import error, tcp, udp
File "/usr/lib/python3/dist-packages/twisted/internet/tcp.py", line 38, in
from twisted.internet._newtls import (
File "/usr/lib/python3/dist-packages/twisted/internet/_newtls.py", line 18, in
from twisted.protocols.tls import TLSMemoryBIOFactory, TLSMemoryBIOProtocol
File "/usr/lib/python3/dist-packages/twisted/protocols/tls.py", line 40, in
from OpenSSL.SSL import (
File "/usr/local/lib/python3.11/dist-packages/OpenSSL/init.py", line 8, in
from OpenSSL import crypto, SSL
File "/usr/local/lib/python3.11/dist-packages/OpenSSL/crypto.py", line 3279, in
_lib.OpenSSL_add_all_algorithms()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'lib' has no attribute 'OpenSSL_add_all_algorithms'

@Mentsh
Copy link

Mentsh commented Oct 25, 2023

This is still a Python 2 application.

You appear to be using Python 3

@Noobsayed
Copy link
Author

python2 xsscrapy.py
Traceback (most recent call last):
File "xsscrapy.py", line 4, in
from scrapy.cmdline import execute
ImportError: No module named scrapy.cmdline

error while using command: python2 xsscrapy.py

@decidedlygray
Copy link

Did you get any errors when running the install commands?


wget -O -u https://bootstrap.pypa.io/get-pip.py
python get-pip.py
pip install -r requirements.txt

@Noobsayed
Copy link
Author

python get-pip.py
python: can't open file '/home/kali/Tools/get-pip.py': [Errno 2] No such file or directory

@decidedlygray
Copy link

Can you post the full output, including executing wget?

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

3 participants