zsh: no matches found: requests[security]
This video explains
zsh: no matches found: requests[security]
--
Become part of the top 3% of the developers by applying to Toptal
https://topt.al/25cXVn
--
Music by Eric Matyas
https://www.soundimage.org
Track title: Beneath the City Looping
--
Chapters
00:00 Question
01:13 Accepted answer (Score 432)
01:46 Thank you
--
Full question
https://stackoverflow.com/questions/3053...
Question links:
[https://urllib3.readthedocs.org/en/lates...]: https://urllib3.readthedocs.org/en/lates...
Accepted answer links:
[square brackets for globbing / pattern matching]: http://zsh.sourceforge.net/Guide/zshguid...
[globbing]: http://en.wikipedia.org/wiki/Glob_%28pro...
--
Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...
--
Tags
#python #pip #pythonrequests #zsh
#avk47
zsh: no matches found: requests[security]
--
Become part of the top 3% of the developers by applying to Toptal
https://topt.al/25cXVn
--
Music by Eric Matyas
https://www.soundimage.org
Track title: Beneath the City Looping
--
Chapters
00:00 Question
01:13 Accepted answer (Score 432)
01:46 Thank you
--
Full question
https://stackoverflow.com/questions/3053...
Question links:
[https://urllib3.readthedocs.org/en/lates...]: https://urllib3.readthedocs.org/en/lates...
Accepted answer links:
[square brackets for globbing / pattern matching]: http://zsh.sourceforge.net/Guide/zshguid...
[globbing]: http://en.wikipedia.org/wiki/Glob_%28pro...
--
Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...
--
Tags
#python #pip #pythonrequests #zsh
#avk47
ACCEPTED ANSWER
Score 634
zsh uses square brackets for globbing / pattern matching.
That means that if you need to pass literal square brackets as an argument to a command, you either need to escape them or quote the argument like this:
pip install 'requests[security]'
If you want to disable globbing for the pip command permanently, you can do so by adding this to your ~/.zshrc:
alias pip='noglob pip'
ANSWER 2
Score 13
Use instead:
pip install requests\[security\]
Works flawlessly on MacOS with zsh.