"'jedi' has no attribute __version__" on system with multiple versions of Python
See original GitHub issueAfter installing jedi-vim from master branch (@a0c326, using pathogen bundle), the following message is shown when opening python files:
Could not load jedi python module: module 'jedi' has no attribute '__version__'
The system (Arch Linux) has two versions of Python (2.7 and 3.x, where 3.x is default). Jedi library was installed for Python 2.7 only. The error goes away if jedi library is installed under Python 3. As an aside, rope-vim has no trouble using the version of the library installed only for 2.7.
Issue Analytics
- State:
- Created 7 years ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
"'jedi' has no attribute __version__" on system with multiple ...
After installing jedi-vim from master branch (@a0c326, using pathogen bundle), the following message is shown when opening python files:
Read more >Autocompletion with Jedi-vim gives Error - Stack Overflow
This has happened because of the 2 versions python installed on the Mac. One that came by default resided in /usr/bin directory and...
Read more >Installation and Configuration — Jedi 0.18.2 documentation
Most people will want to install Jedi as a submodule/vendored and not through pip/system wide. The reason for this is that it makes...
Read more >jedi - PyPI
Jedi is a static analysis tool for Python that is typically used in IDEs/editors plugins. Jedi has a focus on autocompletion and goto...
Read more >Dropping support for older Python versions
The publisher is using the latest version of setuptools, ... When dropping support for Python 2, it is important not to forget to...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Probably VIM on arch comes with Python 3. Just install Jedi with Python 3. Or use the git submodule --recursive stuff to initialize the submodule.
😦