Skip to content

How to solve the problem: ModuleNotFoundError #12764

@lala0228

Description

@lala0228

_ ERROR collecting test/test_issue.py _______________________________________________
ImportError while importing test module '/home/lala/mini-testing-artifact-main/Tools/kuzu/tools/python_api/test/test_issue.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
../../../.local/lib/python3.10/site-packages/_pytest/python.py:493: in importtestmodule
mod = import_path(
../../../.local/lib/python3.10/site-packages/_pytest/pathlib.py:582: in import_path
importlib.import_module(module_name)
/usr/lib/python3.10/importlib/init.py:126: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
:1050: in _gcd_import
???
:1027: in _find_and_load
???
:1006: in _find_and_load_unlocked
???
:688: in _load_unlocked
???
../../../.local/lib/python3.10/site-packages/_pytest/assertion/rewrite.py:174: in exec_module
exec(co, module.dict)
tools/python_api/test/test_issue.py:3: in
from tools.python_api.test.type_aliases import ConnDB
E ModuleNotFoundError: No module named 'tools.python_api'

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