I am using zsh, and I have installed gcloud in order to interact with GCP via local terminal on my Mac. I am encountering this error “zsh: no matches found: apache-beam[gcp]”. However, when I run the command directly on the bash terminal on the GCP console, there was no such error. How do I deal? Thank you.
Asked
Active
Viewed 3,178 times
10

Mikhail Berlyant
- 165,386
- 8
- 154
- 230

Sadeeq Akintola
- 227
- 3
- 7
-
7I found the answer. According to this reddit post https://www.reddit.com/r/googlecloud/comments/dve3ie/python_apachebeam_library/, the user BBHoss, who said You're using zsh, so you need to put the package name in quotes.” pip install 'apache-beam[gcp]' actually works. – Sadeeq Akintola Mar 11 '20 at 14:23
-
1You should turn this comment into an answer and accept it. – evolved Jun 03 '20 at 04:49
2 Answers
0
As Navaneeth Pk suggested, enclose your library name in double quotes, eg pip install "apache-beam[gcp]"

Ambesh
- 111
- 1
- 8