spotify2tidal / spotify_to_tidal

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

can't open file '\\spotify_to_tidal\\spotify_to_tidal': [Errno 2] No such file or directory #82

Closed niss1m closed 2 months ago

niss1m commented 2 months ago

tried fixing the error by moving 'spotify_to_tidal' outside of 'src' to main folder now I get a new error:

python3 spotify_to_tidal

Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "C:\Users\PC\Documents\development\spotify_to_tidal\spotify_to_tidal\__main__.py", line 5, in <module>
    from . import sync as _sync
ImportError: attempted relative import with no known parent package
niss1m commented 2 months ago

using latest release downloaded from releases

timrae commented 2 months ago

Hi, don't move the files out of the source folder, and do run the install command from the readme

timrae commented 2 months ago

Usually to run the script after installation you should just be able to run spotify_to_tidal from the directory where you have the config file. If there's something wrong with your python environment variables then you could try this instead:

python3 -m spotify_to_tidal
niss1m commented 2 months ago

yeah my bad, -m fixed it for me. thanks a lot!