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

AZ CLI 2.0 has to be installed every time bash opens #1992

Closed
Teodelas opened this issue Apr 24, 2017 · 5 comments
Closed

AZ CLI 2.0 has to be installed every time bash opens #1992

Teodelas opened this issue Apr 24, 2017 · 5 comments

Comments

@Teodelas
Copy link

  • Your Windows build number: (Type ver at a Windows Command Prompt)
    [Version 10.0.15063
  • What you're doing and what's happening: (Copy&paste specific commands and their output, or include screen shots)
  • Trying to run Azure CLI 2.0
  • What's wrong / what should be happening instead:
    Azure CLI doesn't work after restarting BashOnWindows. I have to reinstall it. In other words, I can install AZ CLI, it works fine, but if I close and restart Bash, az is not available.
    Error: /usr/bin/python: No module named azure
  • Strace of the failing command, if applicable: (If <cmd> is failing, then run strace -o strace.txt -ff <cmd>, and post the strace.txt output here)
@benhillis
Copy link
Member

@Teodelas - After installing Azure CLI could you run which az and tell me the path? I think what's happening is Azure is not being removed but the path entry is getting overwritten. Possibly because of #816.

@Teodelas
Copy link
Author

Teodelas commented Apr 26, 2017 via email

@benhillis
Copy link
Member

Interesting, it looks like we're picking up the Windows version of az through interop.

@Teodelas
Copy link
Author

Teodelas commented Apr 26, 2017 via email

Copy link
Contributor

This issue has been automatically closed since it has not had any activity for the past year. If you're still experiencing this issue please re-file this as a new issue or feature request.

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants