hanschen / vim-ipython-cell

Seamlessly run Python code in IPython from Vim
GNU General Public License v3.0
331 stars 18 forks source link

Commands are not recognized #11

Closed francisco-simoes closed 4 years ago

francisco-simoes commented 4 years ago

I used the plugin successfully for months. Now, the commands do not work anymore. The errors it gives are of the following type: Not an editor command: IPythonCellRun

hanschen commented 4 years ago

That sounds more like an error in your setup than a bug. The most likely cause is that your Vim/Neovim doesn't have Python support. What do you get if you run

:echo has('python')
:echo has('python3')

in your editor?

francisco-simoes commented 4 years ago

You are right: it printed 0 for both. Now that I installed pynvim the commands are recognized. Thank you.

hanschen commented 4 years ago

Great. I've added a FAQ entry about this issue in case other people encounter the same issue.