Skip to content

## Issue Description / 问题描述在多台机器上尝试执行docker compose up 容器出现mysql问题,然后执行docker compose build也出现问题 #402

@SOMMTA

Description

@SOMMTA

Environment / 环境信息

Docker version 24.0.9-1, build 293681613032e6d1a39cc88115847d3984195c24
Docker Compose version v2.26.1

Error Screenshots or Logs / 错误截图或日志

###############################################################
############以下是docker compose up的报错信息####################
################################################################
WARN[0000] /workspaces/XAgent/docker-compose.yml: version is obsolete
[+] Running 4/6
✔ Container xagent-xagent-redis-1 Running 0.0s
✔ Container xagent-ToolServerNode-1 Running 0.0s
✔ Container xagent-db-1 Running 0.0s
⠼ Container xagent-ToolServerManager-1 Recreated 2.5s
✔ Container xagent-xagent-mysql-1 Created 0.0s
⠼ Container XAgent-Server Recreated 2.5s
Attaching to XAgent-Server, ToolServerManager-1, ToolServerNode-1, db-1, xagent-mysql-1, xagent-redis-1
xagent-mysql-1 | 2024-05-10 05:43:22+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.4.0-1.el9 started.
ToolServerManager-1 | [2024-05-10 05:43:23 +0000] [1] [INFO] Starting gunicorn 22.0.0
ToolServerManager-1 | [2024-05-10 05:43:23 +0000] [1] [INFO] Listening at: http://0.0.0.0:8080 (1)
ToolServerManager-1 | [2024-05-10 05:43:23 +0000] [1] [INFO] Using worker: uvicorn.workers.UvicornWorker
ToolServerManager-1 | [2024-05-10 05:43:23 +0000] [7] [INFO] Booting worker with pid: 7
ToolServerManager-1 | [2024-05-10 05:43:23 +0000] [8] [INFO] Booting worker with pid: 8
xagent-mysql-1 | 2024-05-10 05:43:24+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'
xagent-mysql-1 | 2024-05-10 05:43:24+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.4.0-1.el9 started.
xagent-mysql-1 | '/var/lib/mysql/mysql.sock' -> '/var/run/mysqld/mysqld.sock'
xagent-mysql-1 | 2024-05-10T05:43:25.201119Z 0 [System] [MY-015015] [Server] MySQL Server - start.
xagent-mysql-1 | 2024-05-10T05:43:25.474311Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.4.0) starting as process 1
xagent-mysql-1 | 2024-05-10T05:43:25.502911Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
ToolServerManager-1 | [2024-05-10 05:43:27 +0000] [8] [INFO] Database connected
ToolServerManager-1 | [2024-05-10 05:43:27 +0000] [7] [INFO] Database connected
ToolServerManager-1 | [2024-05-10 05:43:27 +0000] [8] [INFO] Docker client connected
ToolServerManager-1 | [2024-05-10 05:43:27 +0000] [7] [INFO] Docker client connected
ToolServerManager-1 | [2024-05-10 05:43:27 +0000] [8] [INFO] Started server process [8]
ToolServerManager-1 | [2024-05-10 05:43:27 +0000] [7] [INFO] Started server process [7]
ToolServerManager-1 | [2024-05-10 05:43:27 +0000] [7] [INFO] Waiting for application startup.
ToolServerManager-1 | [2024-05-10 05:43:27 +0000] [8] [INFO] Waiting for application startup.
db-1 | {"t":{"$date":"2024-05-10T05:43:27.840+00:00"},"s":"I", "c":"NETWORK", "id":22943, "ctx":"listener","msg":"Connection accepted","attr":{"remote":"172.18.0.4:60504","uuid":{"uuid":{"$uuid":"9091e1d6-951b-4891-a995-1e58e115461c"}},"connectionId":7,"connectionCount":1}}
db-1 | {"t":{"$date":"2024-05-10T05:43:27.840+00:00"},"s":"I", "c":"NETWORK", "id":22943, "ctx":"listener","msg":"Connection accepted","attr":{"remote":"172.18.0.4:60506","uuid":{"uuid":{"$uuid":"58f947ad-141a-4e59-ba56-a9de4d2a0fa3"}},"connectionId":8,"connectionCount":2}}
db-1 | {"t":{"$date":"2024-05-10T05:43:27.841+00:00"},"s":"I", "c":"NETWORK", "id":51800, "ctx":"conn7","msg":"client metadata","attr":{"remote":"172.18.0.4:60504","client":"conn7","negotiatedCompressors":[],"doc":{"driver":{"name":"PyMongo|Motor","version":"4.7.2|3.4.0"},"os":{"type":"Linux","name":"Linux","architecture":"x86_64","version":"6.5.0-1018-azure"},"platform":"CPython 3.10.14.final.0|asyncio","env":{"container":{"runtime":"docker"}}}}}
db-1 | {"t":{"$date":"2024-05-10T05:43:27.841+00:00"},"s":"I", "c":"NETWORK", "id":51800, "ctx":"conn8","msg":"client metadata","attr":{"remote":"172.18.0.4:60506","client":"conn8","negotiatedCompressors":[],"doc":{"driver":{"name":"PyMongo|Motor","version":"4.7.2|3.4.0"},"os":{"type":"Linux","name":"Linux","architecture":"x86_64","version":"6.5.0-1018-azure"},"platform":"CPython 3.10.14.final.0|asyncio","env":{"container":{"runtime":"docker"}}}}}
db-1 | {"t":{"$date":"2024-05-10T05:43:27.842+00:00"},"s":"I", "c":"NETWORK", "id":22943, "ctx":"listener","msg":"Connection accepted","attr":{"remote":"172.18.0.4:60528","uuid":{"uuid":{"$uuid":"2ece37b1-63cb-4a69-8484-70640f4bd379"}},"connectionId":9,"connectionCount":3}}
db-1 | {"t":{"$date":"2024-05-10T05:43:27.843+00:00"},"s":"I", "c":"NETWORK", "id":51800, "ctx":"conn9","msg":"client metadata","attr":{"remote":"172.18.0.4:60528","client":"conn9","negotiatedCompressors":[],"doc":{"driver":{"name":"PyMongo|Motor","version":"4.7.2|3.4.0"},"os":{"type":"Linux","name":"Linux","architecture":"x86_64","version":"6.5.0-1018-azure"},"platform":"CPython 3.10.14.final.0|asyncio","env":{"container":{"runtime":"docker"}}}}}
db-1 | {"t":{"$date":"2024-05-10T05:43:27.843+00:00"},"s":"I", "c":"ACCESS", "id":6788604, "ctx":"conn9","msg":"Auth metrics report","attr":{"metric":"acquireUser","micros":0}}
db-1 | {"t":{"$date":"2024-05-10T05:43:27.843+00:00"},"s":"I", "c":"NETWORK", "id":22943, "ctx":"listener","msg":"Connection accepted","attr":{"remote":"172.18.0.4:60538","uuid":{"uuid":{"$uuid":"1a132fe8-2008-43ab-b783-b4727e39adf0"}},"connectionId":10,"connectionCount":4}}
db-1 | {"t":{"$date":"2024-05-10T05:43:27.844+00:00"},"s":"I", "c":"NETWORK", "id":51800, "ctx":"conn10","msg":"client metadata","attr":{"remote":"172.18.0.4:60538","client":"conn10","negotiatedCompressors":[],"doc":{"driver":{"name":"PyMongo|Motor","version":"4.7.2|3.4.0"},"os":{"type":"Linux","name":"Linux","architecture":"x86_64","version":"6.5.0-1018-azure"},"platform":"CPython 3.10.14.final.0|asyncio","env":{"container":{"runtime":"docker"}}}}}
db-1 | {"t":{"$date":"2024-05-10T05:43:27.845+00:00"},"s":"I", "c":"NETWORK", "id":22943, "ctx":"listener","msg":"Connection accepted","attr":{"remote":"172.18.0.4:60542","uuid":{"uuid":{"$uuid":"773d663c-77e8-4b9c-afa8-ca86bc2a86e3"}},"connectionId":11,"connectionCount":5}}
db-1 | {"t":{"$date":"2024-05-10T05:43:27.845+00:00"},"s":"I", "c":"NETWORK", "id":51800, "ctx":"conn11","msg":"client metadata","attr":{"remote":"172.18.0.4:60542","client":"conn11","negotiatedCompressors":[],"doc":{"driver":{"name":"PyMongo|Motor","version":"4.7.2|3.4.0"},"os":{"type":"Linux","name":"Linux","architecture":"x86_64","version":"6.5.0-1018-azure"},"platform":"CPython 3.10.14.final.0|asyncio","env":{"container":{"runtime":"docker"}}}}}
db-1 | {"t":{"$date":"2024-05-10T05:43:27.845+00:00"},"s":"I", "c":"ACCESS", "id":6788604, "ctx":"conn11","msg":"Auth metrics report","attr":{"metric":"acquireUser","micros":0}}
db-1 | {"t":{"$date":"2024-05-10T05:43:27.861+00:00"},"s":"I", "c":"NETWORK", "id":22943, "ctx":"listener","msg":"Connection accepted","attr":{"remote":"172.18.0.4:60556","uuid":{"uuid":{"$uuid":"c4a239bd-bb90-4fc8-afa5-8adde2ff5bda"}},"connectionId":12,"connectionCount":6}}
db-1 | {"t":{"$date":"2024-05-10T05:43:27.862+00:00"},"s":"I", "c":"NETWORK", "id":51800, "ctx":"conn12","msg":"client metadata","attr":{"remote":"172.18.0.4:60556","client":"conn12","negotiatedCompressors":[],"doc":{"driver":{"name":"PyMongo|Motor","version":"4.7.2|3.4.0"},"os":{"type":"Linux","name":"Linux","architecture":"x86_64","version":"6.5.0-1018-azure"},"platform":"CPython 3.10.14.final.0|asyncio","env":{"container":{"runtime":"docker"}}}}}
db-1 | {"t":{"$date":"2024-05-10T05:43:27.865+00:00"},"s":"I", "c":"ACCESS", "id":5286306, "ctx":"conn9","msg":"Successfully authenticated","attr":{"client":"172.18.0.4:60528","isSpeculative":true,"isClusterMember":false,"mechanism":"SCRAM-SHA-256","user":"admin","db":"admin","result":0,"metrics":{"conversation_duration":{"micros":22038,"summary":{"0":{"step":1,"step_total":2,"duration_micros":588},"1":{"step":2,"step_total":2,"duration_micros":24}}}},"extraInfo":{}}}
db-1 | {"t":{"$date":"2024-05-10T05:43:27.866+00:00"},"s":"I", "c":"ACCESS", "id":5286306, "ctx":"conn11","msg":"Successfully authenticated","attr":{"client":"172.18.0.4:60542","isSpeculative":true,"isClusterMember":false,"mechanism":"SCRAM-SHA-256","user":"admin","db":"admin","result":0,"metrics":{"conversation_duration":{"micros":20283,"summary":{"0":{"step":1,"step_total":2,"duration_micros":295},"1":{"step":2,"step_total":2,"duration_micros":13}}}},"extraInfo":{}}}
db-1 | {"t":{"$date":"2024-05-10T05:43:27.866+00:00"},"s":"I", "c":"NETWORK", "id":6788700, "ctx":"conn9","msg":"Received first command on ingress connection since session start or auth handshake","attr":{"elapsedMillis":0}}
db-1 | {"t":{"$date":"2024-05-10T05:43:27.867+00:00"},"s":"I", "c":"NETWORK", "id":6788700, "ctx":"conn11","msg":"Received first command on ingress connection since session start or auth handshake","attr":{"elapsedMillis":1}}
ToolServerManager-1 | [2024-05-10 05:43:27 +0000] [8] [INFO] Nodes status checker started.
ToolServerManager-1 | [2024-05-10 05:43:27 +0000] [8] [INFO] Application startup complete.
ToolServerManager-1 | [2024-05-10 05:43:27 +0000] [7] [INFO] Nodes status checker started.
ToolServerManager-1 | [2024-05-10 05:43:27 +0000] [7] [INFO] Application startup complete.
xagent-mysql-1 | 2024-05-10T05:43:28.123293Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended.
xagent-mysql-1 | mysqld: Table 'mysql.plugin' doesn't exist
xagent-mysql-1 | 2024-05-10T05:43:28.557119Z 0 [ERROR] [MY-010735] [Server] Could not open the mysql.plugin table. Please perform the MySQL upgrade procedure.
xagent-mysql-1 | 2024-05-10T05:43:28.557416Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
xagent-mysql-1 | 2024-05-10T05:43:28.557691Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
xagent-mysql-1 | 2024-05-10T05:43:28.557877Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
xagent-mysql-1 | 2024-05-10T05:43:28.558289Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
xagent-mysql-1 | 2024-05-10T05:43:28.558495Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
xagent-mysql-1 | 2024-05-10T05:43:28.558715Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
xagent-mysql-1 | 2024-05-10T05:43:28.558930Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
xagent-mysql-1 | 2024-05-10T05:43:28.633293Z 0 [Warning] [MY-010015] [Repl] Gtid table is not ready to be used. Table 'mysql.gtid_executed' cannot be opened.
xagent-mysql-1 | 2024-05-10T05:43:28.772470Z 0 [Warning] [MY-010015] [Repl] Gtid table is not ready to be used. Table 'mysql.gtid_executed' cannot be opened.
xagent-mysql-1 | 2024-05-10T05:43:28.803121Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.
xagent-mysql-1 | 2024-05-10T05:43:28.803473Z 0 [System] [MY-013602] [Server] Channel mysql_main configured to support TLS. Encrypted connections are now supported for this channel.
xagent-mysql-1 | 2024-05-10T05:43:28.819347Z 0 [Warning] [MY-011810] [Server] Insecure configuration for --pid-file: Location '/var/run/mysqld' in the path is accessible to all OS users. Consider choosing a different directory.
xagent-mysql-1 | 2024-05-10T05:43:28.820318Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
xagent-mysql-1 | 2024-05-10T05:43:28.820766Z 0 [ERROR] [MY-013129] [Server] A message intended for a client cannot be sent there as no client-session is attached. Therefore, we're sending the information to the error-log instead: MY-001146 - Table 'mysql.component' doesn't exist
xagent-mysql-1 | 2024-05-10T05:43:28.821632Z 0 [Warning] [MY-013129] [Server] A message intended for a client cannot be sent there as no client-session is attached. Therefore, we're sending the information to the error-log instead: MY-003543 - The mysql.component table is missing or has an incorrect definition.
xagent-mysql-1 | 2024-05-10T05:43:28.822097Z 0 [ERROR] [MY-000067] [Server] unknown variable 'default-authentication-plugin=caching_sha2_password'.
xagent-mysql-1 | 2024-05-10T05:43:28.832677Z 0 [ERROR] [MY-010119] [Server] Aborting
xagent-mysql-1 | 2024-05-10T05:43:30.280382Z 0 [System] [MY-010910] [Server] /usr/sbin/mysqld: Shutdown complete (mysqld 8.4.0) MySQL Community Server - GPL.
xagent-mysql-1 | 2024-05-10T05:43:30.280403Z 0 [System] [MY-015016] [Server] MySQL Server - end.
dependency failed to start: container xagent-xagent-mysql-1 exited (1)

###############################################################
############以下是docker compose build的报错信息####################
################################################################


[ToolServerNode 8/12] RUN pip install --no-cache-dir -r requirements.txt:
0.774 Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
1.322 Collecting beautifulsoup4
1.407 Downloading https://pypi.tuna.tsinghua.edu.cn/packages/b1/fe/e8c672695b37eecc5cbf43e1d0638d88d66ba3a44c4d321c796f4e59167f/beautifulsoup4-4.12.3-py3-none-any.whl (147 kB)
..........................
365.4 Getting requirements to build wheel: started
367.3 Getting requirements to build wheel: finished with status 'error'
367.3 error: subprocess-exited-with-error
367.3
367.3 × Getting requirements to build wheel did not run successfully.
367.3 │ exit code: 1
367.3 ╰─> [164 lines of output]
367.3
367.3 Error compiling Cython file:
367.3 ------------------------------------------------------------
367.3 ...
367.3 int length
367.3
367.3
367.3 cdef class Vocab:
367.3 cdef Pool mem
367.3 cpdef readonly StringStore strings
367.3 ^
367.3 ------------------------------------------------------------
367.3
367.3 spacy/vocab.pxd:28:10: Variables cannot be declared with 'cpdef'. Use 'cdef' instead.
367.3
367.3 Error compiling Cython file:
367.3 ------------------------------------------------------------
367.3 ...
367.3
367.3
367.3 cdef class Vocab:
367.3 cdef Pool mem
367.3 cpdef readonly StringStore strings
367.3 cpdef public Morphology morphology
367.3 ^
367.3 ------------------------------------------------------------
367.3
367.3 spacy/vocab.pxd:29:10: Variables cannot be declared with 'cpdef'. Use 'cdef' instead.
367.3
367.3 Error compiling Cython file:
367.3 ------------------------------------------------------------
367.3 ...
367.3
367.3 cdef class Vocab:
367.3 cdef Pool mem
367.3 cpdef readonly StringStore strings
367.3 cpdef public Morphology morphology
367.3 cpdef public object vectors
367.3 ^
367.3 ------------------------------------------------------------
367.3
367.3 spacy/vocab.pxd:30:10: Variables cannot be declared with 'cpdef'. Use 'cdef' instead.
367.3
367.3 Error compiling Cython file:
367.3 ------------------------------------------------------------
367.3 ...
367.3 cdef class Vocab:
367.3 cdef Pool mem
367.3 cpdef readonly StringStore strings
367.3 cpdef public Morphology morphology
367.3 cpdef public object vectors
367.3 cpdef public object _lookups
367.3 ^
367.3 ------------------------------------------------------------
367.3
367.3 spacy/vocab.pxd:31:10: Variables cannot be declared with 'cpdef'. Use 'cdef' instead.
367.3
367.3 Error compiling Cython file:
367.3 ------------------------------------------------------------
367.3 ...
367.3 cdef Pool mem
367.3 cpdef readonly StringStore strings
367.3 cpdef public Morphology morphology
367.3 cpdef public object vectors
367.3 cpdef public object _lookups
367.3 cpdef public object writing_system
367.3 ^
367.3 ------------------------------------------------------------
367.3
367.3 spacy/vocab.pxd:32:10: Variables cannot be declared with 'cpdef'. Use 'cdef' instead.
367.3
367.3 Error compiling Cython file:
367.3 ------------------------------------------------------------
367.3 ...
367.3 cpdef readonly StringStore strings
367.3 cpdef public Morphology morphology
367.3 cpdef public object vectors
367.3 cpdef public object _lookups
367.3 cpdef public object writing_system
367.3 cpdef public object get_noun_chunks
367.3 ^
367.3 ------------------------------------------------------------
367.3
367.3 spacy/vocab.pxd:33:10: Variables cannot be declared with 'cpdef'. Use 'cdef' instead.
367.3
367.3 Error compiling Cython file:
367.3 ------------------------------------------------------------
367.3 ...
367.3 cdef float prior_prob
367.3
367.3
367.3 cdef class KnowledgeBase:
367.3 cdef Pool mem
367.3 cpdef readonly Vocab vocab
367.3 ^
367.3 ------------------------------------------------------------
367.3
367.3 spacy/kb.pxd:31:10: Variables cannot be declared with 'cpdef'. Use 'cdef' instead.
367.3 Copied /tmp/pip-install-q414cc85/spacy_19984bb9ac3c42c49405af990c39df57/setup.cfg -> /tmp/pip-install-q414cc85/spacy_19984bb9ac3c42c49405af990c39df57/spacy/tests/package
367.3 Copied /tmp/pip-install-q414cc85/spacy_19984bb9ac3c42c49405af990c39df57/pyproject.toml -> /tmp/pip-install-q414cc85/spacy_19984bb9ac3c42c49405af990c39df57/spacy/tests/package
367.3 Cythonizing sources
367.3 Compiling spacy/training/example.pyx because it changed.
367.3 Compiling spacy/parts_of_speech.pyx because it changed.
367.3 Compiling spacy/strings.pyx because it changed.
367.3 Compiling spacy/lexeme.pyx because it changed.
367.3 Compiling spacy/vocab.pyx because it changed.
367.3 Compiling spacy/attrs.pyx because it changed.
367.3 Compiling spacy/kb.pyx because it changed.
367.3 Compiling spacy/ml/parser_model.pyx because it changed.
367.3 Compiling spacy/morphology.pyx because it changed.
367.3 Compiling spacy/pipeline/dep_parser.pyx because it changed.
367.3 Compiling spacy/pipeline/morphologizer.pyx because it changed.
367.3 Compiling spacy/pipeline/multitask.pyx because it changed.
367.3 Compiling spacy/pipeline/ner.pyx because it changed.
367.3 Compiling spacy/pipeline/pipe.pyx because it changed.
367.3 Compiling spacy/pipeline/trainable_pipe.pyx because it changed.
367.3 Compiling spacy/pipeline/sentencizer.pyx because it changed.
367.3 Compiling spacy/pipeline/senter.pyx because it changed.
367.3 Compiling spacy/pipeline/tagger.pyx because it changed.
367.3 Compiling spacy/pipeline/transition_parser.pyx because it changed.
367.3 Compiling spacy/pipeline/_parser_internals/arc_eager.pyx because it changed.
367.3 Compiling spacy/pipeline/_parser_internals/ner.pyx because it changed.
367.3 Compiling spacy/pipeline/_parser_internals/nonproj.pyx because it changed.
367.3 Compiling spacy/pipeline/_parser_internals/_state.pyx because it changed.
367.3 Compiling spacy/pipeline/_parser_internals/stateclass.pyx because it changed.
367.3 Compiling spacy/pipeline/_parser_internals/transition_system.pyx because it changed.
367.3 Compiling spacy/pipeline/_parser_internals/_beam_utils.pyx because it changed.
367.3 Compiling spacy/tokenizer.pyx because it changed.
367.3 Compiling spacy/training/align.pyx because it changed.
367.3 Compiling spacy/training/gold_io.pyx because it changed.
367.3 Compiling spacy/tokens/doc.pyx because it changed.
367.3 Compiling spacy/tokens/span.pyx because it changed.
367.3 Compiling spacy/tokens/token.pyx because it changed.
367.3 Compiling spacy/tokens/span_group.pyx because it changed.
367.3 Compiling spacy/tokens/graph.pyx because it changed.
367.3 Compiling spacy/tokens/morphanalysis.pyx because it changed.
367.3 Compiling spacy/tokens/_retokenize.pyx because it changed.
367.3 Compiling spacy/matcher/matcher.pyx because it changed.
367.3 Compiling spacy/matcher/phrasematcher.pyx because it changed.
367.3 Compiling spacy/matcher/dependencymatcher.pyx because it changed.
367.3 Compiling spacy/symbols.pyx because it changed.
367.3 Compiling spacy/vectors.pyx because it changed.
367.3 [ 1/41] Cythonizing spacy/attrs.pyx
367.3 [ 2/41] Cythonizing spacy/kb.pyx
367.3 Traceback (most recent call last):
367.3 File "/usr/local/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in
367.3 main()
367.3 File "/usr/local/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
367.3 json_out['return_val'] = hook(**hook_input['kwargs'])
367.3 File "/usr/local/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 118, in get_requires_for_build_wheel
367.3 return hook(config_settings)
367.3 File "/tmp/pip-build-env-q8cpsmpk/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 325, in get_requires_for_build_wheel
367.3 return self._get_build_requires(config_settings, requirements=['wheel'])
367.3 File "/tmp/pip-build-env-q8cpsmpk/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 295, in _get_build_requires
367.3 self.run_setup()
367.3 File "/tmp/pip-build-env-q8cpsmpk/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 311, in run_setup
367.3 exec(code, locals())
367.3 File "", line 224, in
367.3 File "", line 211, in setup_package
367.3 File "/tmp/pip-build-env-q8cpsmpk/overlay/lib/python3.10/site-packages/Cython/Build/Dependencies.py", line 1154, in cythonize
367.3 cythonize_one(*args)
367.3 File "/tmp/pip-build-env-q8cpsmpk/overlay/lib/python3.10/site-packages/Cython/Build/Dependencies.py", line 1321, in cythonize_one
367.3 raise CompileError(None, pyx_file)
367.3 Cython.Compiler.Errors.CompileError: spacy/kb.pyx
367.3 [end of output]
367.3
367.3 note: This error originates from a subprocess, and is likely not a problem with pip.
367.3 error: subprocess-exited-with-error
367.3
367.3 × Getting requirements to build wheel did not run successfully.
367.3 │ exit code: 1
367.3 ╰─> See above for output.
367.3
367.3 note: This error originates from a subprocess, and is likely not a problem with pip.
368.2
368.2 [notice] A new release of pip is available: 23.0.1 -> 24.0
368.2 [notice] To update, run: pip install --upgrade pip


failed to solve: process "/bin/sh -c pip install --no-cache-dir -r requirements.txt" did not complete successfully: exit code: 1

Additional Notes / 其他备注

If you have any additional information or notes, please add them here. / 如果有其他补充信息,请在此处添加。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions