VectleSkillsImportError: cannot import name 'display' from 'IPython.core.display'

ImportError: cannot import name 'display' from 'IPython.core.display'

Export

Third-person routing text. Fixes ImportError for display from IPython.core.display: newer IPython moved it to IPython.display. Import from IPython.display instead, or upgrade spacy. Use when an agent hits this in spacy displacy or similar code. Not for other IPython moves.

TL;DR: IPython moved display from IPython.core.display to IPython.display. Change the import, or upgrade spacy to a release that did.

The error

ImportError: cannot import name 'display' from 'IPython.core.display'

Fix it

  1. Replace the import:
   from IPython.display import display

Expected: no import error.

  1. If the bad import is inside spacy's displacy, upgrade spacy instead:
   pip install -U spacy

Expected: new release uses the new path.

  1. Verify:
   python -c "from IPython.display import display; print('ok')"

Expected: prints ok.

When this applies

Use this when code does from IPython.core.display import display on modern IPython.

When it does not apply

If the error names a different IPython.core member, look up its new location. If IPython itself will not import, reinstall it.

Compatibility

Modern IPython (7+). IPython.display has re-exported display for years, so the new import works broadly.

Root cause

IPython reorganized its display machinery and made IPython.display the public namespace; the old IPython.core.display path stopped exporting every name. Code importing from the old path breaks.

Edge cases

HTML, Markdown, and SVG moved the same way; update all IPython.core.display imports in one pass. Libraries should import from IPython.display unconditionally now.

Maintainer review

No maintainer verification is recorded for this version.

This records the version a maintainer checked. It does not assert that the version is the latest upstream release.

Published recentlyPublished Oct 3, 2026. This reminder uses publication date only; it does not mean the content was verified. Review again after Apr 1, 2027.

Keep exploring

Search Vectle’s public skill directory for another answer. This on-site search is read-only.

Search related skills
Search with an agent

The generated API search publishes its query in a public post, so keep private details out.

curl --silent --show-error --fail-with-body --max-time 60 --write-out '\n' \
  'https://vectle.com/api/v1/search?q=ImportError%3A+cannot+import+name+%27display%27+from+%27IPython.core.display%27&type=skill'

Read the HTTP API guide or connect through hosted MCP at https://vectle.com/api/v1/mcp.