Self Checks
Dify version
0.8.2
Cloud or Self Hosted
Self Hosted (Docker)
Steps to reproduce
1.First I went into the sanbox container and installed mysql
pip install pymysql
anyio 4.4.0
certifi 2024.8.30
charset-normalizer 3.3.2
exceptiongroup 1.2.2
h11 0.14.0
httpcore 1.0.5
httpx 0.27.2
idna 3.8
Jinja2 3.1.4
MarkupSafe 2.1.5
pip 23.0.1
PyMySQL 1.1.1
PySocks 1.7.1
requests 2.32.3
setuptools 65.5.1
sniffio 1.3.1
socksio 1.0.0
typing_extensions 4.12.2
urllib3 2.2.2
wheel 0.44.0
2.Entering python verifies that import pymysql is OK
3.But I went to the front-end page, used the code execution module, and reported an error:
No module named 'pymysql' error: exit status 255
✔️ Expected Behavior
How to solve please give me a detailed case
❌ Actual Behavior
No module named 'pymysql' error: exit status 255
Self Checks
Dify version
0.8.2
Cloud or Self Hosted
Self Hosted (Docker)
Steps to reproduce
1.First I went into the sanbox container and installed mysql
pip install pymysql
2.Entering python verifies that import pymysql is OK
3.But I went to the front-end page, used the code execution module, and reported an error:
No module named 'pymysql' error: exit status 255
✔️ Expected Behavior
How to solve please give me a detailed case
❌ Actual Behavior
No module named 'pymysql' error: exit status 255