Но при попытке создать колесо для causalml установка завершается неудачно. Вот фрагмент ошибки:
Код: Выделить всё
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for causalml
Failed to build causalml
ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (causalml)
https://pastebin.com/dehRfgrk
Но это ключевые сообщения об ошибках :
Код: Выделить всё
use_tracing': is not a member of '_PyCFrame' in causalml/inference/tree/_tree/_tree.cpp.
The command "cl.exe" fails with exit code 2.
Warning regarding deprecated NumPy API and usage of Python 2.7 options (bdist_wheel.universal is deprecated).
Setuptools warnings about missing packages in the packages configuration (causalml.inference.tree, etc.)
Версия Python: 3.12.
ОС: Windows 10.
Компилятор: Microsoft Visual Инструменты сборки Studio 2022.
Среда: Anaconda 3.
Версия NumPy: 1.26.4.
Я попробовал обновить сборку Visual Studio инструменты, установил последнюю версию и обеспечил включение инструментов сборки C++. Однако я не уверен, правильно ли я это сделал, но думаю, что это помогло бы.
Буду благодарен за вашу помощь и идеи.
Подробнее здесь: https://stackoverflow.com/questions/790 ... l-causalml