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,875 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,298 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,558 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,756 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,960 points
4,784 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
1,123 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,100 points
4,831 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
1,053 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
868 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
783 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