相关文章推荐
魁梧的硬币  ·  django ...·  1 年前    · 
傻傻的松树  ·  c# - NuGet ...·  2 年前    · 
Collectives™ on Stack Overflow

Find centralized, trusted content and collaborate around the technologies you use most.

Learn more about Collectives

Teams

Q&A for work

Connect and share knowledge within a single location that is structured and easy to search.

Learn more about Teams

I am trying to install econml via pip install econml .

However I get the following error message:

ERROR: Failed building wheel for shap Running setup.py clean for shap Failed to build econml shap ERROR: Could not build wheels for econml, which is required to install pyproject.toml-based projects

Does anyone know what I should do?

Than if you have still issue Try to use this command to resolve this issue:

pip install --upgrade pip setuptools wheel 

OR second option:

pip install setuptools --upgrade 

If you have any doubts check the project description, github docs or official docs.

Thank you for your answer! Unfortunately I get the same error after i tried running one of the suggestions. I do also get this error: Installing collected packages: PyQtWebEngine-Qt5, PyQtWebEngine ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. spyder 5.1.5 requires pyqt5<5.13, but you have pyqt5 5.15.6 which is incompatible. spyder 5.1.5 requires pyqtwebengine<5.13, but you have pyqtwebengine 5.15.5 which is incompatible. Is it possible this is the problem? – Ang Nov 28, 2021 at 13:38 @Ang Try to install newest version of wheel package pypi.org/project/wheel and restart terminal, and try again.. – MarioG8 Nov 28, 2021 at 13:51 @Ang If You want to install and use econml package, You have to install Python 3.8 first! This package will not work with python 3.9.7 :-)! – MarioG8 Nov 28, 2021 at 15:07

Thanks for contributing an answer to Stack Overflow!

  • Please be sure to answer the question. Provide details and share your research!

But avoid

  • Asking for help, clarification, or responding to other answers.
  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.