зеркало из https://github.com/Azure/autorest.az.git
refine documents (#886)
This commit is contained in:
Родитель
08dd5d35bd
Коммит
1114a7b781
13
doc/faq.md
13
doc/faq.md
|
@ -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>
|
||||
```
|
||||
|
|
Загрузка…
Ссылка в новой задаче