Closed smorello87 closed 3 years ago
Use the master branch until version 3.0 is released.
pip uninstall lyricsgenius
pip install git+https://github.com/johnwmillr/LyricsGenius.git
Thank you, that fixed it.
On Mon, Jan 25, 2021 at 1:12 PM Allerter notifications@github.com wrote:
Use the master branch until version 3.0 is released.
pip uninstall lyricsgenius pip install git+https://github.com/johnwmillr/LyricsGenius.git
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/johnwmillr/LyricsGenius/issues/175#issuecomment-767010641, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIOLBFHAII5NLDD4TAGJ5HTS3WX7XANCNFSM4WR2NDRA .
Describe the bug When I try to run the script as per the documentation (e.g.
export GENIUS_CLIENT_ACCESS_TOKEN="MYTOKENGOESHERE" python3 -m lyricsgenius artist "The Beatles" --max-songs 5 --save ) I received the following error:
Traceback (most recent call last): File "/Users/veritas44/opt/anaconda3/lib/python3.8/runpy.py", line 194, in _run_module_as_main return _run_code(code, main_globals, None, File "/Users/veritas44/opt/anaconda3/lib/python3.8/runpy.py", line 87, in _run_code exec(code, run_globals) File "/Users/veritas44/opt/anaconda3/lib/python3.8/site-packages/lyricsgenius/main.py", line 8, in
from lyricsgenius.api import Genius
ImportError: cannot import name 'Genius' from 'lyricsgenius.api' (/Users/veritas44/opt/anaconda3/lib/python3.8/site-packages/lyricsgenius/api/init.py)
To Reproduce Describe the steps required to reproduce the behavior.
Include the error message associated with the bug.
Version info