SwagLyrics / SwagLyrics-For-Spotify

📃 Get lyrics of currently playing Spotify song so you don't sing along with the wrong ones and embarrass yourself later. Very fast.
https://pypi.org/project/swaglyrics/
MIT License
320 stars 35 forks source link

[BUG] Cant install application #2893

Open akash-258 opened 2 years ago

akash-258 commented 2 years ago

Describe the bug After doing pip install swaglyrics, I get this error in red colour in terminal :

ERROR: swspotify 1.2.3 has requirement flask<3.0.0,>=2.0.1, but you'll have flask 1.1.2 which is incompatible. And when executing swaglyrics -c, getting these errors

Traceback (most recent call last):
  File "/home/akash/.local/bin/swaglyrics", line 5, in <module>
    from swaglyrics.__main__ import main
  File "/home/akash/.local/lib/python3.8/site-packages/swaglyrics/__main__.py", line 11, in <module>
    from swaglyrics.tab import app
  File "/home/akash/.local/lib/python3.8/site-packages/swaglyrics/tab.py", line 4, in <module>
    from flask import Flask, render_template
  File "/home/akash/.local/lib/python3.8/site-packages/flask/__init__.py", line 19, in <module>
    from . import json
  File "/home/akash/.local/lib/python3.8/site-packages/flask/json/__init__.py", line 15, in <module>
    from itsdangerous import json as _json
ImportError: cannot import name 'json' from 'itsdangerous' (/home/akash/.local/lib/python3.8/site-packages/itsdangerous/__init__.py)

Desktop :

aadibajpai commented 2 years ago

I am not sure what is the issue with the dependency resolution here but I will try to get this figured out soon.