Skip to content
This repository has been archived by the owner on Apr 5, 2022. It is now read-only.

Can't install pygooglechart via pip #18

Closed
pylemon opened this issue Oct 23, 2013 · 9 comments
Closed

Can't install pygooglechart via pip #18

pylemon opened this issue Oct 23, 2013 · 9 comments
Assignees

Comments

@pylemon
Copy link

pylemon commented Oct 23, 2013

$ pip install pygooglechart
Downloading/unpacking pygooglechart
HTTP error 403 while getting http://pygooglechart.slowchop.com/files/download/pygooglechart-0.3.0.tar.gz (from https://pypi.python.org/simple/pygooglechart/)
Could not install requirement pygooglechart because of HTTP error HTTP Error 403: Forbidden for URL http://pygooglechart.slowchop.com/files/download/pygooglechart-0.3.0.tar.gz (from https://pypi.python.org/simple/pygooglechart/)

It is really strange that I can not install pygooglechart via pip (pypi)

I've tried to open the link directly in browser
http://pygooglechart.slowchop.com/files/download/pygooglechart-0.3.0.tar.gz

it can be opened very well. Is there anything wrong with your server setup? cause pip is trying to fetch the package through your server but gets an 403 error.

@gak
Copy link
Owner

gak commented Oct 25, 2013

That's pretty odd. I gave it a shot from my workstation and it seemed to work through pip.

Can you try it again? Maybe it is an intermittent problem with my server?

@max-arnold
Copy link

Same thing here, Ubuntu 12.04:

$ mkvirtualenv charts
$ pip install pygooglechart

Downloading/unpacking pygooglechart
  HTTP error 403 while getting http://pygooglechart.slowchop.com/files/download/pygooglechart-0.3.0.tar.gz (from https://pypi.python.org/simple/pygooglechart/)
  Could not install requirement pygooglechart because of error HTTP Error 403: Forbidden
Could not install requirement pygooglechart because of HTTP error HTTP Error 403: Forbidden for URL http://pygooglechart.slowchop.com/files/download/pygooglechart-0.3.0.tar.gz (from https://pypi.python.org/simple/pygooglechart/)
Storing complete log in /home/user/.pip/pip.log

$ pip --version
pip 1.1 from /home/user/.virtualenvs/charts/lib/python2.7/site-packages/pip-1.1-py2.7.egg (python 2.7)

Log:

 * Documentation:  https://help.ubuntu.com/
Downloading/unpacking pygooglechart

  Getting page http://pypi.python.org/simple/pygooglechart
  URLs to search for versions for pygooglechart:
  * http://pypi.python.org/simple/pygooglechart/
  Getting page http://pypi.python.org/simple/pygooglechart/
  Getting page http://pygooglechart.slowchop.com/
  Could not fetch URL http://pygooglechart.slowchop.com/ (from https://pypi.python.org/simple/pygooglechart/): HTTP Error 403: Forbidden
  Will skip URL http://pygooglechart.slowchop.com/ when looking for download links for pygooglechart
  Could not fetch URL http://pygooglechart.slowchop.com/files/download/pygooglechart-0.1.2.tar.gz (from https://pypi.python.org/simple/pygooglechart/): HTTP Error 403: Forbidden
  Will skip URL http://pygooglechart.slowchop.com/files/download/pygooglechart-0.1.2.tar.gz when looking for download links for pygooglechart
  Could not fetch URL http://pygooglechart.slowchop.com/files/download/pygooglechart-0.2.0.tar.gz (from https://pypi.python.org/simple/pygooglechart/): HTTP Error 403: Forbidden
  Will skip URL http://pygooglechart.slowchop.com/files/download/pygooglechart-0.2.0.tar.gz when looking for download links for pygooglechart
  Could not fetch URL http://pygooglechart.slowchop.com/files/download/pygooglechart-0.2.1.tar.gz (from https://pypi.python.org/simple/pygooglechart/): HTTP Error 403: Forbidden
  Will skip URL http://pygooglechart.slowchop.com/files/download/pygooglechart-0.2.1.tar.gz when looking for download links for pygooglechart
  Could not fetch URL http://pygooglechart.slowchop.com/files/download/pygooglechart-0.3.0.tar.gz (from https://pypi.python.org/simple/pygooglechart/): HTTP Error 403: Forbidden
  Will skip URL http://pygooglechart.slowchop.com/files/download/pygooglechart-0.3.0.tar.gz when looking for download links for pygooglechart
  Analyzing links from page https://pypi.python.org/simple/pygooglechart/
    Skipping link http://pygooglechart.slowchop.com/ (from https://pypi.python.org/simple/pygooglechart/); not a file
    Found link http://pygooglechart.slowchop.com/files/download/pygooglechart-0.1.2.tar.gz (from https://pypi.python.org/simple/pygooglechart/), version: 0.1.2
    Found link http://pygooglechart.slowchop.com/files/download/pygooglechart-0.2.0.tar.gz (from https://pypi.python.org/simple/pygooglechart/), version: 0.2.0
    Found link http://pygooglechart.slowchop.com/files/download/pygooglechart-0.2.1.tar.gz (from https://pypi.python.org/simple/pygooglechart/), version: 0.2.1
    Found link http://pygooglechart.slowchop.com/files/download/pygooglechart-0.3.0.tar.gz (from https://pypi.python.org/simple/pygooglechart/), version: 0.3.0
  Using version 0.3.0 (newest of versions: 0.3.0, 0.2.1, 0.2.0, 0.1.2)
  HTTP error 403 while getting http://pygooglechart.slowchop.com/files/download/pygooglechart-0.3.0.tar.gz (from https://pypi.python.org/simple/pygooglechart/)

  Could not install requirement pygooglechart because of error HTTP Error 403: Forbidden

Could not install requirement pygooglechart because of HTTP error HTTP Error 403: Forbidden for URL http://pygooglechart.slowchop.com/files/download/pygooglechart-0.3.0.tar.gz (from https://pypi.python.org/simple/pygooglechart/)

Exception information:
Traceback (most recent call last):
  File "/home/user/.virtualenvs/charts/local/lib/python2.7/site-packages/pip-1.1-py2.7.egg/pip/basecommand.py", line 104, in main
    status = self.run(options, args)
  File "/home/user/.virtualenvs/charts/local/lib/python2.7/site-packages/pip-1.1-py2.7.egg/pip/commands/install.py", line 245, in run
    requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle)
  File "/home/user/.virtualenvs/charts/local/lib/python2.7/site-packages/pip-1.1-py2.7.egg/pip/req.py", line 992, in prepare_files
    % (req_to_install, e, url))
InstallationError: Could not install requirement pygooglechart because of HTTP error HTTP Error 403: Forbidden for URL http://pygooglechart.slowchop.com/files/download/pygooglechart-0.3.0.tar.gz (from https://pypi.python.org/simple/pygooglechart/)
/home/user/.pip/pip.log (END)

@gak
Copy link
Owner

gak commented Oct 27, 2013

After some investigation it looks like it might be Cloudflare's "Browser Integrity" check. I'm using Cloudflare as a CDN but it offers these "security" checks too. I've disabled this particular check, and a few others that might cause 403's.

Can you please try again and let me know if you're still having issues or not.

@ghost ghost assigned gak Oct 27, 2013
@max-arnold
Copy link

The issue is gone. Thanks!

@gak
Copy link
Owner

gak commented Oct 27, 2013

Awesome! Thanks for the debug help. 👍

@gak gak closed this as completed Oct 27, 2013
@max-arnold
Copy link

Just to inform you, I've recently experienced some issues with CloudFlare hosted sites, and as it turned out some IPs were placed to country-wide blacklist due to illegal content (see this blog post in russian: http://habrahabr.ru/post/190798/). Since blocked addresses are often shared with other innocent sites, sometimes you can not access absolutely legal content due to this stupid policy.

When I looked up pygooglechart.slowchop.com ip address, possible blacklist hit was my first suspection. Fortunately, this was not the case (I tried installing it from UK server and the problem was still present). Also, I was able to install it anyway by upgrading pip to 1.4.1 inside my virtualenv.

@rachita-c
Copy link

It seems to be down again, I still get
$ pip-2.7 install pygooglechart
Downloading/unpacking pygooglechart
You are installing an externally hosted file. Future versions of pip will default to disallowing externally hosted files.
You are installing a potentially insecure and unverifiable file. Future versions of pip will default to disallowing insecure files.
HTTP error 404 while getting http://pygooglechart.slowchop.com/files/download/pygooglechart-0.3.0.tar.gz (from https://pypi.python.org/simple/pygooglechart/)
Could not install requirement pygooglechart because of error HTTP Error 404: Not Found
Cleaning up...
Could not install requirement pygooglechart because of HTTP error HTTP Error 404: Not Found for URL http://pygooglechart.slowchop.com/files/download/pygooglechart-0.3.0.tar.gz (from https://pypi.python.org/simple/pygooglechart/)

@avoine
Copy link

avoine commented Apr 14, 2014

same here

@gak
Copy link
Owner

gak commented Apr 21, 2014

Sorry guys, this should be fixed now. Files are now hosted on PyPI as well as http://slowchop.com/pygooglechart/download/

pip install pygooglechart will work as intended.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants