Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error: No module named 'packaging' #3

Closed
jpriebe opened this issue May 25, 2021 · 1 comment
Closed

error: No module named 'packaging' #3

jpriebe opened this issue May 25, 2021 · 1 comment

Comments

@jpriebe
Copy link

jpriebe commented May 25, 2021

Running on MacOS 11.3.1 with python 3.9 installed via homebrew.

az-switch works; it displays the menu, and it sets the subscription. But when it closes, it outputs:

No module named 'packaging'

A pip install packaging fixed it, but maybe there is some kind of dependency that needs to be added to the az-account-switcher package?

Great utility, btw. Reminds me of kubectx and kubens (https://github.com/ahmetb/kubectx).

@abij
Copy link
Owner

abij commented May 28, 2021

Checked with pipdeptree --reverse --packages packaging.

I'll switch dependencies from azure-cli-core to azure-cli in next release, this will transient install it.
It's also installed with pytest, so that why I did not have the issue.

Thx for reporting!

@abij abij closed this as completed May 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants