aguspina opened a new issue #9410: Superset installation on macos catalina with 
docker compose fails
URL: https://github.com/apache/incubator-superset/issues/9410
 
 
   My steps
   
   ```bash
   git clone https://github.com/apache/incubator-superset/
   cd incubator-superset
   docker-compose up
   ```
   
   This is the error in step 5/37
   
   `pip._vendor.urllib3.exceptions.ReadTimeoutError: 
HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out.`
   
   Full details below.
   
   ```
   Step 5/37 : RUN cd /app         && pip install --no-cache -r requirements.txt
    ---> Running in e8253105a001
   Collecting alembic==1.3.2
     Downloading 
https://files.pythonhosted.org/packages/dc/6d/3c1411dfdcf089ec89ce5e2222deb2292f39b6b1a5911222e15af9fe5a92/alembic-1.3.2.tar.gz
 (1.1MB)
   Collecting amqp==2.5.2
     Downloading 
https://files.pythonhosted.org/packages/fc/a0/6aa2a7923d4e82dda23db27711d565f0c4abf1570859f168e3d0975f1eb6/amqp-2.5.2-py2.py3-none-any.whl
 (49kB)
   Collecting apispec[yaml]==1.3.3
     Downloading 
https://files.pythonhosted.org/packages/38/7a/20500edb2e77b8a6f6b677ed6a7b6d97b696fcc477374d36d83883462863/apispec-1.3.3-py2.py3-none-any.whl
   Collecting attrs==19.3.0
     Downloading 
https://files.pythonhosted.org/packages/a2/db/4313ab3be961f7a763066401fb77f7748373b6094076ae2bda2806988af6/attrs-19.3.0-py2.py3-none-any.whl
   Collecting babel==2.8.0
     Downloading 
https://files.pythonhosted.org/packages/15/a1/522dccd23e5d2e47aed4b6a16795b8213e3272c7506e625f2425ad025a19/Babel-2.8.0-py2.py3-none-any.whl
 (8.6MB)
   ERROR: Exception:
   Traceback (most recent call last):
     File 
"/usr/local/lib/python3.6/site-packages/pip/_vendor/urllib3/response.py", line 
425, in _error_catcher
       yield
     File 
"/usr/local/lib/python3.6/site-packages/pip/_vendor/urllib3/response.py", line 
507, in read
       data = self._fp.read(amt) if not fp_closed else b""
     File "/usr/local/lib/python3.6/http/client.py", line 459, in read
       n = self.readinto(b)
     File "/usr/local/lib/python3.6/http/client.py", line 503, in readinto
       n = self.fp.readinto(b)
     File "/usr/local/lib/python3.6/socket.py", line 586, in readinto
       return self._sock.recv_into(b)
     File "/usr/local/lib/python3.6/ssl.py", line 1012, in recv_into
       return self.read(nbytes, buffer)
     File "/usr/local/lib/python3.6/ssl.py", line 874, in read
       return self._sslobj.read(len, buffer)
     File "/usr/local/lib/python3.6/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 
"/usr/local/lib/python3.6/site-packages/pip/_internal/cli/base_command.py", 
line 153, in _main
       status = self.run(options, args)
     File 
"/usr/local/lib/python3.6/site-packages/pip/_internal/commands/install.py", 
line 382, in run
       resolver.resolve(requirement_set)
     File 
"/usr/local/lib/python3.6/site-packages/pip/_internal/legacy_resolve.py", line 
201, in resolve
       self._resolve_one(requirement_set, req)
     File 
"/usr/local/lib/python3.6/site-packages/pip/_internal/legacy_resolve.py", line 
365, in _resolve_one
       abstract_dist = self._get_abstract_dist_for(req_to_install)
     File 
"/usr/local/lib/python3.6/site-packages/pip/_internal/legacy_resolve.py", line 
313, in _get_abstract_dist_for
       req, self.session, self.finder, self.require_hashes
     File 
"/usr/local/lib/python3.6/site-packages/pip/_internal/operations/prepare.py", 
line 194, in prepare_linked_requirement
       progress_bar=self.progress_bar
     File "/usr/local/lib/python3.6/site-packages/pip/_internal/download.py", 
line 465, in unpack_url
       progress_bar=progress_bar
     File "/usr/local/lib/python3.6/site-packages/pip/_internal/download.py", 
line 316, in unpack_http_url
       progress_bar)
     File "/usr/local/lib/python3.6/site-packages/pip/_internal/download.py", 
line 551, in _download_http_url
       _download_url(resp, link, content_file, hashes, progress_bar)
     File "/usr/local/lib/python3.6/site-packages/pip/_internal/download.py", 
line 253, in _download_url
       hashes.check_against_chunks(downloaded_chunks)
     File 
"/usr/local/lib/python3.6/site-packages/pip/_internal/utils/hashes.py", line 
80, in check_against_chunks
       for chunk in chunks:
     File "/usr/local/lib/python3.6/site-packages/pip/_internal/download.py", 
line 223, in written_chunks
       for chunk in chunks:
     File "/usr/local/lib/python3.6/site-packages/pip/_internal/utils/ui.py", 
line 160, in iter
       for x in it:
     File "/usr/local/lib/python3.6/site-packages/pip/_internal/download.py", 
line 212, in resp_read
       decode_content=False):
     File 
"/usr/local/lib/python3.6/site-packages/pip/_vendor/urllib3/response.py", line 
564, in stream
       data = self.read(amt=amt, decode_content=decode_content)
     File 
"/usr/local/lib/python3.6/site-packages/pip/_vendor/urllib3/response.py", line 
529, in read
       raise IncompleteRead(self._fp_bytes_read, self.length_remaining)
     File "/usr/local/lib/python3.6/contextlib.py", line 99, in __exit__
       self.gen.throw(type, value, traceback)
     File 
"/usr/local/lib/python3.6/site-packages/pip/_vendor/urllib3/response.py", line 
430, 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.
   ERROR: Service 'superset' failed to build: The command '/bin/sh -c cd /app   
      && pip install --no-cache -r requirements.txt' returned a non-zero code: 2
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to