Change8
Error2 reports

Fix ModuleNotFoundError

in uv

Solution

ModuleNotFoundError usually means a Python package is missing or not accessible in the current environment. To fix it ensure the package is installed in your uv virtual environment using `uv pip install <package_name>` or, if it's a system package like PyGObject, verify it's correctly linked by creating the venv with `--system-site-packages` or explicitly adding its path to `PYTHONPATH`. If this doesn't work, also consider rebuilding the venv.

Timeline

First reported:May 5, 2026
Last reported:May 5, 2026

Need More Help?

View the full changelog and migration guides for uv

View uv Changelog
Fix ModuleNotFoundError in uv | Change8