Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
module loader error on ubuntu artful 0.1.0~b7-1 #4692
Comments
yugangw-msft
changed the title from
az login ubuntu artful 0.1.0~b7-1
to
module loader error on ubuntu artful 0.1.0~b7-1
Oct 17, 2017
yugangw-msft
added
the
Packaging/Debian
label
Oct 17, 2017
|
Pertinent piece:
|
|
If |
rafmathijs
commented
Oct 31, 2017
|
the default ubuntu image comes with a hint to install the azure cli which installs the outdated version |
@rafmathijs Can you provide more details for our own information? |
|
I believe this is only relevant for users running on Ubuntu Artful (17.10). As a user, when you run
Running the instructions as followed gives you v0.1.0.
We should probably get this apt repository removed if we are maintaining a separate apt repository for azure-cli builds. For reference, this is a completely vanilla install of Artful:
Output of all sources:
|
|
And as @derekbekoe pointed out, following the instructions from https://docs.microsoft.com to add the Ubuntu Wheezy repository and install azure-cli worked like a charm. For others, that'd be
Thanks Derek! :) |
blackboxsw commentedOct 17, 2017
•
Edited 1 time
-
blackboxsw
Oct 17, 2017
Can't 'az login' from Ubuntu Artful
az login output
root@a1:~# az login
Error loading command module 'storage'
init() got multiple values for keyword argument 'default_completer'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/azure/cli/main.py", line 35, in main
cmd_result = APPLICATION.execute(args)
File "/usr/lib/python3/dist-packages/azure/cli/core/application.py", line 84, in execute
self.parser.load_command_table(command_table)
File "/usr/lib/python3/dist-packages/azure/cli/core/parser.py", line 91, in load_command_table
enable_autocomplete(self)
File "/usr/lib/python3/dist-packages/azure/cli/core/parser.py", line 34, in enable_autocomplete
argcomplete.autocomplete(parser, validator=lambda c, p: c.lower().startswith(p.lower()))
File "/usr/lib/python3/dist-packages/argcomplete/init.py", line 166, in call
default_completer=default_completer)
File "/usr/lib/python3/dist-packages/azure/cli/core/parser.py", line 30, in init
**kwargs)
TypeError: init() got multiple values for keyword argument 'default_completer'
Environment summary
root@a1:~# az --version
Python (Linux) 3.6.3 (default, Oct 3 2017, 21:45:48)
[GCC 7.2.0]
Install method: ubuntu: apt-get install azure-cli
Distribution: Ubuntu artful
root@a1:
# apt policy azure-clib7-1azure-cli:
Installed: 0.1.0
Candidate: 0.1.0
b7-1b7-1 500Version table:
*** 0.1.0
500 http://archive.ubuntu.com/ubuntu artful/universe amd64 Packages
100 /var/lib/dpkg/status
root@a1:~# cat /etc/os-release
NAME="Ubuntu"
VERSION="17.10 (Artful Aardvark)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu Artful Aardvark (development branch)"
VERSION_ID="17.10"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=artful
UBUNTU_CODENAME=artful