This commit is contained in:
necusjz 2022-03-10 14:43:28 +08:00 коммит произвёл GitHub
Родитель 08dd5d35bd
Коммит 1114a7b781
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 10 добавлений и 3 удалений

Просмотреть файл

@ -458,17 +458,24 @@ The specific version information:
|:--------------:|:-------------:|:--------:|
| 3.0.6370 | 3.5.1 | 12.20 |
The path of Python virtual environment within "@autorest/python" extension should be like:
```text
~/.autorest/@autorest_python@xx/node_modules/@autorest/python/venv
```
> ModuleNotFoundError: No module named 'm2r'
1. Active the Python virtual environment within "@autorest/python" extension;
1. Active the virtual environment within "@autorest/python";
2. Execute `pip install m2r`;
> AttributeError: module 'mistune' has no attribute 'BlockGrammar'
1. Active the Python virtual environment within "@autorest/python" extension;
1. Active the virtual environment within "@autorest/python";
2. Execute `pip install mistune==0.8.4`;
> Failed to install or start extension '@autorest/az'
Specify the version of Node.js to **12.20** and the command should be like:
```
```text
$ autorest --version=3.0.6370 --az --use=@autorest/az@latest <path-to-the-swagger-readme.md> --azure-cli-extension-folder=<path-to-the-azure-cli-extension-repo>
```