coze-dev / coze-dev/coze-studio

本地部署时,python代码块三方库导入失败

Open
#2,215 3 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

本地部署,python代码块导入requests模块失败,即使我在code_sever容器中已经安装了该库,仍然无法导入,官方说明的requests_async也无法导入。

![Image](https://github.com/user-attachments/assets/44bdd53d-aafd-4121-af5b-0b88a20b2e83)

Contributor guide

Open the contributing guide

Research direction

No source file or test is named. Reproduce the import failure in a local deployment, checking the Python code block runtime and the code_server container separately; done means third-party imports such as requests and requests_async work in the code block or the supported limitation is clearly documented.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.