opencode
opencode copied to clipboard
Poisons system python
Description
Even though I have a virtual python environment in the directory I'm running opencode, and it's activated at startup, opencode occasionally "forgets" this and starts installing python libraries with pip directly, going so far as to use the "--break-package-system" option. This should not happen, in my opinion. When I remind opencode to use the .venv, it does so, but will eventually forget again.
OpenCode version
1.0.20
Steps to reproduce
Develop and test django applications - I don't know at which stage the .venv was dropped.
Screenshot and/or share link
No response
Operating System
Kali rolling, latest update Nov 4, 2025
Terminal
No response
What model are you using?
OpenCode Zen Big Pickle