Guest User

Error with CausalML

a guest
Sep 28th, 2024
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 43.03 KB | Source Code | 0 0
  1. PS C:\Users\User1\Downloads\Project1> pip install causalml Collecting causalml Using cached causalml-0.15.1.tar.gz (1.5 MB) Installing build dependencies ... done Getting requirements to build wheel ... done Preparing metadata (pyproject.toml) ... done Collecting forestci==0.6 (from causalml) Using cached forestci-0.6-py3-none-any.whl.metadata (1.3 kB) Collecting pathos==0.2.9 (from causalml) Using cached pathos-0.2.9-py3-none-any.whl.metadata (11 kB) Requirement already satisfied: pip>=10.0 in c:\users\User1\anaconda3\lib\site-packages (from causalml) (24.2) Requirement already satisfied: numpy>=1.18.5 in c:\users\User1\anaconda3\lib\site-packages (from causalml) (1.26.4) Requirement already satisfied: scipy>=1.4.1 in c:\users\User1\anaconda3\lib\site-packages (from causalml) (1.13.1) Requirement already satisfied: matplotlib in c:\users\User1\anaconda3\lib\site-packages (from causalml) (3.8.4) Requirement already satisfied: pandas>=0.24.1 in c:\users\User1\anaconda3\lib\site-packages (from causalml) (2.2.2) Requirement already satisfied: scikit-learn>=0.22.0 in c:\users\User1\anaconda3\lib\site-packages (from causalml) (1.4.2) Requirement already satisfied: statsmodels>=0.9.0 in c:\users\User1\anaconda3\lib\site-packages (from causalml) (0.14.2) Collecting Cython<=0.29.34 (from causalml) Using cached Cython-0.29.34-py2.py3-none-any.whl.metadata (3.1 kB) Requirement already satisfied: seaborn in c:\users\User1\anaconda3\lib\site-packages (from causalml) (0.13.2) Requirement already satisfied: xgboost in c:\users\User1\anaconda3\lib\site-packages (from causalml) (2.1.1) Collecting pydotplus (from causalml) Using cached pydotplus-2.0.2-py3-none-any.whl Requirement already satisfied: tqdm in c:\users\User1\anaconda3\lib\site-packages (from causalml) (4.66.4) Collecting shap (from causalml) Using cached shap-0.46.0-cp312-cp312-win_amd64.whl.metadata (25 kB) Requirement already satisfied: dill in c:\users\User1\anaconda3\lib\site-packages (from causalml) (0.3.8) Collecting lightgbm (from causalml) Using cached lightgbm-4.5.0-py3-none-win_amd64.whl.metadata (17 kB) Collecting pygam (from causalml) Using cached pygam-0.9.1-py3-none-any.whl.metadata (7.1 kB) Requirement already satisfied: packaging in c:\users\User1\anaconda3\lib\site-packages (from causalml) (23.2) Collecting torch (from causalml) Using cached torch-2.4.1-cp312-cp312-win_amd64.whl.metadata (27 kB) Collecting pyro-ppl (from causalml) Using cached pyro_ppl-1.9.1-py3-none-any.whl.metadata (7.8 kB) Collecting graphviz (from causalml) Using cached graphviz-0.20.3-py3-none-any.whl.metadata (12 kB) Collecting ppft>=1.7.6.5 (from pathos==0.2.9->causalml) Using cached ppft-1.7.6.8-py3-none-any.whl.metadata (12 kB) Collecting pox>=0.3.1 (from pathos==0.2.9->causalml) Using cached pox-0.3.4-py3-none-any.whl.metadata (8.0 kB) Collecting multiprocess>=0.70.13 (from pathos==0.2.9->causalml) Using cached multiprocess-0.70.16-py312-none-any.whl.metadata (7.2 kB) Requirement already satisfied: python-dateutil>=2.8.2 in c:\users\User1\anaconda3\lib\site-packages (from pandas>=0.24.1->causalml) (2.9.0.post0) Requirement already satisfied: pytz>=2020.1 in c:\users\User1\anaconda3\lib\site-packages (from pandas>=0.24.1->causalml) (2024.1) Requirement already satisfied: tzdata>=2022.7 in c:\users\User1\anaconda3\lib\site-packages (from pandas>=0.24.1->causalml) (2023.3) Requirement already satisfied: joblib>=1.2.0 in c:\users\User1\anaconda3\lib\site-packages (from scikit-learn>=0.22.0->causalml) (1.4.2) Requirement already satisfied: threadpoolctl>=2.0.0 in c:\users\User1\anaconda3\lib\site-packages (from scikit-learn>=0.22.0->causalml) (2.2.0) Requirement already satisfied: patsy>=0.5.6 in c:\users\User1\anaconda3\lib\site-packages (from statsmodels>=0.9.0->causalml) (0.5.6) Requirement already satisfied: contourpy>=1.0.1 in c:\users\User1\anaconda3\lib\site-packages (from matplotlib->causalml) (1.2.0) Requirement already satisfied: cycler>=0.10 in c:\users\User1\anaconda3\lib\site-packages (from matplotlib->causalml) (0.11.0) Requirement already satisfied: fonttools>=4.22.0 in c:\users\User1\anaconda3\lib\site-packages (from matplotlib->causalml) (4.51.0) Requirement already satisfied: kiwisolver>=1.3.1 in c:\users\User1\anaconda3\lib\site-packages (from matplotlib->causalml) (1.4.4) Requirement already satisfied: pillow>=8 in c:\users\User1\anaconda3\lib\site-packages (from matplotlib->causalml) (10.3.0) Requirement already satisfied: pyparsing>=2.3.1 in c:\users\User1\anaconda3\lib\site-packages (from matplotlib->causalml) (3.0.9) Collecting progressbar2<5.0.0,>=4.2.0 (from pygam->causalml) Using cached progressbar2-4.5.0-py3-none-any.whl.metadata (16 kB) Collecting scipy>=1.4.1 (from causalml) Using cached scipy-1.11.4-cp312-cp312-win_amd64.whl.metadata (60 kB) Requirement already satisfied: opt-einsum>=2.3.2 in c:\users\User1\anaconda3\lib\site-packages (from pyro-ppl->causalml) (3.3.0) Collecting pyro-api>=0.1.1 (from pyro-ppl->causalml) Using cached pyro_api-0.1.2-py3-none-any.whl.metadata (2.5 kB) Requirement already satisfied: filelock in c:\users\User1\anaconda3\lib\site-packages (from torch->causalml) (3.13.1) Requirement already satisfied: typing-extensions>=4.8.0 in c:\users\User1\anaconda3\lib\site-packages (from torch->causalml) (4.11.0) Requirement already satisfied: sympy in c:\users\User1\anaconda3\lib\site-packages (from torch->causalml) (1.12) Requirement already satisfied: networkx in c:\users\User1\anaconda3\lib\site-packages (from torch->causalml) (3.2.1) Requirement already satisfied: jinja2 in c:\users\User1\anaconda3\lib\site-packages (from torch->causalml) (3.1.4) Requirement already satisfied: fsspec in c:\users\User1\anaconda3\lib\site-packages (from torch->causalml) (2024.3.1) Requirement already satisfied: setuptools in c:\users\User1\anaconda3\lib\site-packages (from torch->causalml) (75.1.0) Requirement already satisfied: colorama in c:\users\User1\anaconda3\lib\site-packages (from tqdm->causalml) (0.4.6) Collecting slicer==0.0.8 (from shap->causalml) Using cached slicer-0.0.8-py3-none-any.whl.metadata (4.0 kB) Requirement already satisfied: numba in c:\users\User1\anaconda3\lib\site-packages (from shap->causalml) (0.59.1) Requirement already satisfied: cloudpickle in c:\users\User1\anaconda3\lib\site-packages (from shap->causalml) (2.2.1) Requirement already satisfied: six in c:\users\User1\anaconda3\lib\site-packages (from patsy>=0.5.6->statsmodels>=0.9.0->causalml) (1.16.0) Collecting python-utils>=3.8.1 (from progressbar2<5.0.0,>=4.2.0->pygam->causalml) Using cached python_utils-3.9.0-py2.py3-none-any.whl.metadata (9.8 kB) Requirement already satisfied: MarkupSafe>=2.0 in c:\users\User1\anaconda3\lib\site-packages (from jinja2->torch->causalml) (2.1.3) Requirement already satisfied: llvmlite<0.43,>=0.42.0dev0 in c:\users\User1\anaconda3\lib\site-packages (from numba->shap->causalml) (0.42.0) Requirement already satisfied: mpmath>=0.19 in c:\users\User1\anaconda3\lib\site-packages (from sympy->torch->causalml) (1.3.0) Using cached forestci-0.6-py3-none-any.whl (12 kB) Using cached pathos-0.2.9-py3-none-any.whl (76 kB) Using cached Cython-0.29.34-py2.py3-none-any.whl (988 kB) Using cached graphviz-0.20.3-py3-none-any.whl (47 kB) Using cached lightgbm-4.5.0-py3-none-win_amd64.whl (1.4 MB) Using cached pygam-0.9.1-py3-none-any.whl (522 kB) Using cached scipy-1.11.4-cp312-cp312-win_amd64.whl (43.7 MB) Using cached pyro_ppl-1.9.1-py3-none-any.whl (755 kB) Using cached torch-2.4.1-cp312-cp312-win_amd64.whl (199.4 MB) Using cached shap-0.46.0-cp312-cp312-win_amd64.whl (456 kB) Using cached slicer-0.0.8-py3-none-any.whl (15 kB) Using cached multiprocess-0.70.16-py312-none-any.whl (146 kB) Using cached pox-0.3.4-py3-none-any.whl (29 kB) Using cached ppft-1.7.6.8-py3-none-any.whl (56 kB) Using cached progressbar2-4.5.0-py3-none-any.whl (57 kB) Using cached pyro_api-0.1.2-py3-none-any.whl (11 kB) Using cached python_utils-3.9.0-py2.py3-none-any.whl (32 kB) Building wheels for collected packages: causalml Building wheel for causalml (pyproject.toml) ... error error: subprocess-exited-with-error × Building wheel for causalml (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [391 lines of output] running bdist_wheel C:\Users\User1\AppData\Local\Temp\pip-build-env-04b1fru3\overlay\Lib\site-packages\setuptools\_distutils\cmd.py:111: SetuptoolsDeprecationWarning: bdist_wheel.universal is deprecated !! ******************************************************************************** With Python 2.7 end-of-life, support for building universal wheels (i.e., wheels that support both Python 2 and Python 3) is being obviated. Please discontinue using this option, or if you still need it, file an issue with pypa/setuptools describing your use case. By 2025-Aug-30, you need to update your project and remove deprecated calls or your builds will no longer be supported. ******************************************************************************** !! self.finalize_options() running build running build_py creating build\lib.win-amd64-cpython-312\causalml copying causalml\features.py -> build\lib.win-amd64-cpython-312\causalml copying causalml\match.py -> build\lib.win-amd64-cpython-312\causalml copying causalml\propensity.py -> build\lib.win-amd64-cpython-312\causalml copying causalml\__init__.py -> build\lib.win-amd64-cpython-312\causalml creating build\lib.win-amd64-cpython-312\causalml\dataset copying causalml\dataset\classification.py -> build\lib.win-amd64-cpython-312\causalml\dataset copying causalml\dataset\regression.py -> build\lib.win-amd64-cpython-312\causalml\dataset copying causalml\dataset\synthetic.py -> build\lib.win-amd64-cpython-312\causalml\dataset copying causalml\dataset\__init__.py -> build\lib.win-amd64-cpython-312\causalml\dataset creating build\lib.win-amd64-cpython-312\causalml\feature_selection copying causalml\feature_selection\filters.py -> build\lib.win-amd64-cpython-312\causalml\feature_selection copying causalml\feature_selection\__init__.py -> build\lib.win-amd64-cpython-312\causalml\feature_selection creating build\lib.win-amd64-cpython-312\causalml\inference copying causalml\inference\__init__.py -> build\lib.win-amd64-cpython-312\causalml\inference creating build\lib.win-amd64-cpython-312\causalml\metrics copying causalml\metrics\classification.py -> build\lib.win-amd64-cpython-312\causalml\metrics copying causalml\metrics\const.py -> build\lib.win-amd64-cpython-312\causalml\metrics copying causalml\metrics\regression.py -> build\lib.win-amd64-cpython-312\causalml\metrics copying causalml\metrics\sensitivity.py -> build\lib.win-amd64-cpython-312\causalml\metrics copying causalml\metrics\visualize.py -> build\lib.win-amd64-cpython-312\causalml\metrics copying causalml\metrics\__init__.py -> build\lib.win-amd64-cpython-312\causalml\metrics creating build\lib.win-amd64-cpython-312\causalml\optimize copying causalml\optimize\pns.py -> build\lib.win-amd64-cpython-312\causalml\optimize copying causalml\optimize\policylearner.py -> build\lib.win-amd64-cpython-312\causalml\optimize copying causalml\optimize\unit_selection.py -> build\lib.win-amd64-cpython-312\causalml\optimize copying causalml\optimize\utils.py -> build\lib.win-amd64-cpython-312\causalml\optimize copying causalml\optimize\value_optimization.py -> build\lib.win-amd64-cpython-312\causalml\optimize copying causalml\optimize\__init__.py -> build\lib.win-amd64-cpython-312\causalml\optimize creating build\lib.win-amd64-cpython-312\causalml\inference\iv copying causalml\inference\iv\drivlearner.py -> build\lib.win-amd64-cpython-312\causalml\inference\iv copying causalml\inference\iv\iv_regression.py -> build\lib.win-amd64-cpython-312\causalml\inference\iv copying causalml\inference\iv\__init__.py -> build\lib.win-amd64-cpython-312\causalml\inference\iv creating build\lib.win-amd64-cpython-312\causalml\inference\meta copying causalml\inference\meta\base.py -> build\lib.win-amd64-cpython-312\causalml\inference\meta copying causalml\inference\meta\drlearner.py -> build\lib.win-amd64-cpython-312\causalml\inference\meta copying causalml\inference\meta\explainer.py -> build\lib.win-amd64-cpython-312\causalml\inference\meta copying causalml\inference\meta\rlearner.py -> build\lib.win-amd64-cpython-312\causalml\inference\meta copying causalml\inference\meta\slearner.py -> build\lib.win-amd64-cpython-312\causalml\inference\meta copying causalml\inference\meta\tlearner.py -> build\lib.win-amd64-cpython-312\causalml\inference\meta copying causalml\inference\meta\tmle.py -> build\lib.win-amd64-cpython-312\causalml\inference\meta copying causalml\inference\meta\utils.py -> build\lib.win-amd64-cpython-312\causalml\inference\meta copying causalml\inference\meta\xlearner.py -> build\lib.win-amd64-cpython-312\causalml\inference\meta copying causalml\inference\meta\__init__.py -> build\lib.win-amd64-cpython-312\causalml\inference\meta creating build\lib.win-amd64-cpython-312\causalml\inference\nn copying causalml\inference\nn\cevae.py -> build\lib.win-amd64-cpython-312\causalml\inference\nn copying causalml\inference\nn\__init__.py -> build\lib.win-amd64-cpython-312\causalml\inference\nn creating build\lib.win-amd64-cpython-312\causalml\inference\tf copying causalml\inference\tf\dragonnet.py -> build\lib.win-amd64-cpython-312\causalml\inference\tf copying causalml\inference\tf\utils.py -> build\lib.win-amd64-cpython-312\causalml\inference\tf copying causalml\inference\tf\__init__.py -> build\lib.win-amd64-cpython-312\causalml\inference\tf creating build\lib.win-amd64-cpython-312\causalml\inference\tree copying causalml\inference\tree\plot.py -> build\lib.win-amd64-cpython-312\causalml\inference\tree copying causalml\inference\tree\utils.py -> build\lib.win-amd64-cpython-312\causalml\inference\tree copying causalml\inference\tree\__init__.py -> build\lib.win-amd64-cpython-312\causalml\inference\tree creating build\lib.win-amd64-cpython-312\causalml\inference\tree\causal copying causalml\inference\tree\causal\causalforest.py -> build\lib.win-amd64-cpython-312\causalml\inference\tree\causal copying causalml\inference\tree\causal\causaltree.py -> build\lib.win-amd64-cpython-312\causalml\inference\tree\causal copying causalml\inference\tree\causal\_tree.py -> build\lib.win-amd64-cpython-312\causalml\inference\tree\causal copying causalml\inference\tree\causal\__init__.py -> build\lib.win-amd64-cpython-312\causalml\inference\tree\causal creating build\lib.win-amd64-cpython-312\causalml\inference\tree\_tree copying causalml\inference\tree\_tree\_classes.py -> build\lib.win-amd64-cpython-312\causalml\inference\tree\_tree copying causalml\inference\tree\_tree\__init__.py -> build\lib.win-amd64-cpython-312\causalml\inference\tree\_tree running egg_info writing causalml.egg-info\PKG-INFO writing dependency_links to causalml.egg-info\dependency_links.txt writing requirements to causalml.egg-info\requires.txt writing top-level names to causalml.egg-info\top_level.txt dependency C:\Users\User1\AppData\Local\Temp\pip-build-env-04b1fru3\overlay\Lib\site-packages\numpy\_core\include\numpy\arrayobject.h won't be automatically included in the manifest: the path must be relative dependency C:\Users\User1\AppData\Local\Temp\pip-build-env-04b1fru3\overlay\Lib\site-packages\numpy\_core\include\numpy\arrayscalars.h won't be automatically included in the manifest: the path must be relative dependency C:\Users\User1\AppData\Local\Temp\pip-build-env-04b1fru3\overlay\Lib\site-packages\numpy\_core\include\numpy\ndarrayobject.h won't be automatically included in the manifest: the path must be relative dependency C:\Users\User1\AppData\Local\Temp\pip-build-env-04b1fru3\overlay\Lib\site-packages\numpy\_core\include\numpy\ndarraytypes.h won't be automatically included in the manifest: the path must be relative dependency C:\Users\User1\AppData\Local\Temp\pip-build-env-04b1fru3\overlay\Lib\site-packages\numpy\_core\include\numpy\ufuncobject.h won't be automatically included in the manifest: the path must be relative dependency C:\Users\User1\AppData\Local\Temp\pip-build-env-04b1fru3\overlay\Lib\site-packages\numpy\_core\include\numpy\arrayobject.h won't be automatically included in the manifest: the path must be relative dependency C:\Users\User1\AppData\Local\Temp\pip-build-env-04b1fru3\overlay\Lib\site-packages\numpy\_core\include\numpy\arrayscalars.h won't be automatically included in the manifest: the path must be relative dependency C:\Users\User1\AppData\Local\Temp\pip-build-env-04b1fru3\overlay\Lib\site-packages\numpy\_core\include\numpy\ndarrayobject.h won't be automatically included in the manifest: the path must be relative dependency C:\Users\User1\AppData\Local\Temp\pip-build-env-04b1fru3\overlay\Lib\site-packages\numpy\_core\include\numpy\ndarraytypes.h won't be automatically included in the manifest: the path must be relative dependency C:\Users\User1\AppData\Local\Temp\pip-build-env-04b1fru3\overlay\Lib\site-packages\numpy\_core\include\numpy\ufuncobject.h won't be automatically included in the manifest: the path must be relative dependency C:\Users\User1\AppData\Local\Temp\pip-build-env-04b1fru3\overlay\Lib\site-packages\numpy\_core\include\numpy\arrayobject.h won't be automatically included in the manifest: the path must be relative dependency C:\Users\User1\AppData\Local\Temp\pip-build-env-04b1fru3\overlay\Lib\site-packages\numpy\_core\include\numpy\arrayscalars.h won't be automatically included in the manifest: the path must be relative dependency C:\Users\User1\AppData\Local\Temp\pip-build-env-04b1fru3\overlay\Lib\site-packages\numpy\_core\include\numpy\ndarrayobject.h won't be automatically included in the manifest: the path must be relative dependency C:\Users\User1\AppData\Local\Temp\pip-build-env-04b1fru3\overlay\Lib\site-packages\numpy\_core\include\numpy\ndarraytypes.h won't be automatically included in the manifest: the path must be relative dependency C:\Users\User1\AppData\Local\Temp\pip-build-env-04b1fru3\overlay\Lib\site-packages\numpy\_core\include\numpy\ufuncobject.h won't be automatically included in the manifest: the path must be relative dependency C:\Users\User1\AppData\Local\Temp\pip-build-env-04b1fru3\overlay\Lib\site-packages\numpy\_core\include\numpy\arrayobject.h won't be automatically included in the manifest: the path must be relative dependency C:\Users\User1\AppData\Local\Temp\pip-build-env-04b1fru3\overlay\Lib\site-packages\numpy\_core\include\numpy\arrayscalars.h won't be automatically included in the manifest: the path must be relative dependency C:\Users\User1\AppData\Local\Temp\pip-build-env-04b1fru3\overlay\Lib\site-packages\numpy\_core\include\numpy\ndarrayobject.h won't be automatically included in the manifest: the path must be relative dependency C:\Users\User1\AppData\Local\Temp\pip-build-env-04b1fru3\overlay\Lib\site-packages\numpy\_core\include\numpy\ndarraytypes.h won't be automatically included in the manifest: the path must be relative dependency C:\Users\User1\AppData\Local\Temp\pip-build-env-04b1fru3\overlay\Lib\site-packages\numpy\_core\include\numpy\ufuncobject.h won't be automatically included in the manifest: the path must be relative dependency C:\Users\User1\AppData\Local\Temp\pip-build-env-04b1fru3\overlay\Lib\site-packages\numpy\_core\include\numpy\arrayobject.h won't be automatically included in the manifest: the path must be relative dependency C:\Users\User1\AppData\Local\Temp\pip-build-env-04b1fru3\overlay\Lib\site-packages\numpy\_core\include\numpy\arrayscalars.h won't be automatically included in the manifest: the path must be relative dependency C:\Users\User1\AppData\Local\Temp\pip-build-env-04b1fru3\overlay\Lib\site-packages\numpy\_core\include\numpy\ndarrayobject.h won't be automatically included in the manifest: the path must be relative dependency C:\Users\User1\AppData\Local\Temp\pip-build-env-04b1fru3\overlay\Lib\site-packages\numpy\_core\include\numpy\ndarraytypes.h won't be automatically included in the manifest: the path must be relative dependency C:\Users\User1\AppData\Local\Temp\pip-build-env-04b1fru3\overlay\Lib\site-packages\numpy\_core\include\numpy\ufuncobject.h won't be automatically included in the manifest: the path must be relative dependency C:\Users\User1\AppData\Local\Temp\pip-build-env-04b1fru3\overlay\Lib\site-packages\numpy\_core\include\numpy\arrayobject.h won't be automatically included in the manifest: the path must be relative dependency C:\Users\User1\AppData\Local\Temp\pip-build-env-04b1fru3\overlay\Lib\site-packages\numpy\_core\include\numpy\arrayscalars.h won't be automatically included in the manifest: the path must be relative dependency C:\Users\User1\AppData\Local\Temp\pip-build-env-04b1fru3\overlay\Lib\site-packages\numpy\_core\include\numpy\ndarrayobject.h won't be automatically included in the manifest: the path must be relative dependency C:\Users\User1\AppData\Local\Temp\pip-build-env-04b1fru3\overlay\Lib\site-packages\numpy\_core\include\numpy\ndarraytypes.h won't be automatically included in the manifest: the path must be relative dependency C:\Users\User1\AppData\Local\Temp\pip-build-env-04b1fru3\overlay\Lib\site-packages\numpy\_core\include\numpy\ufuncobject.h won't be automatically included in the manifest: the path must be relative dependency C:\Users\User1\AppData\Local\Temp\pip-build-env-04b1fru3\overlay\Lib\site-packages\numpy\_core\include\numpy\arrayobject.h won't be automatically included in the manifest: the path must be relative dependency C:\Users\User1\AppData\Local\Temp\pip-build-env-04b1fru3\overlay\Lib\site-packages\numpy\_core\include\numpy\arrayscalars.h won't be automatically included in the manifest: the path must be relative dependency C:\Users\User1\AppData\Local\Temp\pip-build-env-04b1fru3\overlay\Lib\site-packages\numpy\_core\include\numpy\ndarrayobject.h won't be automatically included in the manifest: the path must be relative dependency C:\Users\User1\AppData\Local\Temp\pip-build-env-04b1fru3\overlay\Lib\site-packages\numpy\_core\include\numpy\ndarraytypes.h won't be automatically included in the manifest: the path must be relative dependency C:\Users\User1\AppData\Local\Temp\pip-build-env-04b1fru3\overlay\Lib\site-packages\numpy\_core\include\numpy\ufuncobject.h won't be automatically included in the manifest: the path must be relative reading manifest file 'causalml.egg-info\SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '*.txt' warning: no files found matching '*.h' under directory 'causalml' adding license file 'LICENSE' writing manifest file 'causalml.egg-info\SOURCES.txt' C:\Users\User1\AppData\Local\Temp\pip-build-env-04b1fru3\overlay\Lib\site-packages\setuptools\command\build_py.py:218: _Warning: Package 'causalml.inference.tree' is absent from the packages configuration. !! ******************************************************************************** ############################ # Package would be ignored # ############################ Python recognizes 'causalml.inference.tree' as an importable package[^1], but it is absent from setuptools' packages configuration. This leads to an ambiguous overall configuration. If you want to distribute this package, please make sure that 'causalml.inference.tree' is explicitly added to the packages configuration field. Alternatively, you can also rely on setuptools' discovery methods (for example by using find_namespace_packages(...)/find_namespace: instead of find_packages(...)/find:). You can read more about "package discovery" on setuptools documentation page: - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html If you don't want 'causalml.inference.tree' to be distributed and are already explicitly excluding 'causalml.inference.tree' via find_namespace_packages(...)/find_namespace or find_packages(...)/find, you can try to use exclude_package_data, or include-package-data=False in combination with a more fine grained package-data configuration. You can read more about "package data files" on setuptools documentation page: - https://setuptools.pypa.io/en/latest/userguide/datafiles.html [^1]: For Python, any directory (with suitable naming) can be imported, even if it does not contain any .py files. On the other hand, currently there is no concept of package data directory, all directories are treated like packages. ******************************************************************************** !! check.warn(importable) C:\Users\User1\AppData\Local\Temp\pip-build-env-04b1fru3\overlay\Lib\site-packages\setuptools\command\build_py.py:218: _Warning: Package 'causalml.inference.tree._tree' is absent from the packages configuration. !! ******************************************************************************** ############################ # Package would be ignored # ############################ Python recognizes 'causalml.inference.tree._tree' as an importable package[^1], but it is absent from setuptools' packages configuration. This leads to an ambiguous overall configuration. If you want to distribute this package, please make sure that 'causalml.inference.tree._tree' is explicitly added to the packages configuration field. Alternatively, you can also rely on setuptools' discovery methods (for example by using find_namespace_packages(...)/find_namespace: instead of find_packages(...)/find:). You can read more about "package discovery" on setuptools documentation page: - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html If you don't want 'causalml.inference.tree._tree' to be distributed and are already explicitly excluding 'causalml.inference.tree._tree' via find_namespace_packages(...)/find_namespace or find_packages(...)/find, you can try to use exclude_package_data, or include-package-data=False in combination with a more fine grained package-data configuration. You can read more about "package data files" on setuptools documentation page: - https://setuptools.pypa.io/en/latest/userguide/datafiles.html [^1]: For Python, any directory (with suitable naming) can be imported, even if it does not contain any .py files. On the other hand, currently there is no concept of package data directory, all directories are treated like packages. ******************************************************************************** !! check.warn(importable) C:\Users\User1\AppData\Local\Temp\pip-build-env-04b1fru3\overlay\Lib\site-packages\setuptools\command\build_py.py:218: _Warning: Package 'causalml.inference.tree.causal' is absent from the packages configuration. !! ******************************************************************************** ############################ # Package would be ignored # ############################ Python recognizes 'causalml.inference.tree.causal' as an importable package[^1], but it is absent from setuptools' packages configuration. This leads to an ambiguous overall configuration. If you want to distribute this package, please make sure that 'causalml.inference.tree.causal' is explicitly added to the packages configuration field. Alternatively, you can also rely on setuptools' discovery methods (for example by using find_namespace_packages(...)/find_namespace: instead of find_packages(...)/find:). You can read more about "package discovery" on setuptools documentation page: - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html If you don't want 'causalml.inference.tree.causal' to be distributed and are already explicitly excluding 'causalml.inference.tree.causal' via find_namespace_packages(...)/find_namespace or find_packages(...)/find, you can try to use exclude_package_data, or include-package-data=False in combination with a more fine grained package-data configuration. You can read more about "package data files" on setuptools documentation page: - https://setuptools.pypa.io/en/latest/userguide/datafiles.html [^1]: For Python, any directory (with suitable naming) can be imported, even if it does not contain any .py files. On the other hand, currently there is no concept of package data directory, all directories are treated like packages. ******************************************************************************** !! check.warn(importable) copying causalml\inference\tree\uplift.c -> build\lib.win-amd64-cpython-312\causalml\inference\tree copying causalml\inference\tree\_tree\_criterion.c -> build\lib.win-amd64-cpython-312\causalml\inference\tree\_tree copying causalml\inference\tree\_tree\_splitter.c -> build\lib.win-amd64-cpython-312\causalml\inference\tree\_tree copying causalml\inference\tree\_tree\_tree.cpp -> build\lib.win-amd64-cpython-312\causalml\inference\tree\_tree copying causalml\inference\tree\_tree\_utils.c -> build\lib.win-amd64-cpython-312\causalml\inference\tree\_tree copying causalml\inference\tree\causal\_builder.cpp -> build\lib.win-amd64-cpython-312\causalml\inference\tree\causal copying causalml\inference\tree\causal\_criterion.c -> build\lib.win-amd64-cpython-312\causalml\inference\tree\causal copying causalml\inference\tree\uplift.c -> build\lib.win-amd64-cpython-312\causalml\inference\tree copying causalml\inference\tree\uplift.pyx -> build\lib.win-amd64-cpython-312\causalml\inference\tree copying causalml\inference\tree\causal\_builder.cpp -> build\lib.win-amd64-cpython-312\causalml\inference\tree\causal copying causalml\inference\tree\causal\_builder.pxd -> build\lib.win-amd64-cpython-312\causalml\inference\tree\causal copying causalml\inference\tree\causal\_builder.pyx -> build\lib.win-amd64-cpython-312\causalml\inference\tree\causal copying causalml\inference\tree\causal\_criterion.c -> build\lib.win-amd64-cpython-312\causalml\inference\tree\causal copying causalml\inference\tree\causal\_criterion.pxd -> build\lib.win-amd64-cpython-312\causalml\inference\tree\causal copying causalml\inference\tree\causal\_criterion.pyx -> build\lib.win-amd64-cpython-312\causalml\inference\tree\causal copying causalml\inference\tree\_tree\_criterion.c -> build\lib.win-amd64-cpython-312\causalml\inference\tree\_tree copying causalml\inference\tree\_tree\_criterion.pxd -> build\lib.win-amd64-cpython-312\causalml\inference\tree\_tree copying causalml\inference\tree\_tree\_criterion.pyx -> build\lib.win-amd64-cpython-312\causalml\inference\tree\_tree copying causalml\inference\tree\_tree\_splitter.c -> build\lib.win-amd64-cpython-312\causalml\inference\tree\_tree copying causalml\inference\tree\_tree\_splitter.pxd -> build\lib.win-amd64-cpython-312\causalml\inference\tree\_tree copying causalml\inference\tree\_tree\_splitter.pyx -> build\lib.win-amd64-cpython-312\causalml\inference\tree\_tree copying causalml\inference\tree\_tree\_tree.cpp -> build\lib.win-amd64-cpython-312\causalml\inference\tree\_tree copying causalml\inference\tree\_tree\_tree.pxd -> build\lib.win-amd64-cpython-312\causalml\inference\tree\_tree copying causalml\inference\tree\_tree\_tree.pyx -> build\lib.win-amd64-cpython-312\causalml\inference\tree\_tree copying causalml\inference\tree\_tree\_utils.c -> build\lib.win-amd64-cpython-312\causalml\inference\tree\_tree copying causalml\inference\tree\_tree\_utils.pxd -> build\lib.win-amd64-cpython-312\causalml\inference\tree\_tree copying causalml\inference\tree\_tree\_utils.pyx -> build\lib.win-amd64-cpython-312\causalml\inference\tree\_tree running build_ext building 'causalml.inference.tree._tree._tree' extension creating build\temp.win-amd64-cpython-312\Release\causalml\inference\tree\_tree "C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.41.34120\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -IC:\Users\User1\AppData\Local\Temp\pip-build-env-04b1fru3\overlay\Lib\site-packages\numpy\_core\include -IC:\Users\User1\AppData\Local\Temp\pip-build-env-04b1fru3\overlay\Lib\site-packages\numpy\_core\include -IC:\Users\User1\anaconda3\include -IC:\Users\User1\anaconda3\Include "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.41.34120\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\VS\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22621.0\\um" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22621.0\\shared" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22621.0\\winrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22621.0\\cppwinrt" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" /EHsc /Tpcausalml/inference/tree/_tree/_tree.cpp /Fobuild\temp.win-amd64-cpython-312\Release\causalml/inference/tree/_tree/_tree.obj -O3 cl : Command line warning D9002 : ignoring unknown option '-O3' _tree.cpp C:\Users\User1\AppData\Local\Temp\pip-build-env-04b1fru3\overlay\Lib\site-packages\numpy\_core\include\numpy\npy_1_7_deprecated_api.h(14) : Warning Msg: Using deprecated NumPy API, disable it with #define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION causalml/inference/tree/_tree/_tree.cpp(4461): error C2039: 'use_tracing': is not a member of '_PyCFrame' C:\Users\User1\anaconda3\include\cpython/pystate.h(67): note: see declaration of '_PyCFrame' causalml/inference/tree/_tree/_tree.cpp(4581): error C2039: 'use_tracing': is not a member of '_PyCFrame' C:\Users\User1\anaconda3\include\cpython/pystate.h(67): note: see declaration of '_PyCFrame' causalml/inference/tree/_tree/_tree.cpp(4718): error C2039: 'use_tracing': is not a member of '_PyCFrame' C:\Users\User1\anaconda3\include\cpython/pystate.h(67): note: see declaration of '_PyCFrame' causalml/inference/tree/_tree/_tree.cpp(4735): error C2039: 'use_tracing': is not a member of '_PyCFrame' C:\Users\User1\anaconda3\include\cpython/pystate.h(67): note: see declaration of '_PyCFrame' causalml/inference/tree/_tree/_tree.cpp(4763): error C2039: 'use_tracing': is not a member of '_PyCFrame' C:\Users\User1\anaconda3\include\cpython/pystate.h(67): note: see declaration of '_PyCFrame' causalml/inference/tree/_tree/_tree.cpp(5290): error C2039: 'use_tracing': is not a member of '_PyCFrame' C:\Users\User1\anaconda3\include\cpython/pystate.h(67): note: see declaration of '_PyCFrame' causalml/inference/tree/_tree/_tree.cpp(5333): error C2039: 'use_tracing': is not a member of '_PyCFrame' C:\Users\User1\anaconda3\include\cpython/pystate.h(67): note: see declaration of '_PyCFrame' causalml/inference/tree/_tree/_tree.cpp(5567): error C2039: 'use_tracing': is not a member of '_PyCFrame' C:\Users\User1\anaconda3\include\cpython/pystate.h(67): note: see declaration of '_PyCFrame' causalml/inference/tree/_tree/_tree.cpp(5601): error C2039: 'use_tracing': is not a member of '_PyCFrame' C:\Users\User1\anaconda3\include\cpython/pystate.h(67): note: see declaration of '_PyCFrame' causalml/inference/tree/_tree/_tree.cpp(5630): error C2039: 'use_tracing': is not a member of '_PyCFrame' C:\Users\User1\anaconda3\include\cpython/pystate.h(67): note: see declaration of '_PyCFrame' causalml/inference/tree/_tree/_tree.cpp(5764): error C2039: 'use_tracing': is not a member of '_PyCFrame' C:\Users\User1\anaconda3\include\cpython/pystate.h(67): note: see declaration of '_PyCFrame' causalml/inference/tree/_tree/_tree.cpp(5845): error C2039: 'use_tracing': is not a member of '_PyCFrame' C:\Users\User1\anaconda3\include\cpython/pystate.h(67): note: see declaration of '_PyCFrame' causalml/inference/tree/_tree/_tree.cpp(5917): error C2039: 'use_tracing': is not a member of '_PyCFrame' C:\Users\User1\anaconda3\include\cpython/pystate.h(67): note: see declaration of '_PyCFrame' causalml/inference/tree/_tree/_tree.cpp(6150): warning C4244: '=': conversion from '__pyx_t_8causalml_9inference_4tree_5_tree_5_tree_SIZE_t' to 'int', possible loss of data causalml/inference/tree/_tree/_tree.cpp(7143): error C2039: 'use_tracing': is not a member of '_PyCFrame' C:\Users\User1\anaconda3\include\cpython/pystate.h(67): note: see declaration of '_PyCFrame' causalml/inference/tree/_tree/_tree.cpp(7272): error C2039: 'use_tracing': is not a member of '_PyCFrame' C:\Users\User1\anaconda3\include\cpython/pystate.h(67): note: see declaration of '_PyCFrame' causalml/inference/tree/_tree/_tree.cpp(7289): error C2039: 'use_tracing': is not a member of '_PyCFrame' C:\Users\User1\anaconda3\include\cpython/pystate.h(67): note: see declaration of '_PyCFrame' causalml/inference/tree/_tree/_tree.cpp(7322): error C2039: 'use_tracing': is not a member of '_PyCFrame' C:\Users\User1\anaconda3\include\cpython/pystate.h(67): note: see declaration of '_PyCFrame' causalml/inference/tree/_tree/_tree.cpp(7349): error C2039: 'use_tracing': is not a member of '_PyCFrame' C:\Users\User1\anaconda3\include\cpython/pystate.h(67): note: see declaration of '_PyCFrame' causalml/inference/tree/_tree/_tree.cpp(7383): error C2039: 'use_tracing': is not a member of '_PyCFrame' C:\Users\User1\anaconda3\include\cpython/pystate.h(67): note: see declaration of '_PyCFrame' causalml/inference/tree/_tree/_tree.cpp(7410): error C2039: 'use_tracing': is not a member of '_PyCFrame' C:\Users\User1\anaconda3\include\cpython/pystate.h(67): note: see declaration of '_PyCFrame' causalml/inference/tree/_tree/_tree.cpp(7431): error C2039: 'use_tracing': is not a member of '_PyCFrame' C:\Users\User1\anaconda3\include\cpython/pystate.h(67): note: see declaration of '_PyCFrame' causalml/inference/tree/_tree/_tree.cpp(7457): error C2039: 'use_tracing': is not a member of '_PyCFrame' C:\Users\User1\anaconda3\include\cpython/pystate.h(67): note: see declaration of '_PyCFrame' causalml/inference/tree/_tree/_tree.cpp(7475): error C2039: 'use_tracing': is not a member of '_PyCFrame' C:\Users\User1\anaconda3\include\cpython/pystate.h(67): note: see declaration of '_PyCFrame' causalml/inference/tree/_tree/_tree.cpp(7521): error C2039: 'use_tracing': is not a member of '_PyCFrame' C:\Users\User1\anaconda3\include\cpython/pystate.h(67): note: see declaration of '_PyCFrame' causalml/inference/tree/_tree/_tree.cpp(7665): error C2039: 'use_tracing': is not a member of '_PyCFrame' C:\Users\User1\anaconda3\include\cpython/pystate.h(67): note: see declaration of '_PyCFrame' causalml/inference/tree/_tree/_tree.cpp(7757): error C2039: 'use_tracing': is not a member of '_PyCFrame' C:\Users\User1\anaconda3\include\cpython/pystate.h(67): note: see declaration of '_PyCFrame' causalml/inference/tree/_tree/_tree.cpp(7819): error C2039: 'use_tracing': is not a member of '_PyCFrame' C:\Users\User1\anaconda3\include\cpython/pystate.h(67): note: see declaration of '_PyCFrame' causalml/inference/tree/_tree/_tree.cpp(8342): warning C4244: '=': conversion from '__pyx_t_8causalml_9inference_4tree_5_tree_5_tree_SIZE_t' to '__pyx_t_8causalml_9inference_4tree_5_tree_5_tree_DOUBLE_t', possible loss of data causalml/inference/tree/_tree/_tree.cpp(8659): error C2039: 'use_tracing': is not a member of '_PyCFrame' C:\Users\User1\anaconda3\include\cpython/pystate.h(67): note: see declaration of '_PyCFrame' causalml/inference/tree/_tree/_tree.cpp(8788): error C2039: 'use_tracing': is not a member of '_PyCFrame' C:\Users\User1\anaconda3\include\cpython/pystate.h(67): note: see declaration of '_PyCFrame' causalml/inference/tree/_tree/_tree.cpp(8805): error C2039: 'use_tracing': is not a member of '_PyCFrame' C:\Users\User1\anaconda3\include\cpython/pystate.h(67): note: see declaration of '_PyCFrame' causalml/inference/tree/_tree/_tree.cpp(8838): error C2039: 'use_tracing': is not a member of '_PyCFrame' C:\Users\User1\anaconda3\include\cpython/pystate.h(67): note: see declaration of '_PyCFrame' causalml/inference/tree/_tree/_tree.cpp(9353): error C2039: 'use_tracing': is not a member of '_PyCFrame' C:\Users\User1\anaconda3\include\cpython/pystate.h(67): note: see declaration of '_PyCFrame' causalml/inference/tree/_tree/_tree.cpp(9385): error C2039: 'use_tracing': is not a member of '_PyCFrame' C:\Users\User1\anaconda3\include\cpython/pystate.h(67): note: see declaration of '_PyCFrame' causalml/inference/tree/_tree/_tree.cpp(9412): error C2039: 'use_tracing': is not a member of '_PyCFrame' C:\Users\User1\anaconda3\include\cpython/pystate.h(67): note: see declaration of '_PyCFrame' causalml/inference/tree/_tree/_tree.cpp(9446): error C2039: 'use_tracing': is not a member of '_PyCFrame' C:\Users\User1\anaconda3\include\cpython/pystate.h(67): note: see declaration of '_PyCFrame' causalml/inference/tree/_tree/_tree.cpp(9473): error C2039: 'use_tracing': is not a member of '_PyCFrame' C:\Users\User1\anaconda3\include\cpython/pystate.h(67): note: see declaration of '_PyCFrame' causalml/inference/tree/_tree/_tree.cpp(9508): error C2039: 'use_tracing': is not a member of '_PyCFrame' C:\Users\User1\anaconda3\include\cpython/pystate.h(67): note: see declaration of '_PyCFrame' causalml/inference/tree/_tree/_tree.cpp(9540): error C2039: 'use_tracing': is not a member of '_PyCFrame' C:\Users\User1\anaconda3\include\cpython/pystate.h(67): note: see declaration of '_PyCFrame' causalml/inference/tree/_tree/_tree.cpp(9576): error C2039: 'use_tracing': is not a member of '_PyCFrame' C:\Users\User1\anaconda3\include\cpython/pystate.h(67): note: see declaration of '_PyCFrame' causalml/inference/tree/_tree/_tree.cpp(9615): error C2039: 'use_tracing': is not a member of '_PyCFrame' C:\Users\User1\anaconda3\include\cpython/pystate.h(67): note: see declaration of '_PyCFrame' causalml/inference/tree/_tree/_tree.cpp(9651): error C2039: 'use_tracing': is not a member of '_PyCFrame' C:\Users\User1\anaconda3\include\cpython/pystate.h(67): note: see declaration of '_PyCFrame' causalml/inference/tree/_tree/_tree.cpp(9690): error C2039: 'use_tracing': is not a member of '_PyCFrame' C:\Users\User1\anaconda3\include\cpython/pystate.h(67): note: see declaration of '_PyCFrame' causalml/inference/tree/_tree/_tree.cpp(9733): error C2039: 'use_tracing': is not a member of '_PyCFrame' C:\Users\User1\anaconda3\include\cpython/pystate.h(67): note: see declaration of '_PyCFrame' causalml/inference/tree/_tree/_tree.cpp(9873): error C2039: 'use_tracing': is not a member of '_PyCFrame' C:\Users\User1\anaconda3\include\cpython/pystate.h(67): note: see declaration of '_PyCFrame' causalml/inference/tree/_tree/_tree.cpp(9909): error C2039: 'use_tracing': is not a member of '_PyCFrame' C:\Users\User1\anaconda3\include\cpython/pystate.h(67): note: see declaration of '_PyCFrame' causalml/inference/tree/_tree/_tree.cpp(9948): error C2039: 'use_tracing': is not a member of '_PyCFrame' C:\Users\User1\anaconda3\include\cpython/pystate.h(67): note: see declaration of '_PyCFrame' causalml/inference/tree/_tree/_tree.cpp(9984): error C2039: 'use_tracing': is not a member of '_PyCFrame' C:\Users\User1\anaconda3\include\cpython/pystate.h(67): note: see declaration of '_PyCFrame' causalml/inference/tree/_tree/_tree.cpp(10023): error C2039: 'use_tracing': is not a member of '_PyCFrame' C:\Users\User1\anaconda3\include\cpython/pystate.h(67): note: see declaration of '_PyCFrame' causalml/inference/tree/_tree/_tree.cpp(10059): error C2039: 'use_tracing': is not a member of '_PyCFrame' C:\Users\User1\anaconda3\include\cpython/pystate.h(67): note: see declaration of '_PyCFrame' causalml/inference/tree/_tree/_tree.cpp(10098): error C2039: 'use_tracing': is not a member of '_PyCFrame' C:\Users\User1\anaconda3\include\cpython/pystate.h(67): note: see declaration of '_PyCFrame' causalml/inference/tree/_tree/_tree.cpp(10134): error C2039: 'use_tracing': is not a member of '_PyCFrame' C:\Users\User1\anaconda3\include\cpython/pystate.h(67): note: see declaration of '_PyCFrame' causalml/inference/tree/_tree/_tree.cpp(10134): fatal error C1003: error count exceeds 100; stopping compilation error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.41.34120\\bin\\HostX86\\x64\\cl.exe' failed with exit code 2 [end of output] 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)
  2.  
Advertisement
Add Comment
Please, Sign In to add comment