469,657 Members | 1,825 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,657 developers. It's quick & easy.

no python mode for my gvim


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.--

--
Posted via http://dbforums.com
Jul 18 '05 #1
2 2639
On Thu, 10 Jul 2003 20:23:32 +0000, pygeek
<me*********@dbforums.com> wrote:
"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/
Jul 18 '05 #2
Alan Gauld wrote:
On Thu, 10 Jul 2003 20:23:32 +0000, pygeek
<me*********@dbforums.com> wrote:
"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--
Jul 18 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by Paulo Jorge de Oliveira Cantante de Matos | last post: by
16 posts views Thread by sb | last post: by
42 posts views Thread by Fred Ma | last post: by
37 posts views Thread by Carlos Ribeiro | last post: by
7 posts views Thread by diffuser78 | last post: by
reply views Thread by James Stroud | last post: by
2 posts views Thread by BartlebyScrivener | last post: by
7 posts views Thread by Dave Sampson | last post: by
reply views Thread by gheharukoh7 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.