You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After importing a third-party library into the Python sandbox container, the execution results are inconsistent between the container and the web interface
#4462
I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
Please do not modify this template :) and fill in all the required fields.
Dify version
0.6.8
Cloud or Self Hosted
Self Hosted (Docker)
Steps to reproduce
1.I successfully imported the third-party Python library 'mysql-connector-python' into the sandbox container, and the execution of 'import mysql.connector' was successful.
2.However, when executing the script in the web interface, the prompt states 'in ModuleNotFoundError: No module named 'mysql' error'
'dify-api'与‘sandbox’的网络是连通的,sandbox容器内会生成对应的py文件
✔️ Expected Behavior
No response
❌ Actual Behavior
No response
The text was updated successfully, but these errors were encountered:
Hey there, @115341chenzehao! 🚀 Looks like we're diving into another intriguing puzzle together. Good to see you back! I'm just going to take a closer look at this new twist you've found and will get back to you with a full answer shortly. Hang tight!
Self Checks
Dify version
0.6.8
Cloud or Self Hosted
Self Hosted (Docker)
Steps to reproduce
1.I successfully imported the third-party Python library 'mysql-connector-python' into the sandbox container, and the execution of 'import mysql.connector' was successful.
2.However, when executing the script in the web interface, the prompt states 'in ModuleNotFoundError: No module named 'mysql' error'
'dify-api'与‘sandbox’的网络是连通的,sandbox容器内会生成对应的py文件
✔️ Expected Behavior
No response
❌ Actual Behavior
No response
The text was updated successfully, but these errors were encountered: