猿问

在 Anaconda 环境中安装 AutoSKLearn

我正在尝试在 anaconda 环境AutoSKLearn 中安装 autosklearn ,之后我正在使用 jupyter notebook 并尝试import autosklearn.classification但我收到此错误,“ValueError:numpy.ufunc 大小已更改,可能表示二进制不兼容。预计来自 C 标头的 216,来自 C 头的 192 Py 对象”。我该如何解决这个错误?


繁华开满天机
浏览 616回答 3
3回答

函数式编程

这里解释了一切。Anaconda 安装Anaconda 不提供 auto-sklearn,也没有用于 auto-sklearn 的 conda 包。因此,按照安装 auto-sklearn 部分中的详细说明安装 auto-sklearn 是最简单的。最近 Linux 发行版下的一个常见安装问题是用于编译 AnaConda 提供的 Python 二进制文件的编译器版本与发行版安装的编译器不兼容。这可以通过安装 AnaConda(以及 swig)附带的 gcc 编译器来解决:conda install gxx_linux-64 gcc_linux-64 swig

杨魅力

尝试: conda install -c conda-forge auto-sklearnhttps://anaconda.org/conda-forge/auto-sklearn

慕桂英3389331

根据 autosklearn 文档,它不会在 Windows 上正式支持,auto-sklearn relies heavily on the Python module resource. resource is part of Python’s Unix Specific Services and not available on a Windows machine. Therefore, it is not possible to run auto-sklearn on a Windows machine.Possible solutions (not tested):Windows 10 bash shellvirtual machinedocker image
随时随地看视频慕课网APP

相关分类

Python
我要回答