Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Matplotlib module issue in terrarium image #1107

Open
ses770227 opened this issue Feb 10, 2025 · 2 comments
Open

Matplotlib module issue in terrarium image #1107

ses770227 opened this issue Feb 10, 2025 · 2 comments

Comments

@ses770227
Copy link

The docker logs from the sandbox container clearly indicate a ModuleNotFoundError: The module 'matplotlib' is included in the Pyodide distribution, but it is not installed.

This means the Terrarium image is missing a required Python package (matplotlib). Since you're using a pre-built image (ghcr.io/khoj-ai/terrarium:latest), you can't directly modify it.

Here is to report this issue to you guys developers. You need to update the Terrarium image to include matplotlib.

@debanjum
Copy link
Member

Matplotlib should be supported. Are you seeing this issue on startup or when you ask a question where Khoj tries to use matplotlib via the code tool? More information about your os, Khoj setup etc. would be useful.

I see the stacktrace you've shared in #1104

@ses770227
Copy link
Author

It always turn down even after several tries of restart. It does not matter whether I restart it through VS code or Docker desktop. My OS is MacOS 15.3.1

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants