Public bug reported: running az returns the following error: $ az Traceback (most recent call last): File "/usr/lib/python3.8/runpy.py", line 194, in _run_module_as_main return _run_code(code, main_globals, None, File "/usr/lib/python3.8/runpy.py", line 87, in _run_code exec(code, run_globals) File "/usr/lib/python3/dist-packages/azure/cli/__main__.py", line 35, in <module> az_cli = get_default_cli() File "/usr/lib/python3/dist-packages/azure/cli/core/__init__.py", line 833, in get_default_cli from azure.cli.core.azlogging import AzCliLogging File "/usr/lib/python3/dist-packages/azure/cli/core/azlogging.py", line 30, in <module> from azure.cli.core.commands.events import EVENT_INVOKER_PRE_CMD_TBL_TRUNCATE File "/usr/lib/python3/dist-packages/azure/cli/core/commands/__init__.py", line 28, in <module> from azure.cli.core.extension import get_extension File "/usr/lib/python3/dist-packages/azure/cli/core/extension/__init__.py", line 11, in <module> from distutils.sysconfig import get_python_lib ModuleNotFoundError: No module named 'distutils.sysconfig'
Installing python3-distutils fixes this. ProblemType: Bug DistroRelease: Ubuntu 20.10 Package: azure-cli 2.10.1-1 ProcVersionSignature: Ubuntu 5.8.0-25.26-generic 5.8.14 Uname: Linux 5.8.0-25-generic x86_64 NonfreeKernelModules: nvidia_modeset nvidia ApportVersion: 2.20.11-0ubuntu50 Architecture: amd64 CasperMD5CheckResult: skip CurrentDesktop: KDE Date: Tue Oct 20 02:14:00 2020 InstallationDate: Installed on 2020-10-19 (0 days ago) InstallationMedia: Kubuntu 20.10 "Groovy Gorilla" - Beta amd64 (20200930) PackageArchitecture: all SourcePackage: azure-cli UpgradeStatus: No upgrade log present (probably fresh install) ** Affects: azure-cli (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug groovy -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1900630 Title: Missing dependency on python3-distutils To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/azure-cli/+bug/1900630/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs