Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I tell [G]vim where to look for python26.dll?

Tags:

python

vim

I have a version of Vim compiled with python 2.6 support enabled (from here). however vim cannot find the python26.dll.

:version confirms +python/dyn
:version and gvim.exe confirms DYNAMIC_PYTHON_DLL="python26.dll"
echo PATH confirms python26.dll is in the search path.
    (both c:\windows\system32, and C:\python26)

What could I be missing? Did I skip something silly?

UPDATE Nevermind. I just saw it. Vim is x86 and python is x64. Sorry to waste your time. Score 1 for Dependancy Walker

like image 360
Ariel Avatar asked Mar 23 '10 04:03

Ariel


1 Answers

Be sure that any dll you try to load is compiled for the same architecture as the exe. e.g. If you have x86 Vim installed. Make sure that the python dll you are loading is not x64, or vice-versa.

like image 172
Ariel Avatar answered Oct 07 '22 00:10

Ariel