Azure-docs: 'pip install --upgrade azureml-sdk[notebooks,automl]' doesn't work with zsh shell on Mac

Created on 1 Oct 2018  Â·  5Comments  Â·  Source: MicrosoftDocs/azure-docs

When I try to install azureml-sdk with the extras [notebooks,automl] as instructed, I only get the message no matches found: azureml-sdk[notebooks,automl]. If I try without the extras, the installation finishes without issues.

If I switch back to bash instead of zsh, the installation goes without issues. Is this an issue with zsh or with the Azure ML SDK?


Document Details

⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

assigned-to-author doc-bug machine-learninsvc triaged

Most helpful comment

Hi @ArvidBaa , zsh sees the [ and ] characters and thinks that you're trying to use its globbing feature. To get the command to work with zsh, add noglob before the command. So noglob pip install --upgrade azureml-sdk[notebooks,automl].

I'll talk to the writers and see if we can come up with a note, but everything is going to be tested with the 'default' shells of bash (Linux, UNIX, Mac) or cmd/PowerShell on Windows. Once you get into the non-default shells, various behaviors change.

All 5 comments

@ArvidBaa Thanks for the feedback! I have assigned the issue to the content author to investigate further and update the document as appropriate.

@rastala Hi, this should be a doc-bug related, can you please check it and update the document as necessary? Thanks a lot!

Hi @ArvidBaa , zsh sees the [ and ] characters and thinks that you're trying to use its globbing feature. To get the command to work with zsh, add noglob before the command. So noglob pip install --upgrade azureml-sdk[notebooks,automl].

I'll talk to the writers and see if we can come up with a note, but everything is going to be tested with the 'default' shells of bash (Linux, UNIX, Mac) or cmd/PowerShell on Windows. Once you get into the non-default shells, various behaviors change.

Ah, I understand. Since it is mainly an 'issue' with zsh, I completely understand that it doesn't really fit in the scope of this document. It is completely reasonable to focus on the default shell.

Thanks for the quick answer, and also thanks for the explanation of zsh and globbing!

Glad I could help!

please-close

@Blackmist Thanks !!!

@ArvidBaa We will now proceed to close this thread. If there are further questions regarding this matter, please respond here and @YutongTie-MSFT and we will gladly continue the discussion.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Ponant picture Ponant  Â·  3Comments

paulmarshall picture paulmarshall  Â·  3Comments

jebeld17 picture jebeld17  Â·  3Comments

JeffLoo-ong picture JeffLoo-ong  Â·  3Comments

ianpowell2017 picture ianpowell2017  Â·  3Comments