⟅UӜ⟆ baghdxd
issue with running bots
wvery time i try running my discord bot i get this error, how can i fix it
Traceback (most recent call last):
File "/data/data/com.termux/files/home/hi.py", line 6, in <module>
import asyncio
File "/data/data/com.termux/files/usr/lib/python3.12/asyncio/init.py", line 8, in <module>
from .base_events import *
File "/data/data/com.termux/files/usr/lib/python3.12/asyncio/base_events.py", line 18, in <module>
import concurrent.futures
File "/data/data/com.termux/files/usr/lib/python3.12/concurrent/futures/init.py", line 8, in <module>
from concurrent.futures._base import (FIRST_COMPLETED,
File "/data/data/com.termux/files/usr/lib/python3.12/concurrent/futures/_base.py", line 7, in <module>
import logging
File "/data/data/com.termux/files/usr/lib/python3.12/logging/init.py", line 26, in <module>
import sys, os, time, io, re, traceback, warnings, weakref, collections.abc
File "/data/data/com.termux/files/usr/lib/python3.12/traceback.py", line 5, in <module>
import linecache
File "/data/data/com.termux/files/usr/lib/python3.12/linecache.py", line 11, in <module>
import tokenize
File "/data/data/com.termux/files/usr/lib/python3.12/tokenize.py", line 35, in <module>
from token import *
File "/data/data/com.termux/files/home/token.py", line 3, in <module>
import requests
File "/data/data/com.termux/files/usr/lib/python3.12/site-packages/requests/init.py", line 43, in <module>
import urllib3
File "/data/data/com.termux/files/usr/lib/python3.12/site-packages/urllib3/init.py", line 12, in <module>
from logging import NullHandler
ImportError: cannot import name 'NullHandler' from partially initialized module 'logging' (most likely due to a circular import) (/data/data/com.termux/files/usr/lib/python3.12/logging/init.py)
8 replies