langgenius / langgenius/dify-sandbox
No module named 'json' error
- Dominant language
- Go
- Stars
- 1.3k
- Forks
- 326
- Avg merge
- 56m
- Merged PRs (30d)
- 3
Description
I have deployed the Sanbox local source code, and I have updated the python_path to the path of the Miniconda virtual environment (python_path=/root/miniconda3/envs/sanbox/bin/python). However, when I actually use it, it still reports a 'No module named 'json'' error
If I'm deploying with Miniconda, is this configuration not workable?
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the error with the configured python_path, /root/miniconda3/envs/sanbox/bin/python, and verify whether that interpreter can import json. Compare the interpreter used by the deployed sandbox with the configured Miniconda environment; done means the cause is identified and Python execution works or the unsupported configuration is 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
- 25/100