That's right. You need to put quotes (single quotes or double quotes)
around .[gcp,test] since the square brackets are interpreted as a
glob-pattern in shell.

We will also need to add the quotes to the command listed in the beam wiki
page:
https://cwiki.apache.org/confluence/display/BEAM/Python+Tips#PythonTips-VirtualEnvironmentSetup




On Fri, Jan 5, 2024 at 7:44 AM XQ Hu via dev <dev@beam.apache.org> wrote:

> Assuming you run this under beam/sdks/python, since I use zsh, I have to
> do this `pip install -e ".[gcp,test]"`.
>
> On Fri, Jan 5, 2024 at 1:33 AM G Gautam <gautamr...@gmail.com> wrote:
>
>> Hi everyone,
>>
>> Need help in setting beam locally.
>>
>> When trying to setup locally
>> on entering this command: pip install -e .[gcp,test]
>> I am getting: no matches found: .[gcp,test]
>> am i missing anything
>>
>> I am following this steps
>> -------------------------------------------------------------------------
>> $ python3 -m venv ~/.virtualenvs/env
>>
>> # Activate virtual environment.
>> $ . ~/.virtualenvs/env/bin/activate
>>
>> # Upgrade other tools. (Optional)
>> pip install --upgrade pip
>> pip install --upgrade setuptools
>>
>> # Install Apache Beam package in editable mode.
>> (env) $ pip install -e .[gcp,test]
>> -------------------------------------------------------------------------
>> Slack link
>> <https://the-asf.slack.com/archives/CBDNLQZM1/p1704358998796409>
>>
>> Thanks,
>>
>> Gautam
>>
>> [image: Please consider the environment before printing]
>>
>

Reply via email to