CDM run: pip install sklearn-contrib-py-earth
will reback this info:
C:\Users\AUEND>pip install sklearn-contrib-py-earth
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple/
Collecting sklearn-contrib-py-earth
Using cached https://pypi.tuna.tsinghua.edu.cn/packages/f8/c4/53a24835bafac880036446cc13839471a025b41de1436543f30d15d846c1/sklearn-contrib-py-earth-0.1.0.tar.gz (1.0 MB)
Preparing metadata (setup.py) ... done
Requirement already satisfied: scipy>=0.16 in d:\programdata\python31011\lib\site-packages (from sklearn-contrib-py-earth) (1.14.1)
Requirement already satisfied: scikit-learn>=0.16 in d:\programdata\python31011\lib\site-packages (from sklearn-contrib-py-earth) (1.5.2)
Requirement already satisfied: six in d:\programdata\python31011\lib\site-packages (from sklearn-contrib-py-earth) (1.16.0)
Requirement already satisfied: numpy>=1.19.5 in d:\programdata\python31011\lib\site-packages (from scikit-learn>=0.16->sklearn-contrib-py-earth) (1.26.4)
Requirement already satisfied: joblib>=1.2.0 in d:\programdata\python31011\lib\site-packages (from scikit-learn>=0.16->sklearn-contrib-py-earth) (1.3.2)
Requirement already satisfied: threadpoolctl>=3.1.0 in d:\programdata\python31011\lib\site-packages (from scikit-learn>=0.16->sklearn-contrib-py-earth) (3.2.0)
Building wheels for collected packages: sklearn-contrib-py-earth
Building wheel for sklearn-contrib-py-earth (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [108 lines of output]
D:\ProgramData\Python31011\lib\site-packages\setuptools\dist.py:495: SetuptoolsDeprecationWarning: Invalid dash-separated options
!!
********************************************************************************
Usage of dash-separated 'description-file' will not be supported in future
versions. Please use the underscore name 'description_file' instead.
By 2025-Mar-03, you need to update your project and remove deprecated calls
or your builds will no longer be supported.
See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
********************************************************************************
!!
opt = self.warn_dash_deprecation(opt, section)
D:\ProgramData\Python31011\lib\site-packages\setuptools\__init__.py:94: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.
!!
********************************************************************************
Requirements should be satisfied by a PEP 517 installer.
If you are using pip, you can try `pip install --use-pep517`.
********************************************************************************
!!
dist.fetch_build_eggs(dist.setup_requires)
D:\ProgramData\Python31011\lib\site-packages\setuptools\dist.py:495: SetuptoolsDeprecationWarning: Invalid dash-separated options
!!
********************************************************************************
Usage of dash-separated 'description-file' will not be supported in future
versions. Please use the underscore name 'description_file' instead.
By 2025-Mar-03, you need to update your project and remove deprecated calls
or your builds will no longer be supported.
See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
********************************************************************************
!!
opt = self.warn_dash_deprecation(opt, section)
running bdist_wheel
running build
running build_py
creating build\lib.win-amd64-cpython-310\pyearth
copying pyearth\earth.py -> build\lib.win-amd64-cpython-310\pyearth
copying pyearth\export.py -> build\lib.win-amd64-cpython-310\pyearth
copying pyearth\_version.py -> build\lib.win-amd64-cpython-310\pyearth
copying pyearth\__init__.py -> build\lib.win-amd64-cpython-310\pyearth
creating build\lib.win-amd64-cpython-310\pyearth\test
copying pyearth\test\testing_utils.py -> build\lib.win-amd64-cpython-310\pyearth\test
copying pyearth\test\test_earth.py -> build\lib.win-amd64-cpython-310\pyearth\test
copying pyearth\test\test_export.py -> build\lib.win-amd64-cpython-310\pyearth\test
copying pyearth\test\test_forward.py -> build\lib.win-amd64-cpython-310\pyearth\test
copying pyearth\test\test_knot_search.py -> build\lib.win-amd64-cpython-310\pyearth\test
copying pyearth\test\test_pruning.py -> build\lib.win-amd64-cpython-310\pyearth\test
copying pyearth\test\test_qr.py -> build\lib.win-amd64-cpython-310\pyearth\test
copying pyearth\test\test_util.py -> build\lib.win-amd64-cpython-310\pyearth\test
copying pyearth\test\__init__.py -> build\lib.win-amd64-cpython-310\pyearth\test
creating build\lib.win-amd64-cpython-310\pyearth\test\basis
copying pyearth\test\basis\base.py -> build\lib.win-amd64-cpython-310\pyearth\test\basis
copying pyearth\test\basis\test_basis.py -> build\lib.win-amd64-cpython-310\pyearth\test\basis
copying pyearth\test\basis\test_constant.py -> build\lib.win-amd64-cpython-310\pyearth\test\basis
copying pyearth\test\basis\test_hinge.py -> build\lib.win-amd64-cpython-310\pyearth\test\basis
copying pyearth\test\basis\test_linear.py -> build\lib.win-amd64-cpython-310\pyearth\test\basis
copying pyearth\test\basis\test_missingness.py -> build\lib.win-amd64-cpython-310\pyearth\test\basis
copying pyearth\test\basis\test_smoothed_hinge.py -> build\lib.win-amd64-cpython-310\pyearth\test\basis
copying pyearth\test\basis\__init__.py -> build\lib.win-amd64-cpython-310\pyearth\test\basis
creating build\lib.win-amd64-cpython-310\pyearth\test\record
copying pyearth\test\record\test_forward_pass.py -> build\lib.win-amd64-cpython-310\pyearth\test\record
copying pyearth\test\record\test_pruning_pass.py -> build\lib.win-amd64-cpython-310\pyearth\test\record
copying pyearth\test\record\__init__.py -> build\lib.win-amd64-cpython-310\pyearth\test\record
running egg_info
writing sklearn_contrib_py_earth.egg-info\PKG-INFO
writing dependency_links to sklearn_contrib_py_earth.egg-info\dependency_links.txt
writing requirements to sklearn_contrib_py_earth.egg-info\requires.txt
writing top-level names to sklearn_contrib_py_earth.egg-info\top_level.txt
reading manifest file 'sklearn_contrib_py_earth.egg-info\SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching 'pyearth\test\pathological_data'
adding license file 'LICENSE.txt'
writing manifest file 'sklearn_contrib_py_earth.egg-info\SOURCES.txt'
copying pyearth\_basis.c -> build\lib.win-amd64-cpython-310\pyearth
copying pyearth\_basis.pxd -> build\lib.win-amd64-cpython-310\pyearth
copying pyearth\_forward.c -> build\lib.win-amd64-cpython-310\pyearth
copying pyearth\_forward.pxd -> build\lib.win-amd64-cpython-310\pyearth
copying pyearth\_knot_search.c -> build\lib.win-amd64-cpython-310\pyearth
copying pyearth\_knot_search.pxd -> build\lib.win-amd64-cpython-310\pyearth
copying pyearth\_pruning.c -> build\lib.win-amd64-cpython-310\pyearth
copying pyearth\_pruning.pxd -> build\lib.win-amd64-cpython-310\pyearth
copying pyearth\_qr.c -> build\lib.win-amd64-cpython-310\pyearth
copying pyearth\_qr.pxd -> build\lib.win-amd64-cpython-310\pyearth
copying pyearth\_record.c -> build\lib.win-amd64-cpython-310\pyearth
copying pyearth\_record.pxd -> build\lib.win-amd64-cpython-310\pyearth
copying pyearth\_types.c -> build\lib.win-amd64-cpython-310\pyearth
copying pyearth\_types.pxd -> build\lib.win-amd64-cpython-310\pyearth
copying pyearth\_util.c -> build\lib.win-amd64-cpython-310\pyearth
copying pyearth\_util.pxd -> build\lib.win-amd64-cpython-310\pyearth
copying pyearth\test\earth_linvars_regress.txt -> build\lib.win-amd64-cpython-310\pyearth\test
copying pyearth\test\earth_regress.txt -> build\lib.win-amd64-cpython-310\pyearth\test
copying pyearth\test\earth_regress_missing_data.txt -> build\lib.win-amd64-cpython-310\pyearth\test
copying pyearth\test\earth_regress_smooth.txt -> build\lib.win-amd64-cpython-310\pyearth\test
copying pyearth\test\forward_regress.txt -> build\lib.win-amd64-cpython-310\pyearth\test
copying pyearth\test\test_data.csv -> build\lib.win-amd64-cpython-310\pyearth\test
UPDATING build\lib.win-amd64-cpython-310\pyearth/_version.py
set build\lib.win-amd64-cpython-310\pyearth/_version.py to '0.1.0'
running build_ext
building 'pyearth._util' extension
error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for sklearn-contrib-py-earth
Running setup.py clean for sklearn-contrib-py-earth
Failed to build sklearn-contrib-py-earth
ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (sklearn-contrib-py-earth)
Please help me . Thanks!
CDM run: pip install sklearn-contrib-py-earth
will reback this info:
C:\Users\AUEND>pip install sklearn-contrib-py-earth
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple/
Collecting sklearn-contrib-py-earth
Using cached https://pypi.tuna.tsinghua.edu.cn/packages/f8/c4/53a24835bafac880036446cc13839471a025b41de1436543f30d15d846c1/sklearn-contrib-py-earth-0.1.0.tar.gz (1.0 MB)
Preparing metadata (setup.py) ... done
Requirement already satisfied: scipy>=0.16 in d:\programdata\python31011\lib\site-packages (from sklearn-contrib-py-earth) (1.14.1)
Requirement already satisfied: scikit-learn>=0.16 in d:\programdata\python31011\lib\site-packages (from sklearn-contrib-py-earth) (1.5.2)
Requirement already satisfied: six in d:\programdata\python31011\lib\site-packages (from sklearn-contrib-py-earth) (1.16.0)
Requirement already satisfied: numpy>=1.19.5 in d:\programdata\python31011\lib\site-packages (from scikit-learn>=0.16->sklearn-contrib-py-earth) (1.26.4)
Requirement already satisfied: joblib>=1.2.0 in d:\programdata\python31011\lib\site-packages (from scikit-learn>=0.16->sklearn-contrib-py-earth) (1.3.2)
Requirement already satisfied: threadpoolctl>=3.1.0 in d:\programdata\python31011\lib\site-packages (from scikit-learn>=0.16->sklearn-contrib-py-earth) (3.2.0)
Building wheels for collected packages: sklearn-contrib-py-earth
Building wheel for sklearn-contrib-py-earth (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [108 lines of output]
D:\ProgramData\Python31011\lib\site-packages\setuptools\dist.py:495: SetuptoolsDeprecationWarning: Invalid dash-separated options
!!
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for sklearn-contrib-py-earth
Running setup.py clean for sklearn-contrib-py-earth
Failed to build sklearn-contrib-py-earth
ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (sklearn-contrib-py-earth)
Please help me . Thanks!