no python mode for my gvim

P

pygeek

Hello everyone.
I have some problems regarding gvim and Python.
I have gvim 6.2 running under WinXP, with Python mode
feature included during compilation [+python/dyn].
Whenever I try to use gvim's python commands,
the following error messages would appear:

"E370: Could not load library python21.dll
E263: Sorry, this command is disabled, the Python library could not
be loaded."

I have Python 2.2.2 running and what concerns me is that,
I only have the file 'python22.dll' in C:\Windows\System32 and not
'python21.dll' as
required by gvim. How do i go about loading the .dll file for gvim?

Please advise. Thank you.

--Daniel D.--
 
A

Alan Gauld

"E370: Could not load library python21.dll
I have Python 2.2.2 running and what concerns me is that,
I only have the file 'python22.dll' in C:\Windows\System32 and not
'python21.dll' as
required by gvim. How do i go about loading the .dll file for gvim?

I guess you need to install a copy of Python 2.1 somewhere. You
can delete all the docs and samples if space is tight...

[ Or you might try finding the call to load the DLL
(loadlibrary()?)and change the name if its hard coded, but I
dunno if that will work, its probably too simple! ]

Alan g.
Alan g.
http://www.freenetpages.co.uk/hp/alan.gauld/
 
D

ddaemon

Alan said:
"E370: Could not load library python21.dll

I guess you need to install a copy of Python 2.1 somewhere. You
can delete all the docs and samples if space is tight...

[ Or you might try finding the call to load the DLL
(loadlibrary()?)and change the name if its hard coded, but I
dunno if that will work, its probably too simple! ]

I'll try installing Python 2.1 later to see if it works.
question: how do i use the loadlibrary function?
i'm relatively new to gvim, sorry.
thanks for the reply.

--pygeek--
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,077
Messages
2,570,568
Members
47,204
Latest member
abhinav72673

Latest Threads

Top