@@ -16,6 +16,15 @@ Features `pyrepl.nvim` currently provides:
1616- Jupytext cell navigation;
1717- Toggle focus to REPL window in active terminal mode.
1818
19+ ------------------------------------------------------------------------------
20+ REQUIREMENTS *pyrepl-reqs*
21+
22+ - Python 3.12+
23+ - Neovim 0.11+
24+ - Optional Python packages:
25+ - cairosvg (for displaying SVG images)
26+ - pillow (for displaying JPG images)
27+
1928------------------------------------------------------------------------------
2029QUICKSTART *pyrepl-quickstart*
2130
@@ -75,25 +84,6 @@ Then install REPL runtime packages with `uv` or `pip` directly from Neovim:
7584 :PyreplInstall uv
7685<
7786
78- ==============================================================================
79- REQUIREMENTS *pyrepl-reqs*
80-
81- - A working Python executable. By default pyrepl.nvim uses `python `
82- executable from PATH.
83- You can override it with `python_path` (see | pyrepl-config | ).
84- - The selected Python interpreter must have these packages:
85- - pynvim
86- - jupyter-console
87- - Optional for images:
88- - pillow (JPEG -> PNG conversion)
89- - cairosvg (SVG -> PNG conversion)
90- - A Jupyter kernel is registered (optional, for global kernels):
91-
92- >
93- python3 -m pip install ipykernel
94- python3 -m ipykernel install --user --name python3
95- <
96-
9787==============================================================================
9888COMMANDS *pyrepl-commands*
9989
0 commit comments