diff options
| author | 2020-11-26 18:50:20 -0800 | |
|---|---|---|
| committer | 2020-11-26 18:50:20 -0800 | |
| commit | 63abf5cd0dfe831caaf0a854387fca11d0e13ae2 (patch) | |
| tree | dc0a6e0d1d6f7ce4223ac0fc3c7413c8b3fd31a7 | |
| parent | Merge pull request #1307 from python-discord/sebastiaan/bugs/add-voiceban-to-... (diff) | |
Add `build-tools` tag
Infoblock tag helping people install Microsoft Visual C++ Build Tools on Windows
| -rw-r--r-- | bot/resources/tags/build-tools.md | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/bot/resources/tags/build-tools.md b/bot/resources/tags/build-tools.md new file mode 100644 index 000000000..23ce15e8a --- /dev/null +++ b/bot/resources/tags/build-tools.md @@ -0,0 +1,15 @@ +**Microsoft Visual C++ Build Tools** + +When you install a library through `pip` on Windows, sometimes you may encounter this error: + +``` +error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/ +``` + +This means the library you're installing has code written in other languages and needs additional tools to install. To install these tools, follow the following steps: (Requires 6GB+ disk space) + +1. Open [https://visualstudio.microsoft.com/visual-cpp-build-tools/](https://visualstudio.microsoft.com/visual-cpp-build-tools/). +2. Click **`Download Build Tools >`**. A file named `vs_BuildTools` or `vs_BuildTools.exe` should start downloading. If no downloads start after a few seconds, click **`click here to retry`**. +3. Run the downloaded file. If a **`User Account Control`** dialog pops up, click **`Yes`**. Click **`Continue`** to proceed. +4. Choose **C++ build tools** and press **`Install`**. You may need a reboot after the installation. +5. Try installing the library via `pip` again. |