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)
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.
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)