Installation and Configuration¶
You can either include Jedi as a submodule in your text editor plugin (like jedi-vim does by default), or you can install it systemwide.
This just installs the Jedi library, not the editor plugins. For information about how to make it work with your editor, refer to the corresponding documentation.
The preferred way¶
On any system you can install Jedi directly from the Python package index using pip:
sudo pip install jedi
If you want to install the current development version (master branch):
sudo pip install -e git://github.com/davidhalter/jedi.git#egg=jedi
System-wide installation via a package manager¶
You can install Jedi directly from official Arch Linux packages:
The specified Python version just refers to the runtime environment for Jedi. Use the Python 2 version if you’re running vim (or whatever editor you use) under Python 2. Otherwise, use the Python 3 version. But whatever version you choose, both are able to complete both Python 2 and 3 code.
(There is also a packaged version of the vim plugin available: `vim-jedi at Arch Linux<https://www.archlinux.org/packages/community/any/vim-jedi/>`__.)
We are in the discussion of adding Jedi to the Fedora repositories.
Manual installation from a downloaded package¶
If you prefer not to use an automated package installer, you can download a current copy of Jedi and install it manually.
To install it, navigate to the directory containing setup.py on your console and type:
sudo python setup.py install