coze-dev / coze-dev/coze-studio

代码节点安装requests后,依旧报错

Open
#2,499 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
21.6k
Forks
3.1k
PR merge metrics
No merged PRs in 30d

Description

{
"$error": "Function execution failed, please check the code of the function. Detail: exec failed, stdout=Loading certifi, charset-normalizer, idna, requests, urllib3Didn't find package charset_normalizer-3.3.2-py3-none-any.whl locally, attempting to load from https://cdn.jsdelivr.net/pyodide/v0.27.7/full/Didn't find package urllib3-2.2.3-py3-none-any.whl locally, attempting to load from https://cdn.jsdelivr.net/pyodide/v0.27.7/full/Didn't find package requests-2.31.0-py3-none-any.whl locally, attempting to load from https://cdn.jsdelivr.net/pyodide/v0.27.7/full/Didn't find package idna-3.7-py3-none-any.whl locally, attempting to load from https://cdn.jsdelivr.net/pyodide/v0.27.7/full/Didn't find package certifi-2024.12.14-py3-none-any.whl locally, attempting to load from https://cdn.jsdelivr.net/pyodide/v0.27.7/full/Failed to load certifi, charset-normalizer, idna, requests, urllib3, stderr=Traceback (most recent call last):\n File \"/lib/python312.zip/_pyodide/_base.py\", line 597, in eval_code_as"
}

Image

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the reported failure in the code node when installing or importing requests, using the included Pyodide loading error as the symptom to investigate. Trace why certifi, charset-normalizer, idna, requests, and urllib3 fail to load; done means a code node can install requests and execute successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.