Ray: zsh: no matches found: ray[tune]

Created on 4 Jan 2020  路  6Comments  路  Source: ray-project/ray

When trying to execute

pip install ray[tune] torch torchvision filelock

from the tune Quick Start guide (https://ray.readthedocs.io/en/latest/tune.html) I get the error message
zsh: no matches found: ray[tune]. Zsh apparently tries to match some pattern. Is the package literally called ray[tune] or is it enough to install ray?
By the way: The package name tune seems to be still available, so it might make sense to use that name.

question tune

Most helpful comment

you can also just get around this with pip install 'ray[tune]'

All 6 comments

I had the same problem with zsh treating [] as special characters, you can disable zsh globbing for pip adding alias pip='noglob pip' to your .zshrc

you can also just get around this with pip install 'ray[tune]'

Thanks @misterdev @ujvl ! I would suggest changing the installation instructions to

pip install 'ray[tune]' torch torchvision filelock

in the 'Quick Start' section. This does not seem to have any drawbacks and fixes the issue for ZSH-users.

Should be fixed!

It worked for me.

Thanks @ujvl

Was this page helpful?
5 / 5 - 1 ratings