Despite it saying that aaz-dev was successfully deplyoed if I ran:
(azcli) developer@DESKTOP-10GJ18A ~/ado/aaz (main) $ aaz-dev
Traceback (most recent call last):
File "/home/developer/ado/azcli/bin/aaz-dev", line 5, in <module>
from aaz_dev.app.main import main
File "/home/developer/ado/azcli/lib/python3.8/site-packages/aaz_dev/app/main.py", line 2, in <module>
from aaz_dev.app.app import cli
File "/home/developer/ado/azcli/lib/python3.8/site-packages/aaz_dev/app/app.py", line 3, in <module>
from flask import Flask, jsonify
File "/home/developer/ado/azcli/lib/python3.8/site-packages/flask/__init__.py", line 7, in <module>
from .app import Flask as Flask
File "/home/developer/ado/azcli/lib/python3.8/site-packages/flask/app.py", line 27, in <module>
from . import cli
File "/home/developer/ado/azcli/lib/python3.8/site-packages/flask/cli.py", line 17, in <module>
from .helpers import get_debug_flag
File "/home/developer/ado/azcli/lib/python3.8/site-packages/flask/helpers.py", line 14, in <module>
from werkzeug.urls import url_quote
ImportError: cannot import name 'url_quote' from 'werkzeug.urls' (/home/developer/ado/azcli/lib/python3.8/site-packages/werkzeug/urls.py)
I get that python packaging is a pile of poo, the workaround here is to run pip install Werkzeug==2.2.2
I am following https://eng.ms/docs/cloud-ai-platform/azure-core/azure-management-and-platforms/control-plane-bburns/azure-cli-tools-azure-cli-powershell-and-terraform/azure-cli-tools/teams_docs/azcli_docs/setup_for_codegen on WSL,
I hit am error running:
Despite it saying that
aaz-dev
was successfully deplyoed if I ran:I get that python packaging is a pile of poo, the workaround here is to run
pip install Werkzeug==2.2.2