simplenote-vim / simplenote.vim

vim plugin to interact with the simplenote service
http://www.vim.org/scripts/script.php?script_id=3582
MIT License
368 stars 31 forks source link

gVim need to be compiled with python support #48

Closed hcpeter closed 11 years ago

hcpeter commented 11 years ago

Hi,

When I try to fetch my notes list I get the following error:

Error detected while processing ..\simlenote.vim: line 17: Simplenote: Plugin needs vim to be compiled with python support. E117: Unknown function: simplenote#Simplenote

I use Windows7 and gVim.

atomicules commented 11 years ago

Do you have Python installed?

(I'm pretty sure the windows binary is built with Python support - probably Python 2.7)

hcpeter commented 11 years ago

Hi,

Yes I have python: Python 2.6.5

atomicules commented 11 years ago

If you do :version in gvim it will tell you what version of Python it's linked against (expecting)

hcpeter commented 11 years ago

I see two python link: -DDYNAMIC_PYTHON_DLL=\"python27.dll\" -DDYNAMIC_PYTHON3_DLL=\"python31.dll\" It seems for me that python is linked properly.

atomicules commented 11 years ago

It seems for me that python is linked properly.

Yes, gVim is built properly. But it is looking for Python 2.7. Try installing that.

hcpeter commented 11 years ago

Thank you, it worsk like a charm! After I installed python, everything is fine.

I have Cygwin in my PC, probaply that was the cause why I see python as already installed.