Skip to content
This repository has been archived by the owner on Jul 14, 2023. It is now read-only.

Refine documents #886

Merged
merged 1 commit into from
Mar 10, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 10 additions & 3 deletions doc/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -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>
```