copying shap/plots/colors.py -> build/lib.macosx-10.6-intel-3.6/shap/plots Building wheel for shap (setup.py) error #1124 - Github :). ^~~~~~~~~~ creating build/temp.linux-x86_64-3.6 copying shap/plots/bar.py -> build/lib.linux-x86_64-3.6/shap/plots copying shap/explainers/gradient.py -> build/lib.macosx-10.6-intel-3.6/shap/explainers 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/plots/embedding.py -> build/lib.linux-x86_64-3.6/shap/plots Requirement already satisfied: pytz>=2017.2 in ./env/lib/python3.6/site-packages (from pandas->shap) copying shap/explainers/deep/init.py -> build/lib.linux-x86_64-3.6/shap/explainers/deep But I keep getting stuck. What does the "yield" keyword do in Python? creating build/temp.linux-x86_64-3.6/shap You can install pip3 using the following command; After this you can try to install the package you need with; I was trying to install python-nmap tool, and getting this error. copying shap/benchmark/experiments.py -> build/lib.linux-x86_64-3.6/shap/benchmark Thank you for your quick response. copying shap/benchmark/init.py -> build/lib.linux-x86_64-3.6/shap/benchmark copying shap/datasets.py -> build/lib.linux-x86_64-3.6/shap copying shap/plots/colors.py -> build/lib.linux-x86_64-3.6/shap/plots copying shap/explainers/linear.py -> build/lib.linux-x86_64-3.6/shap/explainers creating build Complete output (71 lines): In some of these cases, currently, pip falls back to installing via setup.py install, so it's possible that the installation still succeeds. So far the best partial explanation I have found is this. copying shap/explainers/deep/deep_pytorch.py -> build/lib.macosx-10.6-intel-3.6/shap/explainers/deep Please, try this: The result was Failed to build hddfancontrol. running build_ext Install build back-ends (i.e. This is installed automatically because python3-pip recommends it. Running setup.py install for shap error creating build/lib.macosx-10.6-intel-3.6/shap/benchmark the unmaintained MySQL-python package and adds support for Python 3. copying shap/common.py -> build/lib.linux-x86_64-3.6/shap ERROR: Command errored out with exit status 1: Install shap in SAP Data Intelligence | SAP Community Error while installing Box2D Python package - Super User Once we have a wheel, pip can install the wheel by unpacking it correctly. How to check for #1 being either `d` or `h` with latex3? error Already on GitHub? If you are on Linux platform, please make sure that the nmap tool is installed, otherwise the library python-nmap won't work. Which command works depends on your operating system and your version of Python. copying shap/explainers/pytree.py -> build/lib.linux-x86_64-3.6/shap/explainers Well occasionally send you account related emails. Installing collected packages: shap By clicking Sign up for GitHub, you agree to our terms of service and copying shap/explainers/gradient.py -> build/lib.macosx-10.6-intel-3.6/shap/explainers numpy.get_include() /home/leonardo/virtual/lib/python3.6/site-packages/numpy/core/include creating build/lib.linux-x86_64-3.6 Pillow installed. creating build/lib.linux-x86_64-3.6/shap/explainers First, get your Python version and check if your Running setup.py install for shap error Complete output from command /home/surd-tech/MyCode/RIAttrition/env/bin/python3 -u -c "import setuptools, tokenize;file='/tmp/pip-build-kqoy2oxv/shap/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" bdist_wheel -d /tmp/tmpqb0cyrhcpip-wheel- --python-tag cp36: copying shap/plots/monitoring.py -> build/lib.linux-x86_64-3.6/shap/plots Installation error in virtualenv on Linux, https://files.pythonhosted.org/packages/a8/77/b504e43e21a2ba543a1ac4696718beb500cfa708af2fb57cb54ce299045c/shap-0.35.0.tar.gz, gcc: error trying to exec 'cc1plus': execvp: No such file or directory. Requirement already satisfied: scipy in /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages (from shap) (1.4.1) .whl file under "Built Distribution". Your error message here is due to the wheel package being missing, which contains the logic required to build the wheels in setup.py bdist_wheel. error: command 'x86_64-linux-gnu-gcc' failed with exit status 1, Command "/home/surd-tech/MyCode/RIAttrition/env/bin/python3 -u -c "import setuptools, tokenize;file='/tmp/pip-build-kqoy2oxv/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-0rm_0csp-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/surd-tech/MyCode/RIAttrition/env/include/site/python3.6/shap" failed with error code 1 in /tmp/pip-build-kqoy2oxv/shap/, @vaibhavkumar049 The second one is wrong: At the time of writing OP, I already had the. So, the error might simply be a matter of how the developer packaged and deployed the project. 1 You need to add the shap module to the Jupyter environment. The error "Failed building wheel for wordcloud" error occurs for multiple copying shap/explainers/other/maple.py -> build/lib.linux-x86_64-3.6/shap/explainers/other warnings.warn(msg) Download files section of the package's copying shap/benchmark/experiments.py -> build/lib.linux-x86_64-3.6/shap/benchmark copying shap/benchmark/init.py -> build/lib.linux-x86_64-3.6/shap/benchmark copying shap/plots/colors.py -> build/lib.macosx-10.6-intel-3.6/shap/plots It does not answer the question. Running setup.py bdist_wheel for shap error What does ** (double star/asterisk) and * (star/asterisk) do for parameters? article. copying shap/tree_shap.h -> build/lib.linux-x86_64-3.6/shap Viewed 1k times. You don't have a Python version that is outside the version range supported Installation error in virtualenv on Linux #1036 - Github copying shap/plots/force.py -> build/lib.linux-x86_64-3.6/shap/plots copying shap/explainers/deep/init.py -> build/lib.linux-x86_64-3.6/shap/explainers/deep To solve the error "Failed building wheel for X", make sure: Some packages require you to have certain prerequisites installed before you can What's the cheapest way to buy out a sibling's share of our parents house if I have no cash and want to pay less than the appraised value? Hi Karen, copying shap/explainers/other/coefficent.py -> build/lib.macosx-10.6-intel-3.6/shap/explainers/other #include by. copying shap/benchmark/methods.py -> build/lib.linux-x86_64-3.6/shap/benchmark copying shap/explainers/permutation.py -> build/lib.macosx-10.6-intel-3.6/shap/explainers by the package. sudo apt upgrade creating build/lib.linux-x86_64-3.6/shap/explainers/deep copying shap/plots/colorconv.py -> build/lib.macosx-10.6-intel-3.6/shap/plots copying shap/explainers/deep/deep_pytorch.py -> build/lib.linux-x86_64-3.6/shap/explainers/deep Your error message here is due to the wheel package being missing, which contains the logic required to build the wheels in setup.py bdist_wheel. creating build/lib.macosx-10.6-intel-3.6/shap/plots/resources copying shap/plots/bar.py -> build/lib.linux-x86_64-3.6/shap/plots Using cached shap-0.35.0.tar.gz (273 kB) copying shap/plots/text.py -> build/lib.macosx-10.6-intel-3.6/shap/plots Not the answer you're looking for? copying shap/explainers/other/lime.py -> build/lib.linux-x86_64-3.6/shap/explainers/other building 'shap._cext' extension copying shap/explainers/gradient.py -> build/lib.linux-x86_64-3.6/shap/explainers copying shap/explainers/deep/init.py -> build/lib.linux-x86_64-3.6/shap/explainers/deep download an older version. I followed most of the steps without problems. copying shap/explainers/sampling.py -> build/lib.linux-x86_64-3.6/shap/explainers copying shap/explainers/init.py -> build/lib.linux-x86_64-3.6/shap/explainers So, the error might simply be a matter of how the developer packaged and deployed the project. Is there a way to skip wheel generation (. copying shap/benchmark/plots.py -> build/lib.macosx-10.6-intel-3.6/shap/benchmark Having a Python version that isn't supported by the package we're trying to copying shap/explainers/other/random.py -> build/lib.macosx-10.6-intel-3.6/shap/explainers/other Installing collected packages: shap copying shap/explainers/other/lime.py -> build/lib.linux-x86_64-3.6/shap/explainers/other copying shap/explainers/additive.py -> build/lib.linux-x86_64-3.6/shap/explainers Requirement already satisfied: pytz>=2017.2 in /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages (from pandas->shap) (2019.3) creating build/lib.linux-x86_64-3.6/shap/plots/resources copying shap/explainers/mimic.py -> build/lib.linux-x86_64-3.6/shap/explainers The --pre option makes it so pip includes pre-release and development /usr/lib/python3.6/distutils/dist.py:261: UserWarning: Unknown distribution option: 'long_description_content_type' I stuck with this problem for several hours when I was trying to install a package that requires 'isal', but isal installation failed: The solution that works for me is installing libtool. copying shap/explainers/partition.py -> build/lib.linux-x86_64-3.6/shap/explainers Open the directory that contains the file in Explorer. Browse other questions tagged, Where developers & technologists share private knowledge with coworkers, Reach developers & technologists worldwide. creating build/lib.macosx-10.6-intel-3.6/shap/plots/resources copying shap/explainers/tf_utils.py -> build/lib.linux-x86_64-3.6/shap/explainers copying shap/plots/waterfall.py -> build/lib.linux-x86_64-3.6/shap/plots copying shap/plots/force.py -> build/lib.linux-x86_64-3.6/shap/plots creating build/temp.macosx-10.6-intel-3.6 Installing collected packages: shap The code within my dockerfile is as follows: FROM $com.sap.sles.base RUN python3.6 -m pip install sklearn --user RUN python3.6 -m pip install shap --user Which returns the error: error building docker image. Also make sure that the wheel package is installed in the virtual environment that you are operating in (not just the machine). copying shap/explainers/permutation.py -> build/lib.linux-x86_64-3.6/shap/explainers pip tries to install packages via wheels as often as it can. copying shap/tree_shap.h -> build/lib.linux-x86_64-3.6/shap If that fails for any reason (like, missing system level libraries, incompatibilities with your system, bad version string in the built wheel, etc), you get the "Failed building wheel for {}" message. copying shap/benchmark/measures.py -> build/lib.linux-x86_64-3.6/shap/benchmark https://www.lfd.uci.edu/~gohlke/pythonlibs/ pip install --upgrade pip command to upgrade your pip version, install the copying shap/explainers/other/coefficent.py -> build/lib.linux-x86_64-3.6/shap/explainers/other sudo apt update copying shap/plots/embedding.py -> build/lib.linux-x86_64-3.6/shap/plots copying shap/explainers/pytree.py -> build/lib.macosx-10.6-intel-3.6/shap/explainers copying shap/benchmark/methods.py -> build/lib.linux-x86_64-3.6/shap/benchmark copying shap/datasets.py -> build/lib.linux-x86_64-3.6/shap Read on for the details and explaination. reasons: After updating pip, setuptools and wheel, run the following command to You can check your Python version with the python --version command. Don't use the default Python 2 that's pre-installed on your Mac because mysqlclient latest version only supports Python 3 (requires Python >=3.5) copying shap/plots/monitoring.py -> build/lib.macosx-10.6-intel-3.6/shap/plots If you are trying to install the numba package, you can download its .whl copying shap/explainers/permutation.py -> build/lib.linux-x86_64-3.6/shap/explainers reasons: First, if you are on macOS or Linux, install the prerequisites. copying shap/explainers/pytree.py -> build/lib.linux-x86_64-3.6/shap/explainers copying shap/tree_shap.h -> build/lib.linux-x86_64-3.6/shap Requirement already satisfied: six>=1.5 in /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages (from python-dateutil>=2.6.1->pandas->shap) (1.13.0) copying shap/explainers/bruteforce.py -> build/lib.linux-x86_64-3.6/shap/explainers copying shap/plots/dependence.py -> build/lib.macosx-10.6-intel-3.6/shap/plots Do that in every new virtual environment created with venv. But temporary solution is to try the unofficial wheels. Different versions are available in the copying shap/explainers/kernel.py -> build/lib.linux-x86_64-3.6/shap/explainers I'm sure that is not the only reason for the error, but I'm willing to bet that is a major reason for it. copying shap/init.py -> build/lib.macosx-10.6-intel-3.6/shap creating build/lib.macosx-10.6-intel-3.6/shap/explainers If the error is not resolved, try installing the package with the Below are a couple I have used; My experience is that most of these tutorials only have you use the .tar of the source, not a wheel. Building wheel for shap (setup.py) error link, press CTRL + f and search for llvmlite or click the You signed in with another tab or window. copying shap/explainers/permutation.py -> build/lib.linux-x86_64-3.6/shap/explainers copying shap/plots/colorconv.py -> build/lib.macosx-10.6-intel-3.6/shap/plots Hi, Vaibhav! From the documentation I read that they first install these packages: sudo apt-get install libxml2-dev libxmlsec1-dev located (e.g. creating build install. ^~~~~~~~~~ Requirement already satisfied: pandas in ./virtual/lib/python3.6/site-packages (from shap) (0.25.3) When the pip install command is run in verbose mode, the command shows more You signed in with another tab or window. Requirement already satisfied: scikit-learn in /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages (from shap) (0.22.2.post1) copying shap/explainers/explainer.py -> build/lib.macosx-10.6-intel-3.6/shap/explainers What does the power set mean in the construction of Von Neumann universe? creating build/lib.linux-x86_64-3.6/shap/plots If none of the suggestions helped, try running the pip install command in command: /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 copying shap/explainers/additive.py -> build/lib.macosx-10.6-intel-3.6/shap/explainers 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/home/surd-tech/MyCode/RIAttrition/env/include -I/usr/include/python3.6m -I/home/surd-tech/MyCode/RIAttrition/env/lib/python3.6/site-packages/numpy/core/include -c shap/_cext.cc -o build/temp.linux-x86_64-3.6/shap/_cext.o Make sure to use the correct command to activate your virtual environment Making statements based on opinion; back them up with references or personal experience. copying shap/plots/force_matplotlib.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. Yesterday, I got the same error: Failed building wheel for hddfancontrol when I ran pip3 install hddfancontrol. Anyway I got the solution to a similar problem on Windows. shell If the error is not resolved, try running the pip install command with the If you are using python3, then install python3-dev or python2-dev if you are using python 2. issue : while installing opencv python via, pip3 install --upgrade pip setuptools wheel, After this you still might received fallowing error error. install. copying shap/benchmark/models.py -> build/lib.linux-x86_64-3.6/shap/benchmark have available wheels for your version of Python. copying shap/plots/dependence.py -> build/lib.linux-x86_64-3.6/shap/plots Has the cause of a rocket failure ever been mis-identified, such that another launch failed due to the same problem? Once you open the file, open your shell in the directory where the file is creating build/lib.linux-x86_64-3.6/shap pip install shap If that didn't help, use the --pre option to include pre-release and python - What is the meaning of "Failed building wheel for X" in pip copying shap/explainers/other/treegain.py -> build/lib.macosx-10.6-intel-3.6/shap/explainers/other Sign up for a free GitHub account to open an issue and contact its maintainers and the community. Asking for help, clarification, or responding to other answers. copying shap/plots/force.py -> build/lib.macosx-10.6-intel-3.6/shap/plots copying shap/plots/image.py -> build/lib.macosx-10.6-intel-3.6/shap/plots website. The openssl location might be different depending on your operating system, copying shap/plots/image.py -> build/lib.linux-x86_64-3.6/shap/plots ERROR: Failed building wheel for numpy Failed to build numpy ERROR: Could not build wheels for numpy, which is required to install pyproject.toml-based projects joblib numpy numpyjoblib 4. copying shap/explainers/bruteforce.py -> build/lib.macosx-10.6-intel-3.6/shap/explainers (pip install wheel can fix that -- but it won't fix any build time issues due to system configuration), Sometime in the future, we'll switch to a more modern build system by default (if you're a package author, you can opt-in by adding a pyproject.toml) that will solve this issue, through isolated build environments where you will have wheel installed. creating build/temp.macosx-10.6-intel-3.6/shap First of all download this whl file according to your system For 32-bit: numpy1.21.2+mklcp310cp310win32.whl creating build/lib.linux-x86_64-3.6/shap/explainers/deep For example, I would download the pip copying shap/explainers/deep/init.py -> build/lib.linux-x86_64-3.6/shap/explainers/deep building 'shap._cext' extension copying shap/benchmark/methods.py -> build/lib.macosx-10.6-intel-3.6/shap/benchmark numpy.get_include() /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/numpy/core/include After you upgrade pip, upgrade setuptools as well. Requirement already satisfied: tqdm>4.25.0 in /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages (from shap) (4.43.0) This error mostly comes up when you do not have the required packages needed by wheel. copying shap/plots/summary.py -> build/lib.macosx-10.6-intel-3.6/shap/plots How is that the accepted answer to the question? Using cached https://files.pythonhosted.org/packages/a8/77/b504e43e21a2ba543a1ac4696718beb500cfa708af2fb57cb54ce299045c/shap-0.35.0.tar.gz If that didn't help, try to run the pip install command with the --upgrade I think this way he can accept his own answer I believe. To subscribe to this RSS feed, copy and paste this URL into your RSS reader. Requirement already satisfied: joblib>=0.11 in ./env/lib/python3.6/site-packages (from scikit-learn->shap) Complete output (78 lines): shap/_cext.cc:3:10: fatal error: Python.h: No such file or directory copying shap/plots/monitoring.py -> build/lib.macosx-10.6-intel-3.6/shap/plots copying shap/common.py -> build/lib.macosx-10.6-intel-3.6/shap I've been trying to install pypesq and pesq modules. But I - Reddit Requirement already satisfied: six>=1.5 in ./virtual/lib/python3.6/site-packages (from python-dateutil>=2.6.1->pandas->shap) (1.12.0) copying shap/plots/decision.py -> build/lib.linux-x86_64-3.6/shap/plots creating build/lib.macosx-10.6-intel-3.6/shap/explainers/other creating build/lib.macosx-10.6-intel-3.6/shap copying shap/explainers/sampling.py -> build/lib.macosx-10.6-intel-3.6/shap/explainers copying shap/plots/decision.py -> build/lib.macosx-10.6-intel-3.6/shap/plots Once we have a wheel, pip can install the wheel by unpacking it correctly. Failed building wheel for X when using pip install [Solved] install torch. copying shap/explainers/sampling.py -> build/lib.linux-x86_64-3.6/shap/explainers /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/stdio.h:108:15: fatal error: 'stdio.h' file not found privacy statement. and installing it using the below command. Once you install the wheel package, the error will be resolved. I think pip tries to import the wheel python package, and if that succeeds assumes that the wheel command is also available. On what basis are pardoning decisions made by presidents or governors when exercising their pardoning power? 1 error generated. copying shap/explainers/other/lime.py -> build/lib.macosx-10.6-intel-3.6/shap/explainers/other Thus, when installing packages created using these tutorials, I've received the "Failed to build wheel" error. error when install shap in Jupitor Notebook - Stack Overflow cwd: /tmp/pip-install-tzo_jona/shap/ copying shap/plots/waterfall.py -> build/lib.linux-x86_64-3.6/shap/plots The error was fixed by running the following: Alternatively, the "wheel" can be downloaded directly from here. copying shap/plots/summary.py -> build/lib.linux-x86_64-3.6/shap/plots ModuleNotFoundError: No module named 'ConfigParser' Using cached shap-0.34.0.tar.gz (264 kB) Here are the commands for upgrading pip on all operating systems. #include_next copying shap/explainers/bruteforce.py -> build/lib.linux-x86_64-3.6/shap/explainers Once you download the file, open your terminal in the folder where the .whl 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. run the pip install command. Installing this too fixes the "failed building wheel" errors for me. # add it to your LIBRARY_PATH env variable, # first, uninstall psycopg2 first. How about saving the world? copying shap/plots/resources/logoSmallGray.png -> build/lib.linux-x86_64-3.6/shap/plots/resources Installing libgl solved the error for me. copying shap/explainers/deep/deep_tf.py -> build/lib.macosx-10.6-intel-3.6/shap/explainers/deep How to create a virtual ISO file from /dev/sr0. By clicking Accept all cookies, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our Cookie Policy. If the .whl files are not available for your version of Python, try running Source: gcc: error trying to exec 'cc1plus': execvp: No such file or directory, @lrdsouza thanks for your quick response , I needed to install g++. This is installed automatically because python3-pip recommends it. This answer saved me, I was trying to install PandasGUI on WSL and kept getting the error "Can't build wheel for evdev", and no answers on the internet worked, but yours did! Here are the most common packages that cause the error. Failed building wheel for X when using pip install, ModuleNotFoundError: No module named 'ConfigParser', https://www.lfd.uci.edu/~gohlke/pythonlibs/. However, at the step for installing Box2D with pip, I get the errors below. copying shap/explainers/explainer.py -> build/lib.linux-x86_64-3.6/shap/explainers If the error persists, follow the instructions in my Python installation is 64-bit or 32-bit. Already on GitHub? running bdist_wheel copying shap/explainers/init.py -> build/lib.linux-x86_64-3.6/shap/explainers copying shap/plots/force_matplotlib.py -> build/lib.macosx-10.6-intel-3.6/shap/plots numpy.get_include() /home/surd-tech/MyCode/RIAttrition/env/lib/python3.6/site-packages/numpy/core/include even after installing wheel its not working for me ! copying shap/explainers/deep/deep_tf.py -> build/lib.macosx-10.6-intel-3.6/shap/explainers/deep Make sure to specify the correct name of the .whl file as your version will running install creating build/lib.linux-x86_64-3.6/shap/benchmark copying shap/explainers/mimic.py -> build/lib.linux-x86_64-3.6/shap/explainers Did you have an older version of setuptools or wheel installed? If the package is not a wheel, pip tries to build a wheel for it (via setup.py bdist_wheel). running install If that fails for any reason, you get the "Failed building wheel for pycparser" message and pip falls back to installing directly (via setup.py install). Please Help! C:\Users\Example\Downloads) and install it using pip: Make sure to specify the name of the .whl file correctly as your Python copying shap/plots/partial_dependence.py -> build/lib.macosx-10.6-intel-3.6/shap/plots copying shap/explainers/other/treegain.py -> build/lib.linux-x86_64-3.6/shap/explainers/other by grpcio. following link. copying shap/explainers/pytree.py -> build/lib.linux-x86_64-3.6/shap/explainers cwd: /private/var/folders/l6/p8839_gj0wq_m6_2f7dsk5zh0000gn/T/pip-install-nfj4b1w4/shap/ copying shap/benchmark/metrics.py -> build/lib.linux-x86_64-3.6/shap/benchmark ERROR: Command errored out with exit status 1: command: 'C:\Users\Marc\AppData\Local\Programs\Python\Python39\python.exe' 'C:\Users\Marc\AppData\Local\Programs\Python\Python39\lib\site-packages\pip\_vendor\pep517\_in_process.py' build_wheel 'C:\Users\Marc\AppData\Local\Temp\tmp5l29l6vo' sudo apt-get install libpcap-dev libpq-dev. I am trying to install OpenAI's Gym in Windows 10, according to this article. copying shap/benchmark/measures.py -> build/lib.macosx-10.6-intel-3.6/shap/benchmark Requirement already satisfied: pandas in ./env/lib/python3.6/site-packages (from shap) copying shap/benchmark/metrics.py -> build/lib.linux-x86_64-3.6/shap/benchmark Requirement already satisfied: scikit-learn in ./env/lib/python3.6/site-packages (from shap)