Skip to content

ModuleNotFoundError for SMAC #293

@ArlindKadra

Description

@ArlindKadra

Hey all,

After having a clean environment, installing all the dependencies as suggested in the repo, the example code fails with the following error:
ModuleNotFoundError: No module named 'smac.tae.execute_ta_run'

Code:

import os
from cave.cavefacade import CAVE
  
task_path = 'path to results'
cave_output_dir = os.path.join(
    task_path,
    'cave_output',
)

cave = CAVE(
    [task_path],  # List of folders holding results
    cave_output_dir,  # Output directory
    ['.'],  # Target Algorithm Directory (only relevant for SMAC)
    file_format="APT",
    verbose="DEBUG"
)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions