question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Issue

I installed this lovely plugin and thought autocomplete wasn’t working until I realised that the library was only installed with pip3. I set the plugin to python 3 using let g:jedi#force_py_version = 3 but got this error:

I did some research and thought perhaps compiling vim withpython3 will solve the issue but I got an error saying the plugin requires vim to be compiled with python. I couldn’t get vim to compile with both versions as it seems only one can exist on a macbook so I’m not sure where to go from here.

Question: How do I get the plugin to work with python 3? I’m happy to change force_py_version on a per project basis if necessary.

Steps to reproduce

Versions

  • jedi-vim: master
  • Vim / Neovim: Vim 8.0.124
  • Python: 3

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:9

github_iconTop GitHub Comments

1reaction
fayimoracommented, Dec 30, 2016

The error I get.

0reactions
blueyedcommented, Jan 11, 2017

@fayimora Have you set $VIRTUAL_ENV? Search the existing issues, IIRC it was discussed here a few times already.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Status of Python Versions - Python Developer's Guide
Supported Versions#. Dates shown in italic are scheduled and can be adjusted. Branch. Schedule. Status. First release. End of life. Release manager. main....
Read more >
Python - endoflife.date
Release Released Security Support 3.11 1 month and 3 weeks ago. (24 Oct 2022) Ends in 4 years and 10 months. (24 Oct 2... 3.10...
Read more >
Is there official guide for Python 3.x release lifecycle?
Is there an official guide on how long Python 3.x gets support, backports, etc.? I couldn't find any information about Python release ...
Read more >
Python 3 Support — Click Documentation (7.x)
Click supports Python 3, but like all other command line utility libraries, it suffers from the Unicode text model in Python 3. All...
Read more >
Which Python Versions Does ActiveState Support?
Python 3 Versions ; Python 3.8, 10/14/2019, Maintained & Supported ; Python 3.7, 06/27/2018, Maintained & Supported ; Python 3.6, 12/23/2016, Licensing Only ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found