No module issue on Ubuntu 20.04(Focal)/WSL
See original GitHub issueIf you just run apt update && apt install azure-cli
on Ubuntu Focal, you’ll install an old 2.0.81
version from focal/universe
and it’s packaged differently than the official deb packages we release and still in testing stage. It’s not tested and maintianed by Azure CLI Team and has several issues that need to be fixed.
ℹPlease first uninstall azure-cli 2.0.81 and its dependencies:
sudo apt remove azure-cli -y && sudo apt autoremove -y
Then install the latest azure-cli:
curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash
See more install documentation.
Related Issues: #13519 No module named ‘builtin’ in Ubuntu 20.04 (Canonical image) #13958 az cli failing on webapp deployment (No module named ‘decorator’) #14001 Missing antlr4, Error with az vm image list on ubuntu 20.04 (WSL)
Issue Analytics
- State:
- Created 3 years ago
- Reactions:8
- Comments:14 (5 by maintainers)
Top GitHub Comments
Why isn’t this added to the Ubuntu repo (or your own) so we can always get the latest with
apt update
?How is this not fixed by now? it’s the year 2022 and this problem still exists in Ubuntu 20.04 LTS
it is madness to install binaries using this method:
as this is super vulnerable to supply-chain attacks
When can we expect this to be fixed?