Skip to content

ImportError: cannot import name 'Mapping' from 'collections' error when importing PyInquirer | HAS SOLUTION #198

Description

@BJunee

I ran the test script, and it kept giving me this error. All I had to do was go into from_dict.py and go to line 9 and turn it from:

from collections import Mapping

to

from collections.abc import Mapping

I might branch it and fix it... who knows...

Stackoverflow thread with fix

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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