Skip to content

SMAC3 version 1.4 working in windows 10 #952

@carlosricardocm

Description

@carlosricardocm

Description

HI, for all you guys that want to use this library in Windows, I succesfully install it in Windows 10 and 11.

Steps/Code to Reproduce

The steps for install it are as follows:

  1. Create an environment with
    conda create -n SMAC python=3.9.7 (but also could work with python 3.10)

  2. Install swig version 4.1.1 and add to path globally
    http://prdownloads.sourceforge.net/swig/swigwin-4.1.1.zip

  3. Install m2w64-gcc as compiler
    conda install -c conda-forge m2w64-gcc

  4. Install smac ver. 1.4 with pip (version 2.0 won't work)
    pip install smac=1.4

  5. Search where pip installed smac ( with $pip list -v you could find where is installed, in my case is in d:\anaconda3\envs\audio\lib\site-packages ) and in the source code
    search for string dates changing colons for hypens (because in windows is imposible create folders o files that contains colons )

Expected Results

Libary working in Windows 10

Actual Results

I succesfully run examples of optimization using the following libraries:

from ConfigSpace import Configuration, ConfigurationSpace, UniformIntegerHyperparameter, UniformFloatHyperparameter
from smac.scenario.scenario import Scenario
from smac.facade.smac_bb_facade import SMAC4BB as BBFacade
from smac.facade.smac_hpo_facade import SMAC4HPO as HPOFacade
from smac.initial_design.default_configuration_design import DefaultConfiguration

Versions

smac 1.4

Metadata

Metadata

Assignees

Labels

documentationDocumentation is needed/added.

Type

No type

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions