smol-ai / developer

the first library to let you embed a developer agent in your own app!
https://twitter.com/SmolModels
MIT License
11.76k stars 1.03k forks source link

Error: The system cannot find the file specified. #141

Closed weihs5 closed 11 months ago

weihs5 commented 11 months ago
PS C:\Users\Weihs5\Desktop\developer> modal run main.py --prompt prompt.md
Fatal error in launcher: Unable to create process using '"C:\Users\Weihs5\AppData\Local\Programs\Python\Python311\python.exe"  "C:\Users\Weihs5\AppData\Local\Programs\Python\Python311\Scripts\modal.exe" run main.py --prompt prompt.md': The system cannot find the file specified.

I've ran this script a few times today and it works, I then installed node.js and ran it for a separate project, that worked. Now I'm back trying to build a python app and this is what I'm getting. I can confirm python and modal are installed properly and in those locations. I know the prompt.md file exists where expected too. Any ideas?

weihs5 commented 11 months ago

Issues were with pythons installation folder changing and resetting PATH in env variables.