admin管理员组文章数量:1333690
Are there any caveats to take into consideration before installing AutoML's SMAC3 using pip
inside a regular venv
rather than within a conda
environment, as recommended by the docs?
The docs suggest using conda
for environment management, but in the initial 'Requirements' section they suggest installing swig
, the only system dependency that can't be handled by pip
, using the OS's package manager. Moreover, the first option literally stated in the docs is to "install SMAC via PyPI" using pip
.
I'm not very experienced with the anaconda
distribution. Are there any special versions or builds of some packages that smac
depends on? I understand that it comes with its own python
interpreter implementation or build, too. I'm assuming it respects the CPython standards, but maybe there are some key differences that SMAC3 could depend on?
LE: I fot to mention that I ran the test battery of SMAC both in a conda env and in a venv, and the same few tests fail.
LE2: apparently, there's an option even for swig
to be installed via pip
as a PyPI package
Are there any caveats to take into consideration before installing AutoML's SMAC3 using pip
inside a regular venv
rather than within a conda
environment, as recommended by the docs?
The docs suggest using conda
for environment management, but in the initial 'Requirements' section they suggest installing swig
, the only system dependency that can't be handled by pip
, using the OS's package manager. Moreover, the first option literally stated in the docs is to "install SMAC via PyPI" using pip
.
I'm not very experienced with the anaconda
distribution. Are there any special versions or builds of some packages that smac
depends on? I understand that it comes with its own python
interpreter implementation or build, too. I'm assuming it respects the CPython standards, but maybe there are some key differences that SMAC3 could depend on?
LE: I fot to mention that I ran the test battery of SMAC both in a conda env and in a venv, and the same few tests fail.
LE2: apparently, there's an option even for swig
to be installed via pip
as a PyPI package
1 Answer
Reset to default 0As per this comment by a member of smac
's dev team on a github issue on the subject, indeed there is a dependency that is easiest to compile with anaconda to provide cross-compatibility.
However, it's also worth noting that on linux there are prebuilt binaries for that dep, so conda is not actually required, and one can safely install using pip
.
本文标签: pythonSMAC3 conda dependencyStack Overflow
版权声明:本文标题:python - SMAC3 conda dependency - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1742354962a2459225.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论