Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows: g:python3_host_prog Variable Error #7469

Closed
guychouk opened this issue Nov 1, 2017 · 2 comments
Closed

Windows: g:python3_host_prog Variable Error #7469

guychouk opened this issue Nov 1, 2017 · 2 comments
Labels
closed:question issues that are closed as usage questions

Comments

@guychouk
Copy link

guychouk commented Nov 1, 2017

  • nvim --version:
NVIM v0.2.1-25-g2e3b78d1
Build type: RelWithDebInfo
Compilation: C:/msys64/mingw64/bin/gcc.exe -Wconversion -DNVIM_MSGPACK_HAS_FLOAT32 -O2 -g -DDISABLE_LOG -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -D__USE_MINGW_ANSI_STDIO -D_WIN32_WINNT=0x0600 -Wvla -fdiagnostics-color=auto -DINCLUDE_GENERATED_DECLARATIONS -IC:/projects/neovim/build/config -IC:/projects/neovim/src -IC:/projects/neovim/.deps/usr/include -IC:/projects/neovim/.deps/usr/include -IC:/msys64/mingw64/include -IC:/projects/neovim/.deps/usr/include -IC:/projects/neovim/.deps/usr/include -IC:/msys64/mingw64/include -IC:/msys64/mingw64/include -IC:/projects/neovim/build/src/nvim/auto -IC:/projects/neovim/build/include
Compiled by appveyor@APPVYR-WIN

Optional features included (+) or not (-): -acl   +iconv    -jemalloc +tui
For differences from Vim, see :help vim-differences

   system vimrc file: "$VIM\sysinit.vim"
  fall-back for $VIM: "C:/Program Files (x86)/nvim/share/nvim"
  • OS: Windows
  • Terminal: Powershell

I've set the g:python3_host_prog variable (as stated here) to my Python3 path located at C:\dev\Python35\python.exe, and upon running nvim I receive the following error:

Pattern not found: python3_host_prog = 'C
Press ENTER or type command to continue

My nvimrc file:

if !has('nvim')
	source ~\vimfiles\vimrc
endif

" Neovim setup
g:python3_host_prog = 'C:\dev\Python35\python.exe'
set clipboard+=unnamedplus

Help would be appreciated!

@guychouk guychouk changed the title g:python3_host_prog variable error NVim Windows: g:python3_host_prog Variable Error Nov 1, 2017
@guychouk guychouk changed the title NVim Windows: g:python3_host_prog Variable Error NVim Windows: g:python3_host_prog Variable Error Nov 1, 2017
@guychouk guychouk changed the title NVim Windows: g:python3_host_prog Variable Error Windows: g:python3_host_prog Variable Error Nov 1, 2017
@guychouk guychouk closed this as completed Nov 1, 2017
@guychouk guychouk reopened this Nov 1, 2017
@Shougo
Copy link
Contributor

Shougo commented Nov 1, 2017

It must be:

let g:python3_host_prog = 'C:\dev\Python35\python.exe'

let is needed.

@guychouk
Copy link
Author

guychouk commented Nov 1, 2017

It works, thank you very much, sorry for this noob question (facepalm).

@guychouk guychouk closed this as completed Nov 1, 2017
@justinmk justinmk added the closed:question issues that are closed as usage questions label Nov 1, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
closed:question issues that are closed as usage questions
Projects
None yet
Development

No branches or pull requests

3 participants