Open cccchou opened 2 months ago
+1
It looks like you need the Visual C++ compiler, not the redistributable. See https://wiki.python.org/moin/WindowsCompilers#Compilers_Installation_and_configuration for step-by-step instructions that should work.
However, I'm a bit curious about your setup, because in most cases there should already be a precompiled wheel for shap
that should automatically install rather than needing to be compiled from source. Could you include the output from running pip debug
?
yes you're right ihave fix it by installing the c++14.0
It looks like you need the Visual C++ compiler, not the redistributable. See https://wiki.python.org/moin/WindowsCompilers#Compilers_Installation_and_configuration for step-by-step instructions that should work.
However, I'm a bit curious about your setup, because in most cases there should already be a precompiled wheel for
shap
that should automatically install rather than needing to be compiled from source. Could you include the output from runningpip debug
?
when i pip install econml it shows: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/ ERROR: Failed building wheel for shap Failed to build shap ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (shap) i have installed Microsoft Visual C++ 2015-2022 Redistributable 14.0 how can i fix it