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

Commit

Permalink
refine documents (#886)
Browse files Browse the repository at this point in the history
  • Loading branch information
necusjz authored Mar 10, 2022
1 parent 08dd5d3 commit 1114a7b
Showing 1 changed file with 10 additions and 3 deletions.
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>
```

0 comments on commit 1114a7b

Please sign in to comment.