Skip to content

Use quotes in zsh macos '.[torch]' or ".[flax]" when using uv pip install #426

Open
sparshrestha wants to merge 1 commit into
google-research:masterfrom
sparshrestha:patch-1
Open

Use quotes in zsh macos '.[torch]' or ".[flax]" when using uv pip install #426
sparshrestha wants to merge 1 commit into
google-research:masterfrom
sparshrestha:patch-1

Conversation

@sparshrestha

Copy link
Copy Markdown

On macOS zsh terminal, extra syntax like .[torch] is interpreted as a glob pattern unless quoted. This causes installation to fail with:

zsh: no matches found: .[torch]

Solution: Quote the extras specifier like this '.[torch]' or ".[flax]"

uv pip install -e '.[torch]'
uv pip install -e ".[flax]"

Quote extras specifiers in uv install commands for zsh compatibility in macOS
@google-cla

google-cla Bot commented May 15, 2026

Copy link
Copy Markdown

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@sparshrestha

Copy link
Copy Markdown
Author

@siriuz42 please check this tiny PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant