Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to choose python3 if python command directs to python2 #44

Closed
saifsmailbox98 opened this issue Jun 15, 2020 · 2 comments
Closed

How to choose python3 if python command directs to python2 #44

saifsmailbox98 opened this issue Jun 15, 2020 · 2 comments

Comments

@saifsmailbox98
Copy link

I have both python2 and python3 installed on my Mac. The python command directs to python2 and not python3. The extension picks up python2 by default. How to configure it to use python3 as the interpreter?

@agrawal-d
Copy link
Owner

You need to set up the alias on your own.
For example, in bash, it is possible to do
alias python=python3.
I'm not aware of how to do it for a mac, but you can search on the web.

@ochen1
Copy link

ochen1 commented Aug 31, 2020

@saifsmailbox98, you can put alias python=python3 in the ~/.bashrc file, in a new line

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants