Forums

easy_install and pip failing

I'm trying to install Flask-Bootstrap, but it's failing with either pip or easy_install. I figured out poking through the forum that with easy_easy install I need the --user argument. But, with both installers I'm getting a connection refused error from pypi.

The traceback on easy_install:

Searching for Flask-Bootstrap
Reading http://pypi.python.org/simple/Flask-Bootstrap/
Download error on http://pypi.python.org/simple/Flask-Bootstrap/: [Errno 111] Connection refused -- Some packages may not be     found!
Reading http://pypi.python.org/simple/Flask-Bootstrap/
Download error on http://pypi.python.org/simple/Flask-Bootstrap/: [Errno 111] Connection refused -- Some packages may not be found!
Couldn't find index page for 'Flask-Bootstrap' (maybe misspelled?)
Scanning index of all packages (this may take a while)
Reading http://pypi.python.org/simple/
Download error on http://pypi.python.org/simple/: [Errno 111] Connection refused -- Some packages may not be found!
No local packages or download links found for Flask-Bootstrap
error: Could not find suitable distribution for Requirement.parse('Flask-Bootstrap')

pip throws the same Errno 111 Connection refused.

And, just so you know I'm not crazy :) the package does exist.

That may have been a glitch on our proxy server - it seems to be working OK for me now. Would you like to try again?

Thanks, Harry. Seems to be fixed now. I do get a permissions error when I use pip, saying, error: could not create '/usr/local/lib/python2.7/site-packages/flask_bootstrap': Read-only file system.

I prefer pip to easy_install. What am I doing wrong?

That's the kind of error you get when you haven't specified the --user argument.