Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Python version 3.10 #190

Open
fbrodrigorezino opened this issue Aug 19, 2022 · 4 comments
Open

Add support for Python version 3.10 #190

fbrodrigorezino opened this issue Aug 19, 2022 · 4 comments

Comments

@fbrodrigorezino
Copy link

No description provided.

@mrgiba
Copy link

mrgiba commented Sep 15, 2022

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/python@3.10/3.10.6_1/Frameworks/Python.framework/Versions/3.10/lib/python3.10/collections/__init__.py)

Any expectation for a fix ?

@Achimh3011
Copy link

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.

@gregoriopellegrino
Copy link

same error here

@satrio-pamungkas
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants