Closed rosehuynh92 closed 4 days ago
Hey @rosehuynh92! 👋 I'm here to help you with any bugs, questions, and to guide you on becoming a contributor. I'm Dosu, and I'm here to assist you while you wait for a human maintainer.
I found a similar unsolved discussion regarding the ModuleNotFoundError: No module named 'requests'
error in the Dify sandbox environment [1].
The Dify sandbox environment has known limitations that restrict making network requests, which includes the use of the requests
module. This is due to the sandboxed execution environment being strictly isolated to ensure security, preventing functions that may pose security risks, such as making network requests [2].
If you need to use the requests
module or make network requests, you might need to consider alternative approaches or configurations outside the sandbox environment.
To continue talking to Dosu, mention @dosu.
Please use 0.2.9, please open an issue in dify-sandbox instead
For path has requests dependency, why can't import, sandbox image: langgenius/dify-sandbox:latest
Originally posted by @EvanGerry in https://github.com/langgenius/dify/discussions/4854