Проблемы с установкой CausalML.Python

Программы на Python
Anonymous
Проблемы с установкой CausalML.

Сообщение Anonymous »

Я пытаюсь установить causalml на свой компьютер с Windows, используя Python 3.12, с помощью команды pip install causalml.
Но при попытке создать колесо для 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)
Я прикрепил к Pastebin ошибку:
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 ... g-causalml

Вернуться в «Python»