rupert / pandora-to-google-music

Sync Pandora likes to Google Music playlists
35 stars 8 forks source link

Cannot run under Windows #4

Closed wiseman13 closed 8 years ago

wiseman13 commented 8 years ago

I was able to get all of the dependencies installed, but I get the following error when running the script. Any ideas?

C:\pandora-to-google-music-master>python pandora_to_google _music.py Traceback (most recent call last): File "pandora_to_google_music.py", line 9, in from gmusicapi import Mobileclient ImportError: cannot import name Mobileclient

wiseman13 commented 8 years ago

Anyone have any ideas on this?

rupert commented 8 years ago

I don't have a Windows machine to test this on, so I used a Windows 7 VM.

Install virtualenv:

C:\>pip install virtualenv

Check versions:

C:\>python --version
Python 2.7.12
C:\>git --version
git version 2.10.0.windows.1
C:\>pip --version
pip 8.1.1 from c:\python27\lib\site-packages (python 2.7)
C:\>virtualenv --version
15.0.3

Download and run:

C:\>git clone https://github.com/rupert/pandora-to-google-music.git
C:\>cd pandora-to-google-music
C:\pandora-to-google-music>virtualenv venv
C:\pandora-to-google-music>.\venv\Scripts\activate.bat
(venv) C:\pandora-to-google-music>pip install -r requirements.txt
(venv) C:\pandora-to-google-music>python pandora_to_google_music.py

Hopefully those steps work for you too :smile: