simonschellaert / spotify2am

Import your Spotify library into Apple Music
360 stars 68 forks source link

No module named parse #15

Open bavan999 opened 9 years ago

bavan999 commented 9 years ago

i get an error trying to run "retrieve-identifiers.py"

~/Desktop/spotify2am-master/retrieve-identifiers.py:3: ImportError: No module named parse

I run the script in TextWrangler

nathanberg commented 9 years ago

I suspect that TextWrangler is using Python 2.7 Try opening a terminal and manually running python 3 with "python3 file/path/here/retrieve-identifiers.py"

bavan999 commented 9 years ago

Some progress with retrieve.identifiers TextWrangler was an absolute issue.

File "/Users/bavan/Desktop/spotify2am-master/retrieve-identifiers.py", line 38, in with open('spotify.csv', encoding='utf-8') as playlist_file: FileNotFoundError: [Errno 2] No such file or directory: 'spotify.csv'

Richards-iMac:~ bavan$ PYTHONIOENCODING=utf-8 python3 /Users/bavan/Desktop/spotify2am-master/retrieve-identifiers.py Traceback (most recent call last): File "/Users/bavan/Desktop/spotify2am-master/retrieve-identifiers.py", line 38, in with open('spotify.csv', encoding='utf-8') as playlist_file: FileNotFoundError: [Errno 2] No such file or directory: 'spotify.csv'

bavan999 commented 9 years ago

I think i solved the problem. I am now running the script in IDLE and it seems to work properly. Hopefully the itunes.csv will be created just fine, even though i can't se the file right now.

bavan999 commented 9 years ago

Something went really really wrong.... The script imported same song 1.4 million times... My itunes library is so f**d.... Think i will go back to an old backup to restore.