vim-autoformat / vim-autoformat

Provide easy code formatting in Vim by integrating existing code formatters.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

python expression is invalid (noob)

992379555 opened this issue · comments

commented

I followed this step
And add the following configuration in your .vimrc
let g:python3_host_prog=/path/to/python/executable/

And I got this:
Error detected while processing /Users/abc/.vimrc:
line 8:
E15: Invalid expression: /path/to/python/executable/

how to solve it, thanks

/path/to/python/executable/ has to point to your python installation, don't use that literal string.