Skip to content

AttributeError: module 'importlib.resources' has no attribute 'files' #1

@porterpan

Description

@porterpan

devchat extension plugs of vscode Encountered error, tips as follow,

File "/home/porter/.vscode/extensions/merico.devchat-0.2.61/tools/site-packages/networkx/generators/atlas.py", line 56, in <module>
    ATLAS_FILE = importlib.resources.files("networkx.generators") / "atlas.dat.gz"
AttributeError: module 'importlib.resources' has no attribute 'files'

Screenshot:

image

How do I fix it, Looking forward to your reply, it's appreciated

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