Open paulgmiller opened 4 years ago
@paulgmiller what version of azdev are you using?
azdev --version
Are you using the released package or building from source
In newer releases, the -c param must be given installing the cli, this will install azure core and other dependencies
Here I am not specifying -c to azdev setup so it comes from py pi
I get this.
No module named 'azure.cli.core' Traceback (most recent call last): File "/home/pmiller/azdev2/lib/python3.8/site-packages/knack/cli.py", line 215, in invoke cmd_result = self.invocation.execute(args) File "/home/pmiller/azdev2/lib/python3.8/site-packages/knack/invocation.py", line 225, in execute cmd_result = parsed_args.func(params) File "/home/pmiller/azdev2/lib/python3.8/site-packages/knack/commands.py", line 148, in call return self.handler(*args, kwargs) File "/home/pmiller/azdev2/lib/python3.8/site-packages/knack/commands.py", line 255, in _command_handler result = op(client, command_args) if client else op(**command_args) File "/home/pmiller/azdev2/lib/python3.8/site-packages/azdev/operations/testtool/init.py", line 46, in run_tests path_table = get_path_table() File "/home/pmiller/azdev2/lib/python3.8/site-packages/azdev/utilities/path.py", line 193, in get_path_table from azure.cli.core.extension import EXTENSIONS_DIR # pylint: disable=import-error ModuleNotFoundError: No module named 'azure.cli.core'
If I give it a local repo with azdev setup -c ./azure-cli -r ./azure-cli-extensions -e aks-preview
Then I get No module named 'pkginfo' Traceback (most recent call last): File "/home/pmiller/azdev2/lib/python3.8/site-packages/knack/cli.py", line 215, in invoke cmd_result = self.invocation.execute(args) File "/home/pmiller/azdev2/lib/python3.8/site-packages/knack/invocation.py", line 225, in execute cmd_result = parsed_args.func(params) File "/home/pmiller/azdev2/lib/python3.8/site-packages/knack/commands.py", line 148, in call return self.handler(*args, kwargs) File "/home/pmiller/azdev2/lib/python3.8/site-packages/knack/commands.py", line 255, in _command_handler result = op(client, command_args) if client else op(**command_args) File "/home/pmiller/azdev2/lib/python3.8/site-packages/azdev/operations/testtool/init.py", line 46, in run_tests path_table = get_path_table() File "/home/pmiller/azdev2/lib/python3.8/site-packages/azdev/utilities/path.py", line 193, in get_path_table from azure.cli.core.extension import EXTENSIONS_DIR # pylint: disable=import-error File "/home/pmiller/azure-cli/src/azure-cli-core/azure/cli/core/extension/init.py", line 13, in
import pkginfo
And if i pip install pkginfo I ge a little further to errors that might be related to my pacakge