I have installed Canopy 1.1 express in Windows Xp 32, and I use vim as editor. When I typing :python print("hello")
in command line of vim ,it shows: Importerror: No module named site
and crashed.
In fact, my vim cannot load and plugin written by python(such as jedi-vim), and cannot execute any statements written in python.
I have set the PYTHONHOME and PYTHONPATH as " User Python Environment ", and have read the answer in stackoverflow. In fact, I can use python, it works well. If I remove Canopy and use python 2.7 from Python Official, vim works well too. That means the environment of the system is right, and vim is right.
I think there must be something wrong between vim and canopy.