Skip to content

Import error on Apple Silicon #229

@ngctnnnn

Description

@ngctnnnn
  • When I try to use ConfigSpace on Macbook Pro M1, I got the following message although there is no problem with the installation itself
  File "/Users/ngctnnnn/Documents/NAS/NASBench/NAS301.py", line 4, in <module>
    from ConfigSpace.read_and_write import json as cs_json
  File "/Users/ngctnnnn/miniforge3/lib/python3.9/site-packages/ConfigSpace/__init__.py", line 37, in <module>
    from ConfigSpace.configuration_space import Configuration, \
ImportError: dlopen(/Users/ngctnnnn/miniforge3/lib/python3.9/site-packages/ConfigSpace/configuration_space.cpython-39-darwin.so, 0x0002): tried: '/Users/ngctnnnn/miniforge3/lib/python3.9/site-packages/ConfigSpace/configuration_space.cpython-39-darwin.so' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e')), '/usr/local/lib/configuration_space.cpython-39-darwin.so' (no such file), '/usr/lib/configuration_space.cpython-39-darwin.so' (no such file)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions