Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trying the start.sh it's failed on Step 2. #91

Open
Olichous opened this issue Jul 15, 2022 · 2 comments
Open

Trying the start.sh it's failed on Step 2. #91

Olichous opened this issue Jul 15, 2022 · 2 comments

Comments

@Olichous
Copy link

root@nettools:/home/nettools/TDM/tdm# ./start.sh
Building etl
Sending build context to Docker daemon 92.67kB
Step 1/10 : FROM python:3-alpine
---> 27edb73bd1fc
Step 2/10 : RUN pip install --no-cache-dir pip==18.0
---> Running in 7dee32f7bdf9
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7ff0be37c8e0>: Failed to establish a new connection: [Errno -3] Try again')': /simple/pip/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7ff0be37e920>: Failed to establish a new connection: [Errno -3] Try again')': /simple/pip/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7ff0be37cc10>: Failed to establish a new connection: [Errno -3] Try again')': /simple/pip/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7ff0be37de70>: Failed to establish a new connection: [Errno -3] Try again')': /simple/pip/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7ff0be37c790>: Failed to establish a new connection: [Errno -3] Try again')': /simple/pip/
ERROR: Could not find a version that satisfies the requirement pip==18.0 (from versions: none)
ERROR: No matching distribution found for pip==18.0
The command '/bin/sh -c pip install --no-cache-dir pip==18.0' returned a non-zero code: 1
ERROR: Service 'etl' failed to build : Build failed
root@nettools:/home/nettools/TDM/tdm#

@Olichous
Copy link
Author

You can close the case -> proxy issue.
Now it's :
Step 4/10 : RUN pip install pipenv
---> Running in 66e014f4de87
Traceback (most recent call last):
File "/usr/local/bin/pip", line 5, in
from pip._internal import main
File "/usr/local/lib/python3.10/site-packages/pip/_internal/init.py", line 42, in
from pip._internal import cmdoptions
File "/usr/local/lib/python3.10/site-packages/pip/_internal/cmdoptions.py", line 16, in
from pip._internal.index import (
File "/usr/local/lib/python3.10/site-packages/pip/_internal/index.py", line 14, in
from pip._vendor import html5lib, requests, six
File "/usr/local/lib/python3.10/site-packages/pip/_vendor/html5lib/init.py", line 25, in
from .html5parser import HTMLParser, parse, parseFragment
File "/usr/local/lib/python3.10/site-packages/pip/_vendor/html5lib/html5parser.py", line 8, in
from . import _tokenizer
File "/usr/local/lib/python3.10/site-packages/pip/_vendor/html5lib/_tokenizer.py", line 16, in
from ._trie import Trie
File "/usr/local/lib/python3.10/site-packages/pip/_vendor/html5lib/_trie/init.py", line 3, in
from .py import Trie as PyTrie
File "/usr/local/lib/python3.10/site-packages/pip/_vendor/html5lib/_trie/py.py", line 6, in
from ._base import Trie as ABCTrie
File "/usr/local/lib/python3.10/site-packages/pip/_vendor/html5lib/_trie/_base.py", line 3, in
from collections import Mapping
ImportError: cannot import name 'Mapping' from 'collections' (/usr/local/lib/python3.10/collections/init.py)
The command '/bin/sh -c pip install pipenv' returned a non-zero code: 1
ERROR: Service 'etl' failed to build : Build failed

@Olichous
Copy link
Author

Ok foud the issue

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

No branches or pull requests

1 participant