Looks like your machine doesn't have connection to (some parts) of internet
for some reason, or you do have very slow connection.

On Wed, May 2, 2018 at 7:46 PM, <umarkamb...@gmail.com> wrote:

> please  this is the massage i keep on getting when trying to install
> django.. what do i do?
>
>
> C:\Users\Admin>pip install Django==2.0.5
> Collecting Django==2.0.5
>   Retrying (Retry(total=4, connect=None, read=None, redirect=None,
> status=None)) after connection broken by 'ReadTimeoutError("
> HTTPSConnectionPool(host='pypi.org', port=443): Read timed out. (read
> timeout=15)",)': /simple/django/
>   Downloading https://files.pythonhosted.org/packages/23/91/
> 2245462e57798e9251de87c88b2b8f996d10ddcb68206a8a020561ef7bd3
> /Django-2.0.5-py3-none-any.whl (7.1MB)
>     0% |                                | 10kB 1.2kB/s eta
> 1:36:24Exception:
> Traceback (most recent call last):
>   File "c:\users\admin\appdata\local\programs\python\python36-32\
> lib\site-packages\pip\_vendor\urllib3\response.py", line 302, in
> _error_catcher
>     yield
>   File "c:\users\admin\appdata\local\programs\python\python36-32\
> lib\site-packages\pip\_vendor\urllib3\response.py", line 384, in read
>     data = self._fp.read(amt)
>   File "c:\users\admin\appdata\local\programs\python\python36-32\
> lib\site-packages\pip\_vendor\cachecontrol\filewrapper.py", line 60, in
> read
>     data = self.__fp.read(amt)
>   File 
> "c:\users\admin\appdata\local\programs\python\python36-32\lib\http\client.py",
> line 449, in read
>     n = self.readinto(b)
>   File 
> "c:\users\admin\appdata\local\programs\python\python36-32\lib\http\client.py",
> line 493, in readinto
>     n = self.fp.readinto(b)
>   File 
> "c:\users\admin\appdata\local\programs\python\python36-32\lib\socket.py",
> line 586, in readinto
>     return self._sock.recv_into(b)
>   File "c:\users\admin\appdata\local\programs\python\python36-32\lib\ssl.py",
> line 1009, in recv_into
>     return self.read(nbytes, buffer)
>   File "c:\users\admin\appdata\local\programs\python\python36-32\lib\ssl.py",
> line 871, in read
>     return self._sslobj.read(len, buffer)
>   File "c:\users\admin\appdata\local\programs\python\python36-32\lib\ssl.py",
> line 631, in read
>     v = self._sslobj.read(len, buffer)
> socket.timeout: The read operation timed out
>
> During handling of the above exception, another exception occurred:
>
> Traceback (most recent call last):
>   File "c:\users\admin\appdata\local\programs\python\python36-32\
> lib\site-packages\pip\basecommand.py", line 215, in main
>     status = self.run(options, args)
>   File "c:\users\admin\appdata\local\programs\python\python36-32\
> lib\site-packages\pip\commands\install.py", line 324, in run
>     requirement_set.prepare_files(finder)
>   File "c:\users\admin\appdata\local\programs\python\python36-32\
> lib\site-packages\pip\req\req_set.py", line 380, in prepare_files
>     ignore_dependencies=self.ignore_dependencies))
>   File "c:\users\admin\appdata\local\programs\python\python36-32\
> lib\site-packages\pip\req\req_set.py", line 620, in _prepare_file
>     session=self.session, hashes=hashes)
>   File "c:\users\admin\appdata\local\programs\python\python36-32\
> lib\site-packages\pip\download.py", line 821, in unpack_url
>     hashes=hashes
>   File "c:\users\admin\appdata\local\programs\python\python36-32\
> lib\site-packages\pip\download.py", line 659, in unpack_http_url
>     hashes)
>   File "c:\users\admin\appdata\local\programs\python\python36-32\
> lib\site-packages\pip\download.py", line 882, in _download_http_url
>     _download_url(resp, link, content_file, hashes)
>   File "c:\users\admin\appdata\local\programs\python\python36-32\
> lib\site-packages\pip\download.py", line 603, in _download_url
>     hashes.check_against_chunks(downloaded_chunks)
>   File "c:\users\admin\appdata\local\programs\python\python36-32\
> lib\site-packages\pip\utils\hashes.py", line 46, in check_against_chunks
>     for chunk in chunks:
>   File "c:\users\admin\appdata\local\programs\python\python36-32\
> lib\site-packages\pip\download.py", line 571, in written_chunks
>     for chunk in chunks:
>   File "c:\users\admin\appdata\local\programs\python\python36-32\
> lib\site-packages\pip\utils\ui.py", line 139, in iter
>     for x in it:
>   File "c:\users\admin\appdata\local\programs\python\python36-32\
> lib\site-packages\pip\download.py", line 560, in resp_read
>     decode_content=False):
>   File "c:\users\admin\appdata\local\programs\python\python36-32\
> lib\site-packages\pip\_vendor\urllib3\response.py", line 436, in stream
>     data = self.read(amt=amt, decode_content=decode_content)
>   File "c:\users\admin\appdata\local\programs\python\python36-32\
> lib\site-packages\pip\_vendor\urllib3\response.py", line 401, in read
>     raise IncompleteRead(self._fp_bytes_read, self.length_remaining)
>   File 
> "c:\users\admin\appdata\local\programs\python\python36-32\lib\contextlib.py",
> line 99, in __exit__
>     self.gen.throw(type, value, traceback)
>   File "c:\users\admin\appdata\local\programs\python\python36-32\
> lib\site-packages\pip\_vendor\urllib3\response.py", line 307, in
> _error_catcher
>     raise ReadTimeoutError(self._pool, None, 'Read timed out.')
> pip._vendor.urllib3.exceptions.ReadTimeoutError:
> HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed
> out.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/django-users/e6894c96-a69c-4980-9c95-e5b509652a23%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/e6894c96-a69c-4980-9c95-e5b509652a23%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Jani Tiainen

- Well planned is half done, and a half done has been sufficient before...

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAHn91ofg1Tc-VY0fZcjFhvjG%3DFMrP73vU6czDviSsVnR8aJEmg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to