Add --python 3.12 flag to all uv tool install/upgrade commands #151
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary of changes
This PR adds the
--python 3.12flag to alluv tool install openhandsanduv tool upgrade openhandscommands throughout the documentation. This ensures users install OpenHands with Python 3.12, preventing the version 0.0.0 installation issue that occurs when using unsupported Python versions (like Python 3.11).Changes Made
Updated 4 documentation files with 8 total changes:
openhands/usage/run-openhands/cli-mode.mdx (3 updates)
openhands/usage/run-openhands/gui-mode.mdx (1 update)
openhands/usage/run-openhands/local-setup.mdx (2 updates)
openhands/usage/windows-without-wsl.mdx (2 updates)
Context
Users have been reporting getting version 0.0.0 when installing OpenHands CLI without specifying the Python version. This issue is related to using Python versions outside the supported range. By explicitly specifying
--python 3.12, we ensure a consistent and working installation experience for all users.@xingyaoww can click here to continue refining the PR