diff options
author | 2020-11-28 21:39:12 +0100 | |
---|---|---|
committer | 2020-11-28 21:39:12 +0100 | |
commit | 37cb27c16e4e8ea64a8c49c1fba043573dba43bc (patch) | |
tree | 81e3e34c0b26a7d1865914b3392d7cf8b355d0ce | |
parent | Merge pull request #1311 from python-discord/mbaruh-codeowners (diff) | |
parent | Merge branch 'master' into master (diff) |
Merge pull request #1308 from Mushinako/master
Add `build-tools` tag
-rw-r--r-- | bot/resources/tags/microsoft-build-tools.md | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/bot/resources/tags/microsoft-build-tools.md b/bot/resources/tags/microsoft-build-tools.md new file mode 100644 index 000000000..7c702e296 --- /dev/null +++ b/bot/resources/tags/microsoft-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. 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. |