I am totally new to python
. I try to install package offline using pip
and I followed this:
https://stackoverflow.com/a/45620892/9934146
But it always failed at pip install Flask
as follows:
$ pip install Flask
Collecting Flask
Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after connection broken by 'ProtocolError('Connection aborted.', error(104, '\xe6\x8e\xa5\xe7\xb6\x9a\xe3\x81\x8c\xe7\x9b\xb8\xe6\x89\x8b\xe3\x81\x8b\xe3\x82\x89\xe3\x83\xaa\xe3\x82\xbb\xe3\x83\x83\xe3\x83\x88\xe3\x81\x95\xe3\x82\x8c\xe3\x81\xbe\xe3\x81\x97\xe3\x81\x9f'))': /simple/flask/
Could not find a version that satisfies the requirement Flask (from versions: )
No matching distribution found for Flask
It seems it fails to install any package - not only Flask
. I've searched online about the solutions. Some people said it is issue about proxy, but I have no idea about proxy. Can anyone help me? My environment:
$ uname -a
Linux m1tadpld 3.10.0-514.el7.x86_64 #1 SMP Wed Oct 19 11:24:13 EDT 2016 x86_64 x86_64 x86_64 GNU/Linux
$ python -V
Python 2.7.5
$ pip -V
pip 9.0.1 from /usr/lib/python2.7/site-packages (python 2.7)