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
{{ message }}
Repository navigation
✨ improve error in python when dependency is missing #7539
Right now if you don't have a dependency installed or specified in pyproject.toml you get an error that looks like this:
Error: input: module.withSource.initialize resolve: failed to initialize module: failed to call module "nostalgia" to get functions: call constructor: process "/runtime" did not complete successfully: exit code: 1
Stderr:
╭─ Error ──────────────────────────────────────────────────────────────────────╮
│ The "main" module could not be found. Did you create a "src/main.py" file in │
│ the root of your project?
This message does not make a ton of sense and it makes it seem like there is something wrong with my module code or structure, rather than having a dependency missing. This feels like an opportunity to make the DX a bit more crisp.
Activity