java.lang.Throwable: [AGENT SERVICE]: MCP tools setup failed with index https://pypi.tuna.tsinghua.edu.cn/simple: error: subprocess-exited-with-error
× installing build dependencies did not run successfully.
│ exit code: 1
╰─> [9 lines of output]
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(142, '[ASN1: NOT_ENOUGH_DATA] not enough data (_ssl.c:4004)'))': /simple/setuptools/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(142, '[ASN1: NOT_ENOUGH_DATA] not enough data (_ssl.c:4004)'))': /simple/setuptools/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(142, '[ASN1: NOT_ENOUGH_DATA] not enough data (_ssl.c:4004)'))': /simple/setuptools/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(142, '[ASN1: NOT_ENOUGH_DATA] not enough data (_ssl.c:4004)'))': /simple/setuptools/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(142, '[ASN1: NOT_ENOUGH_DATA] not enough data (_ssl.c:4004)'))': /simple/setuptools/
Could not fetch URL https://pypi.tuna.tsinghua.edu.cn/simple/setuptools/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.tuna.tsinghua.edu.cn', port=443): Max retries exceeded with url: /simple/setuptools/ (Caused by SSLError(SSLError(142, '[ASN1: NOT_ENOUGH_DATA] not enough data (_ssl.c:4004)'))) - skipping
ERROR: Could not find a version that satisfies the requirement setuptools>=64.0.0 (from versions: none)
ERROR: No matching distribution found for setuptools>=64.0.0
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed to build 'file:///C:/Users/azmx/.codegeex/agent/mcp_tools/codegeex_mcp_tools' when installing build dependencies
at com.intellij.openapi.diagnostic.Logger.error(Logger.java:375)
at ai.codegeex.plugin.lang.agent.venv.VenvProcessService.lambda$executeSetupMCPToolsAttempt$30(VenvProcessService.java:1344)
at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768)
at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1760)
at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:507)
at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1491)
at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:2073)
at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:2035)
at java.base/java.util.c
步骤1:手动删除虚拟环境
由于安全策略限制,我无法自动删除。请你手动删除以下文件夹:
C:\Users\azmx\.codegeex\agent\mcp_tools\codegeex_mcp_tools\venv
操作步骤:
- 打开文件资源管理器
- 导航到
C:\Users\azmx\.codegeex\agent\mcp_tools\codegeex_mcp_tools\ - 删除
venv文件夹(如果存在) - 删除后重启 PyCharm
步骤1:手动删除虚拟环境
由于安全策略限制,我无法自动删除。请你手动删除以下文件夹:
C:\Users\azmx\.codegeex\agent\mcp_tools\codegeex_mcp_tools\venv操作步骤:
- 打开文件资源管理器
- 导航到
C:\Users\azmx\.codegeex\agent\mcp_tools\codegeex_mcp_tools\ - 删除
venv文件夹(如果存在) - 删除后重启 PyCharm
oncurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:187)
还是问的AI 才勉强解决
