From f07b78f0463953b11ad1424bf5039cede6873c89 Mon Sep 17 00:00:00 2001 From: litagin Date: Fri, 21 Jul 2023 20:24:42 +0900 Subject: [PATCH] Add C++ build tools trouble --- README.md | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 8bbb62a..5c09ebd 100644 --- a/README.md +++ b/README.md @@ -59,4 +59,19 @@ It seems that non-ASCII characters in path names gave faiss errors (like `weight venv\Scripts\activate python app.py -``` \ No newline at end of file +``` + +## Troubleshooting + +``` +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/ + [end of output] + + note: This error originates from a subprocess, and is likely not a problem with pip. + ERROR: Failed building wheel for fairseq +Failed to build fairseq +ERROR: Could not build wheels for fairseq, which is required to install pyproject.toml-based projects +``` + +Maybe fairseq needs Microsoft C++ Build Tools. +[Download installer](https://visualstudio.microsoft.com/ja/thank-you-downloading-visual-studio/?sku=BuildTools&rel=16) and install it. \ No newline at end of file