davidhalter / jedi-vim

Using the jedi autocompletion library for VIM.
MIT License
5.28k stars 370 forks source link

how to change global python used in jedi-vim #876

Closed lemWX closed 6 years ago

lemWX commented 6 years ago

Issue

I have Python 2.7.14 (v2.7.14:84471935ed, Sep 16 2017, 20:25:58) [MSC v.1500 64 bit (AMD64)] on win32 with jedi (0.12.1) but JediDebugInfo show global python : 2.7.13 (v2.7.13:a06454blafal, Dec 17 2016, 20:42:59) [MSC v.1500 32 bit (Intel)] how to change global python used in jedi-vim

Jedi-vim debug information

jedi-vimversion
Global Python

using Python version 2 to access Jedi.

error: could not import the "jedi" Python module: importError: cannot import name _remove_dead_weakref

my default python: C:\Users\96357>python Python 2.7.14 (v2.7.14:84471935ed, Sep 16 2017, 20:25:58) [MSC v.1500 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information.

aliahmed45 commented 6 years ago

lemWX I have this same error. Can you share how you fixed this error?

lemWX commented 6 years ago

I have a python 2.7.13 forgot to uninstall。gvim use this python so get this problem

bgenchel commented 2 years ago

follow up here? what do you mean you forgot to install python 2.7?