from executorch.exir import CaptureConfig fails with ExecuTorch pip installed in editable mode 路 Issue #9558 路 pytorch/executorch (original) (raw)

Skip to content

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

@swolchok

Description

@swolchok

馃悰 Describe the bug

python -c 'from executorch.exir import CaptureConfig' works with ExecuTorch installed via ./install_executorch.sh, but fails with ExecuTorch installed by pip install -e .:

Traceback (most recent call last):
  File "<string>", line 1, in <module>
    from executorch.exir import CaptureConfig
ImportError: cannot import name 'CaptureConfig' from 'executorch.exir' (unknown location)

Versions

main