tkf / emacs-jedi

Python auto-completion for Emacs
http://tkf.github.io/emacs-jedi/latest/
667 stars 89 forks source link

useing system pyhon(s) insted of Virtualenv? #204

Open gozes opened 9 years ago

gozes commented 9 years ago

I rarely use virtualenv because for the things I do day to day system python(s) with the libs I use work fine. I want to write a function that that tell jedi.el to toggles between using /usr/bin/python2 and /usr/bin/python3 and ignores virtualenv. I look at the jedi.el source but I am not sure how to do it without horribly breaking jedi. can anyone point me the right direction?

syohex commented 9 years ago

You can use emacs-jedi without virtualenv if you install dependencies explicitly before using emacs-jedi.

And you can switch between python2 and python3 by replacing /usr/bin/python with /usr/bin/python2 or /usr/bin/python3.