-
Notifications
You must be signed in to change notification settings - Fork 79
Closed
Labels
bugSomething isn't workingSomething isn't workingdocumentationImprovements or additions to documentationImprovements or additions to documentationquestionFurther information is requestedFurther information is requested
Milestone
Description
=> ERROR [builder 7/9] RUN POETRY run python -m spacy download en_core_web_sm 2.5s
------
> [builder 7/9] RUN POETRY run python -m spacy download en_core_web_sm:
#0 1.360 Skipping virtualenv creation, as specified in config file.
#0 2.380 Traceback (most recent call last):
#0 2.380 File "/usr/local/lib/python3.10/site-packages/urllib3/connection.py", line 174, in _new_conn
#0 2.380 conn = connection.create_connection(
#0 2.380 File "/usr/local/lib/python3.10/site-packages/urllib3/util/connection.py", line 72, in create_connection
#0 2.380 for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
#0 2.380 File "/usr/local/lib/python3.10/socket.py", line 955, in getaddrinfo
#0 2.380 for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
#0 2.380 socket.gaierror: [Errno -2] Name or service not known
#0 2.380
#0 2.380 During handling of the above exception, another exception occurred:
#0 2.380
#0 2.380 Traceback (most recent call last):
#0 2.380 File "/usr/local/lib/python3.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen
#0 2.380 httplib_response = self._make_request(
#0 2.380 File "/usr/local/lib/python3.10/site-packages/urllib3/connectionpool.py", line 386, in _make_request
#0 2.380 self._validate_conn(conn)
#0 2.380 File "/usr/local/lib/python3.10/site-packages/urllib3/connectionpool.py", line 1042, in _validate_conn
#0 2.380 conn.connect()
#0 2.380 File "/usr/local/lib/python3.10/site-packages/urllib3/connection.py", line 358, in connect
#0 2.380 self.sock = conn = self._new_conn()
#0 2.380 File "/usr/local/lib/python3.10/site-packages/urllib3/connection.py", line 186, in _new_conn
#0 2.380 raise NewConnectionError(
#0 2.380 urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f4134786ef0>: Failed to establish a new connection: [Errno -2] Name or service not known
#0 2.380
#0 2.380 During handling of the above exception, another exception occurred:
#0 2.380
#0 2.380 Traceback (most recent call last):
#0 2.380 File "/usr/local/lib/python3.10/site-packages/requests/adapters.py", line 489, in send
#0 2.381 resp = conn.urlopen(
#0 2.381 File "/usr/local/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen
#0 2.381 retries = retries.increment(
#0 2.381 File "/usr/local/lib/python3.10/site-packages/urllib3/util/retry.py", line 592, in increment
#0 2.381 raise MaxRetryError(_pool, url, error or ResponseError(cause))
#0 2.381 urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='raw.githubusercontent.com', port=443): Max retries exceeded with url: /explosion/spacy-models/master/compatibility.json (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f4134786ef0>: Failed to establish a new connection: [Errno -2] Name or service not known'))
#0 2.381
#0 2.381 During handling of the above exception, another exception occurred:
#0 2.381
#0 2.381 Traceback (most recent call last):
#0 2.381 File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
#0 2.381 return _run_code(code, main_globals, None,
#0 2.381 File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
#0 2.381 exec(code, run_globals)
#0 2.381 File "/usr/local/lib/python3.10/site-packages/spacy/__main__.py", line 4, in <module>
#0 2.381 setup_cli()
#0 2.381 File "/usr/local/lib/python3.10/site-packages/spacy/cli/_util.py", line 74, in setup_cli
#0 2.381 command(prog_name=COMMAND)
#0 2.381 File "/usr/local/lib/python3.10/site-packages/click/core.py", line 1130, in __call__
#0 2.381 return self.main(*args, **kwargs)
#0 2.381 File "/usr/local/lib/python3.10/site-packages/typer/core.py", line 778, in main
#0 2.381 return _main(
#0 2.381 File "/usr/local/lib/python3.10/site-packages/typer/core.py", line 216, in _main
#0 2.381 rv = self.invoke(ctx)
#0 2.381 File "/usr/local/lib/python3.10/site-packages/click/core.py", line 1657, in invoke
#0 2.382 return _process_result(sub_ctx.command.invoke(sub_ctx))
#0 2.382 File "/usr/local/lib/python3.10/site-packages/click/core.py", line 1404, in invoke
#0 2.382 return ctx.invoke(self.callback, **ctx.params)
#0 2.382 File "/usr/local/lib/python3.10/site-packages/click/core.py", line 760, in invoke
#0 2.382 return __callback(*args, **kwargs)
#0 2.382 File "/usr/local/lib/python3.10/site-packages/typer/main.py", line 683, in wrapper
#0 2.382 return callback(**use_params) # type: ignore
#0 2.382 File "/usr/local/lib/python3.10/site-packages/spacy/cli/download.py", line 36, in download_cli
=> CANCELED [builder 4/6] RUN npm i --registry=https://registry.npm.taobao.org 2.2s
failed to solve: executor failed running [/bin/sh -c poetry run python -m spacy download en_core_web_sm]: exit code: 1
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingdocumentationImprovements or additions to documentationImprovements or additions to documentationquestionFurther information is requestedFurther information is requested
Projects
Status
Done