Skip to content

importlib_resources' has no attribute 'pat #5

@tchia04

Description

@tchia04
Traceback (most recent call last):
  File "/private/tmp/real_python38/venv_py38/bin/realpython", line 5, in <module>
    from reader.__main__ import main
  File "/private/tmp/real_python38/venv_py38/lib/python3.8/site-packages/reader/__init__.py", line 23, in <module>
    with _resources.path("reader", "config.cfg") as _path:
AttributeError: module 'importlib_resources' has no attribute 'path'

Fix
pip install importlib-resources==1.3.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions