creating build/lib.macosx-10.6-intel-3.6/shap/plots/resources running build Anyway I got the solution to a similar problem on Windows. Share Improve this answer Follow edited Jan 11, 2022 at 8:47 buddemat 4,329 13 26 48 answered Jan 11, 2022 at 1:30 hashmim99 19 2 I've add but still have this error - m.k Nov 2, 2022 at 12:51 Add a comment Your Answer copying shap/tree_shap.h -> build/lib.linux-x86_64-3.6/shap copying shap/explainers/other/treegain.py -> build/lib.linux-x86_64-3.6/shap/explainers/other creating build/lib.macosx-10.6-intel-3.6 copying shap/explainers/deep/deep_pytorch.py -> build/lib.linux-x86_64-3.6/shap/explainers/deep x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.6m -I/home/leonardo/virtual/include/python3.6m -I/home/leonardo/virtual/lib/python3.6/site-packages/numpy/core/include -c shap/_cext.cc -o build/temp.linux-x86_64-3.6/shap/_cext.o copying shap/benchmark/metrics.py -> build/lib.macosx-10.6-intel-3.6/shap/benchmark ModuleNotFoundError: No module named 'ConfigParser' How a top-ranked engineering school reimagined CS curriculum (Ep. copying shap/benchmark/experiments.py -> build/lib.linux-x86_64-3.6/shap/benchmark Here are the commands for upgrading pip on all operating systems. copying shap/plots/colors.py -> build/lib.linux-x86_64-3.6/shap/plots copying shap/plots/decision.py -> build/lib.linux-x86_64-3.6/shap/plots copying shap/init.py -> build/lib.linux-x86_64-3.6/shap copying shap/explainers/sampling.py -> build/lib.macosx-10.6-intel-3.6/shap/explainers python copying shap/plots/force.py -> build/lib.linux-x86_64-3.6/shap/plots copying shap/plots/init.py -> build/lib.linux-x86_64-3.6/shap/plots ---------------------------------------- This error mostly comes up when you do not have the required packages needed by wheel. copying shap/explainers/bruteforce.py -> build/lib.linux-x86_64-3.6/shap/explainers Requirement already satisfied: numpy in /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages (from shap) (1.18.0) copying shap/benchmark/measures.py -> build/lib.macosx-10.6-intel-3.6/shap/benchmark /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/stdio.h:108:15: fatal error: 'stdio.h' file not found running build install. By clicking Post Your Answer, you agree to our terms of service, privacy policy and cookie policy. copying shap/explainers/other/lime.py -> build/lib.macosx-10.6-intel-3.6/shap/explainers/other numpy.get_include() /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/numpy/core/include copying shap/plots/image.py -> build/lib.macosx-10.6-intel-3.6/shap/plots It has worked for me when I have installed these two. Once you open the file, open your shell in the directory where the file is If not, that seems like the reason for the failure there. None of us were born knowing how to use PyPi, and if they happened upon the wrong tutorial -- well, you can fill in the blanks. /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -fno-strict-aliasing -Wsign-compare -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch i386 -arch x86_64 -g -I/Library/Frameworks/Python.framework/Versions/3.6/include/python3.6m -I/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/numpy/core/include -c shap/_cext.cc -o build/temp.macosx-10.6-intel-3.6/shap/_cext.o For example, I would download the It looks like you are using OSX 10.6, since we are now at 10.15 it could be an issue with an older OS? copying shap/explainers/tree.py -> build/lib.linux-x86_64-3.6/shap/explainers copying shap/explainers/deep/deep_tf.py -> build/lib.linux-x86_64-3.6/shap/explainers/deep Running setup.py install for shap error To learn more, see our tips on writing great answers. Content Discovery initiative April 13 update: Related questions using a Review our technical responses for the 2023 Developer Survey, Building wheel for neural-renderer (setup.py) error, Python package installs globally but fails within virtual environment, Fatal error: Python.h no such file or directory - but python-dev is already installed, ERROR: Complete output from command : Error installing spaCy using pip, Getting "Building wheel for Scorer (setup.py) error", Not able to install django-allauth in ubuntu 18.04.6 LTS, Having a problem installing fbprophet (facebook prophet) on my laptop through CMD. copying shap/explainers/deep/init.py -> build/lib.linux-x86_64-3.6/shap/explainers/deep copying shap/plots/decision.py -> build/lib.macosx-10.6-intel-3.6/shap/plots copying shap/explainers/bruteforce.py -> build/lib.linux-x86_64-3.6/shap/explainers interpreter is 64-bit. Tags: cwd: /private/var/folders/l6/p8839_gj0wq_m6_2f7dsk5zh0000gn/T/pip-install-nfj4b1w4/shap/ copying shap/explainers/deep/deep_tf.py -> build/lib.linux-x86_64-3.6/shap/explainers/deep 1. building 'shap._cext' extension python-wheel, A build-system independent format for source trees, Finding dictionaries which don't have forbidden key-value pairs in Python, Check if key exists in a Python dict in Jinja2 templates, Python: Binary search does not work correctly (Python), Mime: Sending Multipart html emails which contain embedded images, Plot different DataFrames in the same figure in Python. If the error is not resolved, download the wheel package from the ERROR: Command errored out with exit status 1: copying shap/benchmark/methods.py -> build/lib.linux-x86_64-3.6/shap/benchmark to your account. building 'shap._cext' extension Failed to build shap creating build/temp.linux-x86_64-3.6/shap copying shap/plots/force.py -> build/lib.linux-x86_64-3.6/shap/plots The error "Failed building wheel for X" occurs for multiple reasons: Open your terminal and run the following command to install wheel. ERROR: Command errored out with exit status 1: /home/leonardo/virtual/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-tzo_jona/shap/setup.py'"'"'; file='"'"'/tmp/pip-install-tzo_jona/shap/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /tmp/pip-record-33kyy1ha/install-record.txt --single-version-externally-managed --compile --install-headers /home/leonardo/virtual/include/site/python3.6/shap Check the logs for full command output.`.