How to enable python3 in vim

0 votes
I've been using vim for some time, and now in a need to use the python3 feature.

If I type vim --version | grep python I get -python3

How can I do to enable it?
Jan 21, 2019 in Python by ana1504.k
• 7,910 points
1,675 views

1 answer to this question.

0 votes
You didn't tell us the platform you're on, but it basically boils down to:

Installing the prerequisite packages needed for Python 3 and for compiling Vim
Compile Vim with the configure --enable-python3interp option
answered Jan 21, 2019 by SDeb
• 13,300 points

Related Questions In Python

0 votes
1 answer

Raw_input method is not working in python3. How to use it?

raw_input is not supported anymore in python3. ...READ MORE

answered May 5, 2018 in Python by aayushi
• 750 points
3,097 views
0 votes
3 answers

how to use print statement in python3?

Brackets are required to print the output. >>> ...READ MORE

answered Nov 25, 2021 in Python by anonymous
1,334 views
0 votes
1 answer

How to install OpenCV for python3 in Ubuntu?

I found this: https://pypi.python.org/pypi/opencv-python OpenCV on wheels 'Unofficial OpenCV packages ...READ MORE

answered Nov 28, 2018 in Python by Nymeria
• 3,560 points
2,605 views
0 votes
1 answer

How to print like printf in Python3?

To print like printf in Python you ...READ MORE

answered Jul 25, 2019 in Python by Wajiha
• 1,950 points
4,450 views
0 votes
1 answer
0 votes
1 answer

How do I set variable if a specific package version is installed in CFEngine?

Here is what you can do.Just use packagesmatching to ...READ MORE

answered Jul 12, 2018 in Other DevOps Questions by Atul
• 10,240 points
967 views
0 votes
1 answer

Run python script on terminal (ubuntu)?

Your shell in the terminal has a concept ...READ MORE

answered Oct 31, 2018 in Python by Priyaj
• 58,090 points
4,586 views
0 votes
1 answer

Install Python on Ubuntu

@Abha you are right about pre-installation of python, ...READ MORE

answered Mar 1, 2019 in Python by Pratibha
• 3,690 points
862 views
0 votes
1 answer

How to use a global variable in function?

The global variable can be used in ...READ MORE

answered Sep 27, 2018 in Python by SDeb
• 13,300 points
718 views
0 votes
1 answer

How to Reverse a list in Python

You can use the reversed function in ...READ MORE

answered Sep 29, 2018 in Python by SDeb
• 13,300 points
646 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP