You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bug:
Seems like song.py and album.py are trying to import modules from each other, which is possibly why im getting this error.
"Traceback (most recent call last):
File "D:\Minecraft Servers\Status-Manager-Bot\bot\core\main.py", line 10, in
from commands import setup_commands
File "D:\Minecraft Servers\Status-Manager-Bot\bot\core\commands.py", line 8, in
from musica import lyrics_finder
File "D:\Minecraft Servers\Status-Manager-Bot\bot\core\musica\lyrics_finder.py", line 1, in
from lyricsgenius import Genius
File "D:\Minecraft Servers\Status-Manager-Bot\venv\Lib\site-packages\lyricsgenius_init_.py", line 8, in
from lyricsgenius.genius import Genius
File "D:\Minecraft Servers\Status-Manager-Bot\venv\Lib\site-packages\lyricsgenius\genius.py", line 16, in
from .types import Album, Artist, Song, Track
File "D:\Minecraft Servers\Status-Manager-Bot\venv\Lib\site-packages\lyricsgenius\types_init_.py", line 2, in
from .album import Album, Track
File "D:\Minecraft Servers\Status-Manager-Bot\venv\Lib\site-packages\lyricsgenius\types\album.py", line 4, in
from .song import Song
File "D:\Minecraft Servers\Status-Manager-Bot\venv\Lib\site-packages\lyricsgenius\types\song.py", line 8, in
from .album import Album
ImportError: cannot import name 'Album' from partially initialized module 'lyricsgenius.types.album' (most likely due to a circular import) (D:\Minecraft Servers\Status-Manager-Bot\venv\Lib\site-packages\lyricsgenius\types\album.py)"
Bug:
Seems like song.py and album.py are trying to import modules from each other, which is possibly why im getting this error.
"Traceback (most recent call last):
File "D:\Minecraft Servers\Status-Manager-Bot\bot\core\main.py", line 10, in
from commands import setup_commands
File "D:\Minecraft Servers\Status-Manager-Bot\bot\core\commands.py", line 8, in
from musica import lyrics_finder
File "D:\Minecraft Servers\Status-Manager-Bot\bot\core\musica\lyrics_finder.py", line 1, in
from lyricsgenius import Genius
File "D:\Minecraft Servers\Status-Manager-Bot\venv\Lib\site-packages\lyricsgenius_init_.py", line 8, in
from lyricsgenius.genius import Genius
File "D:\Minecraft Servers\Status-Manager-Bot\venv\Lib\site-packages\lyricsgenius\genius.py", line 16, in
from .types import Album, Artist, Song, Track
File "D:\Minecraft Servers\Status-Manager-Bot\venv\Lib\site-packages\lyricsgenius\types_init_.py", line 2, in
from .album import Album, Track
File "D:\Minecraft Servers\Status-Manager-Bot\venv\Lib\site-packages\lyricsgenius\types\album.py", line 4, in
from .song import Song
File "D:\Minecraft Servers\Status-Manager-Bot\venv\Lib\site-packages\lyricsgenius\types\song.py", line 8, in
from .album import Album
ImportError: cannot import name 'Album' from partially initialized module 'lyricsgenius.types.album' (most likely due to a circular import) (D:\Minecraft Servers\Status-Manager-Bot\venv\Lib\site-packages\lyricsgenius\types\album.py)"
Version info:
The text was updated successfully, but these errors were encountered: