stevenleeg / geemusic

A bridge between Google Music and Amazon's Alexa
GNU General Public License v3.0
664 stars 181 forks source link

Trouble with pip install of requirements.txt #245

Closed blewispunk closed 6 years ago

blewispunk commented 6 years ago

Hello - I couldn't get the command for pip3 install -r requirements.txt to work, but found if I used pip-3.2 instead of pip3 it did something (I was getting a command not found error with pip3). However, I am getting the following error: Downloading/unpacking` aniso8601==1.2.1 (from -r requirements.txt (line 1) Cannot fetch index base URL http://pypi.python.org/simple/ Could not find any downloads that satisfy the requrement aniso8601==1.2.1 (from -r requirements.txt (line 1) No distributions at all found for aniso8601==1.2.1 (from -r requirements.txt (line 1)

Any idea what I am doing wrong here? I am not a knowledgeable coder.

blewispunk commented 6 years ago

I was able to solve this by creating pip config file as explained below (found on another forum)

If that's not a proxy/network problem you should try to create/edit config file .pip/pip.conf or if you are running pip as root /root/.pip/pip.conf. Check and change index-url from http to https.

It should be like this:

[global] index-url=https://pypi.python.org/simple/