Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I specify where the python dll is located for vim 8?

Tags:

python

vim

I am trying to enable python support for Vim 8.0 on Windows 10.

As I understand it I need:

  • Vim with python support
  • Python installed and on the $path
  • matching 32 or 64 bit versions of both

I have tried

  • the official 32bit binary, which shows python35.dll with python 3.5.2 and 3
  • the 64 bit binary available from tux project which shows python36.dll as the ddynamic_python_dll with python 3.6.1

Each time I've checked the path by typing 'python --version' in cmd and confirming I'm getting the right version.

In all cases I get E370 could not load library. How do I make sure Vim is looking at the right file?

like image 990
furicle Avatar asked Oct 18 '25 07:10

furicle


1 Answers

set pythonthreedll="c:\program files (x86)\python36-32\python36.dll"

And you might not want to leave that in your .vimrc while you keep changing everything else around it....

like image 157
furicle Avatar answered Oct 20 '25 10:10

furicle



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!