You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [8linesofoutput]
[<setuptools.extension.Extension('pyrfr._regression') at0x19ce8dcdd50>,<setuptools.extension.Extension('pyrfr._util') at0x19ce8e96950>]
Deprecated command line option: -modern. Ignored, this option is now always on.
Deprecated command line option: -py3. Ignored, this option is no longer supported.
.\include\rfr\nodes\k_ary_node.hpp(253) : Warning 401: Nothing known about base class 'k_ary_node_minimal< 2,rfr::splits::binary_split_one_feature_rss_loss< double,double,unsigned int,std::default_random_engine,128 >,double,double,unsigned int,std::default_random_engine >'. Ignored.
.\include\rfr\nodes\k_ary_node.hpp(253) : Warning 401: Maybe you forgot to instantiate 'k_ary_node_minimal< 2,rfr::splits::binary_split_one_feature_rss_loss< double,double,unsigned int,std::default_random_engine,128 >,double,double,unsigned int,std::default_random_engine >' using %template.
regression_wrap.cpp
D:\DevEnvironment\anaconda3\envs\agn\include\pyconfig.h(59): fatal error C1083: 无法打开包括文件: “io.h”: No such file or directory
error: command 'D:\\DevEnvironment\\VisualStudio\\VC\\Tools\\MSVC\\14.41.34120\\bin\\HostX86\\x64\\cl.exe' failed with exit code 2
[endofoutput]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for pyrfr
Running setup.py cleanfor pyrfr
Failed to build pyrfr
ERROR: Could not build wheels for pyrfr, which is required to install pyproject.toml-based projects
这里指示了如何配置vc的环境 https://open-box.readthedocs.io/zh-cn/latest/installation/install_microsoft_vc.html
然而如果只装那两个是不work的,会遇到
根据Microsoft的答疑 https://learn.microsoft.com/en-us/answers/questions/1386273/io-h-not-found
解法很简单,VC Installer中多勾选一个 Windows 11/10 SDK
亲测确实解决了
The text was updated successfully, but these errors were encountered: