Issue with importing NestedCompleter

Open
#995 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
python
Domain
cli

Research direction

Start by reproducing the reported Python 3.8 environment with pip3 install prompt_toolkit, then inspect the prompt_toolkit.completion exports for NestedCompleter. Done means determining whether the reported import is supported and identifying the appropriate package or usage correction.

Written by the indexing model from the issue text.

Description

Hi,

I have the following problem when trying to use NestedCompleter:
ImportError: cannot import name 'NestedCompleter' from 'prompt_toolkit.completion' (/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/prompt_toolkit/completion/__init__.py)

The package was installed in the following way:

pip3 install prompt_toolkit
Dominant language
Python
Stars
10.6k
Forks
815
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from prompt-toolkit/python-prompt-toolkit

All issues in prompt-toolkit/python-prompt-toolkit

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.