7

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 needs to be changed. For this Vim has the option pythonthreedll (and pythondll for python2). Set it to the name of DLL you want to load. Add the following to ...


4

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 appending an e flag to ignore the errors more specifically: silent! %s/\s\+$//e If that works, you should probably report it to the author of python-mode. ...


2

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 version of the library name accordingly.


1

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"from {module_name} import *") def add_import_on_trigger() func_name = get_the_word_under_cursor(); module_name = inspect.getmodule(func_name) ...


1

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 named six You need to install the Python six module in your machine, in order to get past this error. There are quite a few ways to install Python modules on ...


1

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 dependencies for you. It does not need root (some setting up the environment might require it though) and can install the needed libraries for you. A note on ...


1

Add an environment variable "PYTHONPATH" which points to the installation location of Python and restart the editor.


1

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 dotfiles repos on GitHub. A quick search on that site brought these results: vimpdb by Godefroid Chapelle - Pdb and Vim integration pdbvim by Mathew Yeates - ...


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