GithubHelp home page GithubHelp logo

Comments (4)

mrgiba avatar mrgiba commented on September 28, 2024 5

I am getting this error when trying to import PyInquirer module, apparently related to the lack of support for Python 3.10

ImportError: cannot import name 'Mapping' from 'collections' (/usr/local/Cellar/[email protected]/3.10.6_1/Frameworks/Python.framework/Versions/3.10/lib/python3.10/collections/__init__.py)

Any expectation for a fix ?

from pyinquirer.

satrio-pamungkas avatar satrio-pamungkas commented on September 28, 2024 2

It's good to note that someone already mentioned a solution by changing the import statement. See here #181 (comment)

Hopefully an update will be immediately released

But if you would prefer to have convenient solution rather than the tricky one. You can take a look to another library InquirerPy, which is has similar features.

from pyinquirer.

gregoriopellegrino avatar gregoriopellegrino commented on September 28, 2024 1

same error here

from pyinquirer.

Achimh3011 avatar Achimh3011 commented on September 28, 2024

It's not clear from your (missing) backtrace, but as far as I can see, this is due to an old version of prompt_toolkit being used. The fix (newer version) is already in the repo. A release covering this fix would be nice, though.

from pyinquirer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.