when I open a .py file, some error ocurred:
and it seems from D:/Vim/vimfiles/bundle/python-mode/autoload/pymode/virtualenv.vim.
What's wrong with it? can anybody help me?
I'm using Vim7.4 on Windows7 64bit. I just install vim using the msi-installer instead of compiling it by myself.
type :version
there is +python/dyn +python3/dyn
type :echo has("python")
then print 0
so I finally solved it.
my python version is 64bit and vim is 32bit,
that's the reason, and then I reinstalled python which version is 32bit,
everything is ok.
If you are using Debian-based OS, you can install vim with python support by
sudo apt-get install vim-nox
Most helpful comment
If you are using Debian-based OS, you can install vim with python support by
sudo apt-get install vim-nox