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
Describe the bug and reproduction steps
There is a discrepancy in the environment between OpenHands and VSCode. For example, when asking OpenHands to run pre-commit, it is found. However, running pre-commit in the VSCode environment results in a command not found error. Additionally, the Python interpreter used by OpenHands (/openhands/poetry/openhands-ai-5O4_aCHf-py3.12/bin/python) differs from the one used by VSCode (/usr/local/bin/python).
Potential solutions
Fix the behavior so that the environments match appropriately between OpenHands and VSCode.
Logs, Errors, Screenshots, and Additional Context
Reproduction Error:
root@runtime-delrpnzygetjfctk-5b787899c8-gjqc6:/workspace# pre-commit
bash: pre-commit: command not found
Python paths:
In OpenHands: /openhands/poetry/openhands-ai-5O4_aCHf-py3.12/bin/python
In VSCode: /usr/local/bin/python
Additional references were discussed about modifying the setup script, located at:
Describe the bug and reproduction steps
There is a discrepancy in the environment between OpenHands and VSCode. For example, when asking OpenHands to run pre-commit, it is found. However, running pre-commit in the VSCode environment results in a
command not found
error. Additionally, the Python interpreter used by OpenHands (/openhands/poetry/openhands-ai-5O4_aCHf-py3.12/bin/python
) differs from the one used by VSCode (/usr/local/bin/python
).Potential solutions
Fix the behavior so that the environments match appropriately between OpenHands and VSCode.
Logs, Errors, Screenshots, and Additional Context
root@runtime-delrpnzygetjfctk-5b787899c8-gjqc6:/workspace# pre-commit bash: pre-commit: command not found
In OpenHands:
/openhands/poetry/openhands-ai-5O4_aCHf-py3.12/bin/python
In VSCode:
/usr/local/bin/python
Additional references were discussed about modifying the setup script, located at:
Issue Created By: Graham Neubig on Slack
Link to Slack Thread: https://openhands-ai.slack.com/archives/C06U8UTKSAD/p1747714970226839?thread_ts=1747714970.226839&cid=C06U8UTKSAD
The text was updated successfully, but these errors were encountered: