Skip to content

Python relative importing? #160

@aronchick

Description

@aronchick

Curious why this doesn't work?

❯ python3 sameproject/main.py -t aml -f test/ops/testdata/same_notebooks/generic/same.yaml
Traceback (most recent call last):
  File "sameproject/main.py", line 1, in <module>
    from sameproject.cli import run, version, init, verify
ModuleNotFoundError: No module named 'sameproject'

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    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