成功解决ValueError: Detected unsupported operating system: win32. Please check the compability information of auto-sklearn: https://automl.github.io/auto-sklearn/master/installation.html#windows-osx-compatibility
目录
解决问题
ValueError: Detected unsupported operating system: win32. Please check the compability information of auto-sklearn: https://automl.github.io/auto-sklearn/master/installation.html#windows-osx-compatibility
解决思路
Error:检测到不支持的操作系统:win32,请查看auto-sklearn的兼容性信息:https://automl.github.io/auto-sklearn/master/installation.html#windows-osx-compatibility
解决方法
参考文章:Installation — AutoSklearn 0.15.0 documentation
可知原因auto-sklearn 当前不支持 Windows系统,因为auto-sklearn严重依赖 Python 模块resource。是 Python 的Unix 特定服务resource 的一部分 ,在 Windows 机器上不可用。因此,无法 在 Windows 机器上运行auto-sklearn 。
可以参考 auto-sklearn 官方文档中的安装指南,选择支持的操作系统进行安装。具体来说,您可以在 Linux 或 macOS 上安装 auto-sklearn。
如果想在 Windows 操作系统上运行 auto-sklearn,可以考虑在虚拟机中安装支持的操作系统,然后在其中安装 auto-sklearn。例如,可以使用 VirtualBox 在 Windows 操作系统中运行 Linux 虚拟机,并在其中安装 auto-sklearn。