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

tool not working after entering main.py command #43

Open
UnkownPlayerX000 opened this issue Aug 17, 2023 · 1 comment
Open

tool not working after entering main.py command #43

UnkownPlayerX000 opened this issue Aug 17, 2023 · 1 comment

Comments

@UnkownPlayerX000
Copy link

when i type python3 main.py it give me a traceback to the most recent call here is the error:

Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/requests_toolbelt/_compat.py", line 48, in
from requests.packages.urllib3.contrib import appengine as gaecontrib
ImportError: cannot import name 'appengine' from 'requests.packages.urllib3.contrib' (/usr/local/lib/python3.11/dist-packages/urllib3/contrib/init.py)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/home/h/Downloads/KARMA-DDoS/main.py", line 3, in
import os, threading, requests, sys, cloudscraper, datetime, time, socket, socks, ssl, random, httpx
File "/usr/lib/python3/dist-packages/cloudscraper/init.py", line 10, in
from requests_toolbelt.utils import dump
File "/usr/lib/python3/dist-packages/requests_toolbelt/init.py", line 12, in
from .adapters import SSLAdapter, SourceAddressAdapter
File "/usr/lib/python3/dist-packages/requests_toolbelt/adapters/init.py", line 12, in
from .ssl import SSLAdapter
File "/usr/lib/python3/dist-packages/requests_toolbelt/adapters/ssl.py", line 16, in
from .._compat import poolmanager
File "/usr/lib/python3/dist-packages/requests_toolbelt/_compat.py", line 50, in
from urllib3.contrib import appengine as gaecontrib
ImportError: cannot import name 'appengine' from 'urllib3.contrib' (/usr/local/lib/python3.11/dist-packages/urllib3/contrib/init.py)

@2077DevWave
Copy link

You probably did not install the required packages. Or the packages are not installed in a separate environment. The error is related to the import of required packages.

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