Thanks to visit codestin.com
Credit goes to github.com

Skip to content

ImportError: cannot import name 'Access' from 'access' (unknown location) #55

@jGaboardi

Description

@jGaboardi

The 8 errors in testing are all flavors of:

_________________ ERROR collecting access/tests/test_access.py _________________
ImportError while importing test module '/home/runner/work/access/access/access/tests/test_access.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
../../../micromamba/envs/access_310/lib/python3.10/site-packages/_pytest/python.py:493: in importtestmodule
    mod = import_path(
../../../micromamba/envs/access_310/lib/python3.10/site-packages/_pytest/pathlib.py:587: in import_path
    importlib.import_module(module_name)
../../../micromamba/envs/access_310/lib/python3.10/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1050: in _gcd_import
    ???
<frozen importlib._bootstrap>:1027: in _find_and_load
    ???
<frozen importlib._bootstrap>:1006: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:688: in _load_unlocked
    ???
../../../micromamba/envs/access_310/lib/python3.10/site-packages/_pytest/assertion/rewrite.py:185: in exec_module
    exec(co, module.__dict__)
access/tests/test_access.py:11: in <module>
    from access import Access, weights
E   ImportError: cannot import name 'Access' from 'access' (unknown location)

xref #54

Metadata

Metadata

Labels

bugSomething isn't working

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions