spotify2tidal / spotify_to_tidal

A command line tool for importing your Spotify playlists into Tidal
GNU Affero General Public License v3.0
293 stars 55 forks source link

ImportError: attempted relative import with no known parent package #35

Open zeus1921 opened 4 months ago

zeus1921 commented 4 months ago

spotify_to_tidal\sync.py", line 10, in from .tidalapi_patch import set_tidal_playlist ImportError: attempted relative import with no known parent package

How to solve this?

timrae commented 4 months ago

There have been a few changes recently, can you please try pull the latest version and follow the instructions in the updated readme file?

timrae commented 3 months ago

Please provide exact reproduction steps including which environment you're running it in

On Sun, 9 Jun 2024, 12:52 am ericou1, @.***> wrote:

I just downloaded 0.1.4 and I'm seeing a similar error when running spotify_to_tidal

Traceback (most recent call last): File "", line 198, in _run_module_as_main File "", line 88, in _run_code File "/Users/cireou/spotify_to_tidal/src/spotify_to_tidal/main.py", line 5, in from . import sync as _sync ImportError: attempted relative import with no known parent package

— Reply to this email directly, view it on GitHub https://github.com/spotify2tidal/spotify_to_tidal/issues/35#issuecomment-2156215916, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAVQBYUH2YR5G4UEIX5WBUDZGODJHAVCNFSM6AAAAABHZ23FLKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNJWGIYTKOJRGY . You are receiving this because you commented.Message ID: @.***>