I can confirm this bug.

I could solve the problem installing the package python3-powerline. Maybe vim is
configured to call python3 instead of the default python?


On Sun, 02 Oct 2016 17:51:16 +0200 Alberto Fuentes <[email protected]> wrote:
> Package: powerline
> Version: 2.5-1
> Severity: important
> 
> $ vim
> 
> Traceback (most recent call last):
>   File "<string>", line 4, in <module>
> ImportError: No module named 'powerline'
> During handling of the above exception, another exception occurred:
> Traceback (most recent call last):
>   File "<string>", line 9, in <module>
> ImportError: No module named 'powerline'
> An error occurred while importing powerline module.
> This could be caused by invalid sys.path setting,
> or by an incompatible Python version (powerline requires
> Python 2.6, 2.7 or 3.2 and later to work). Please consult
> the troubleshooting section in the documentation for
> possible solutions.
> Unable to import powerline, is it installed?
> Press ENTER or type command to continue
> 
> 
> $ apt install --reinstall powerline
> $ mv .vimrc .vimrc.old
> $ mv .vim .vim.old
> $ vim-addon-manager install powerline
> 
> $ vim
> 
> Traceback (most recent call last):
>   File "<string>", line 4, in <module>
> ImportError: No module named 'powerline'
> During handling of the above exception, another exception occurred:
> Traceback (most recent call last):
>   File "<string>", line 9, in <module>
> ImportError: No module named 'powerline'
> An error occurred while importing powerline module.
> This could be caused by invalid sys.path setting,
> or by an incompatible Python version (powerline requires
> Python 2.6, 2.7 or 3.2 and later to work). Please consult
> the troubleshooting section in the documentation for
> possible solutions.
> Unable to import powerline, is it installed?
> Press ENTER or type command to continue
> 
> 
> 
> -- System Information:
> Debian Release: stretch/sid
>   APT prefers testing
>   APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
> Architecture: amd64 (x86_64)
> Foreign Architectures: i386
> 
> Kernel: Linux 4.7.0-1-amd64 (SMP w/4 CPU cores)
> Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
> Init: systemd (via /run/systemd/system)
> 

Reply via email to