tiny-llm icon indicating copy to clipboard operation
tiny-llm copied to clipboard

fix: Add PYTHONPATH configuration to PDM scripts for module imports

Open Phoenix500526 opened this issue 7 months ago • 4 comments

Fixes issue where pdm run main --solution ref --loader week1 would fail with "ModuleNotFoundError: No module named 'tiny_llm_ref'"

Phoenix500526 avatar Jun 24 '25 05:06 Phoenix500526

hmm.. interesting, pdm works out of box for me?

Is there anything special wrt your setup?

skyzh avatar Jun 24 '25 05:06 skyzh

hmm.. interesting, pdm works out of box for me?

Is there anything special wrt your setup?

Nothing speical, I guess. I just followed the doc step by step to set up my environment and encountered this error.

Phoenix500526 avatar Jun 24 '25 07:06 Phoenix500526

Feel free to close it if it's unnecessary.

Phoenix500526 avatar Jul 01 '25 16:07 Phoenix500526

Same issue and worked by this fix

chasingegg avatar Nov 09 '25 16:11 chasingegg