Traceback (most recent call last):
File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/discord/app_commands/commands.py", line 857, in _do_call
return await self._callback(self.binding, interaction, **params) # type: ignore
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/storage/emulated/0/Documents/Pydroid3/DiscordBot/Python-Discord-Bot-Template-main2/cogs/infos.py", line 52, in pdf_to_image
import pymupdf
File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/pymupdf/__init__.py", line 30, in <module>
from . import extra
File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/pymupdf/extra.py", line 10, in <module>
from . import _extra
ImportError: cannot import name '_extra' from partially initialized module 'pymupdf' (most likely due to a circular import) (/data/data/com.termux/files/usr/lib/python3.11/site-packages/pymupdf/__init__.py)
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/discord/ext/commands/hybrid.py", line 444, in _invoke_with_namespace
value = await self._do_call(ctx, ctx.kwargs) # type: ignore
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/discord/app_commands/commands.py", line 876, in _do_call
raise CommandInvokeError(self, e) from e
discord.app_commands.errors.CommandInvokeError: Command 'pdf_to_image' raised an exception: ImportError: cannot import name '_extra' from partially initialized module 'pymupdf' (most likely due to a circular import)
Traceback (most recent call last):
File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/discord/app_commands/commands.py", line 857, in _do_call
return await self._callback(self.binding, interaction, **params) # type: ignore
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/storage/emulated/0/Documents/Pydroid3/DiscordBot/Python-Discord-Bot-Template-main2/cogs/infos.py", line 52, in pdf_to_image
import pymupdf
File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/pymupdf/__init__.py", line 30, in <module>
from . import extra
File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/pymupdf/extra.py", line 10, in <module>
from . import _extra
ImportError: cannot import name '_extra' from partially initialized module 'pymupdf' (most likely due to a circular import) (/data/data/com.termux/files/usr/lib/python3.11/site-packages/pymupdf/__init__.py)
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/discord/ext/commands/hybrid.py", line 444, in _invoke_with_namespace
value = await self._do_call(ctx, ctx.kwargs) # type: ignore
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/discord/app_commands/commands.py", line 876, in _do_call
raise CommandInvokeError(self, e) from e
discord.app_commands.errors.CommandInvokeError: Command 'pdf_to_image' raised an exception: ImportError: cannot import name '_extra' from partially initialized module 'pymupdf' (most likely due to a circular import)