9 votes
Accepted

Getting Python support for gVim 8.1 (Windows 10)

With dynamic python, the name of the python DLL (or shared object on Unix) is defined at compile time. In your case it is python36.dll. As you now want to use a different python version, this name ...
Ralf's user avatar
  • 9,197
4 votes
Accepted

Why does Rename fails with Python files if there is no trailing space?

I'm not clear on why the problem occurs — the line in pymode#trim_whitespaces() that is triggering the error includes a silent! so the error should be ignored. You could maybe try ...
Rich's user avatar
  • 31.9k
2 votes

Compiling Vim with python3 showing E370: Could not load library libpython3.7m.a

Find your dynamic python lib, for example libpython3.6m.so.1.0. Then put it in your .vimrc like this: set pythonthreedll=/location/of/your/python/lib/libpython3.6m.so.1.0 Of course, change the ...
peter's user avatar
  • 31
2 votes
Accepted

ModuleNotFoundError: No module named 'pylama'

As stated on the official page of Python-mode, From 2017-11-19 onwards python-mode uses submodules instead of hard coding 3rd party libraries into its codebase. Please issue the command: git ...
Lerner Zhang's user avatar
1 vote

How to auto import Python functions in VIM?

You can create a function for that (easier with python :h if_pyth). # intial setup import inspect` potential_modules = ['django', 'sys', 'os'] for module_name in potential_modules: exec(f"...
tejasvi88's user avatar
  • 470
1 vote

Error detected while processing ~/.vim/bundle/python-mode/autoload/pymode/lint.vim

Your problem is in Python code, importing a Python module. This is a Python stack trace: Traceback (most recent call last): File "<string>", line 2, in <module> ImportError: No module ...
filbranden's user avatar
  • 28.8k
1 vote

Vim and YouCompleteMe troubles (PROTOCOL_TLS)

I have had problems installing vim and YouCompleteMe as well. You might want to try managing your installations with Linuxbrew. Linuxbrew installs programs from source or tarballs, and manages all ...
Leon S.'s user avatar
  • 121
1 vote

Fatal Python error: Py_Initialize: unable to load the file system codec ImportError: No module named 'encodings'

Add an environment variable "PYTHONPATH" which points to the installation location of Python and restart the editor.
Arunkumar Arjunan's user avatar
1 vote

What is a good debug front end plugin

You should check the existing plugins with Vim Awesome: Vim Awesome is a directory of Vim plugins sourced from GitHub, Vim.org, and user submissions. Plugin usage data is extracted from ...
mMontu's user avatar
  • 6,630

Only top scored, non community-wiki answers of a minimum length are eligible