Python-mode: Can't load python-mode: E887

Created on 22 Mar 2017  路  1Comment  路  Source: python-mode/python-mode

It used to work without problem. Recently it starts to show the following errors.

Error detected while processing function pymode#init:
line 2:
E887: Sorry, this command is disabled, the Python's site module could not be lo
ded.
line 3:
E887: Sorry, this command is disabled, the Python's site module could not be lo
ded.
line 4:
E887: Sorry, this command is disabled, the Python's site module could not be lo
ded.
Error detected while processing C:\Users\XX.vim\bundle\python-mode\autoload
pymode\virtualenv.vim:
line 3:
E887: Sorry, this command is disabled, the Python's site module could not be lo
ded.
Error detected while processing function pymode#breakpoint#init:
line 27:
E887: Sorry, this command is disabled, the Python's site module could not be lo
ded.
Error detected while processing C:\Users\XX.vim\bundle\python-mode\ftplugin
python\pymode.vim:

Most helpful comment

add the following to .vimrc solved the problem
let g:pymode_python = 'python3'

>All comments

add the following to .vimrc solved the problem
let g:pymode_python = 'python3'

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ysatGitHub picture ysatGitHub  路  6Comments

jabbalaci picture jabbalaci  路  8Comments

stevenfrog picture stevenfrog  路  9Comments

eschao picture eschao  路  5Comments

kryptek picture kryptek  路  10Comments