{"id":24107,"library":"neovim","title":"Neovim Python client (pynvim)","description":"The Python client for Neovim, providing a programming interface to control Neovim from Python. This package ('neovim') is a transitional package for 'pynvim' (version 0.3.1) and is deprecated; users should use the 'pynvim' package (current version 0.6.0) instead. The project has an active maintenance and release cadence of roughly once a year.","status":"deprecated","version":"0.3.1","language":"python","source_language":"en","source_url":"https://github.com/neovim/pynvim","tags":["neovim","pynvim","vim","editor","client"],"install":[{"cmd":"pip install pynvim","lang":"bash","label":"Install pynvim (replacement)"},{"cmd":"pip install neovim","lang":"bash","label":"Install deprecated neovim package"}],"dependencies":[{"reason":"the 'neovim' package is a transitional package that installs pynvim","package":"pynvim","optional":false}],"imports":[{"note":"'import neovim' still works as an alias but is deprecated; use 'import pynvim' for new code.","wrong":"import neovim","symbol":"pynvim","correct":"from pynvim import attach"},{"note":"","wrong":"","symbol":"Nvim","correct":"from pynvim import Nvim"}],"quickstart":{"code":"import pynvim\nnvim = pynvim.attach('socket', path='/tmp/nvim.sock')\nprint(nvim.eval('$VIMRUNTIME'))","lang":"python","description":"Connect to Neovim via Unix socket and evaluate a VimL expression."},"warnings":[{"fix":"Uninstall both 'neovim' and 'pynvim', then install 'pynvim': pip uninstall neovim pynvim && pip install pynvim","message":"'neovim' package on PyPI is deprecated/transitional. The actual library has been renamed to 'pynvim' since version 0.3.1. Continue using 'import neovim' works as an alias but may break in future.","severity":"breaking","affected_versions":"0.3.1 and above"},{"fix":"Upgrade to Python 3.7+ or use pynvim < 0.5.0","message":"Python 3.6 support dropped in pynvim 0.5.0. Minimum Python 3.7 required.","severity":"gotcha","affected_versions":"pynvim >= 0.5.0"},{"fix":"pip uninstall neovim pynvim && pip install pynvim","message":"'pip install --upgrade neovim' may fail due to pip conflicts. Safest upgrade path: uninstall both 'neovim' and 'pynvim', then reinstall 'pynvim'.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"Install pynvim: pip install pynvim","cause":"The 'neovim' package is transitional and may not be installed if you installed 'pynvim' instead. Or vice versa.","error":"ImportError: No module named neovim"},{"fix":"Ensure you have pynvim >= 0.4.0: pip install --upgrade pynvim","cause":"Installed an old version of pynvim (pre-0.4.0) or possibly installed the wrong package.","error":"AttributeError: module 'pynvim' has no attribute 'attach'"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}