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

Lesson 4 Python install #447

Open
Matchoo612 opened this issue Nov 27, 2021 · 3 comments
Open

Lesson 4 Python install #447

Matchoo612 opened this issue Nov 27, 2021 · 3 comments

Comments

@Matchoo612
Copy link

In my terminal when I check which version of Python I am running, it says 2.7.16, however, I just installed python 3.10.0 and it even says in the bottom left hand corner I am running python 3.10.0. This is an issue because it also says I am not running pip which comes with the Python 3.10 download if I understand correctly. Thanks in advance for your help and sorry it's probably an easy fix, I just started learning a few days ago with limited experience. :)
Screen Shot 2021-11-27 at 12 09 45 PM
ip

@MUHAMMAD-AMMAR-TANWEER
Copy link

Hey buddy There is a quick fix for it type press ctrl+shift+p You will see the latest python3.10.0 here

python3 9 0

Now you can select it and re run then it will start working
For more help please referhttps://stackoverflow.com/questions/50202829/how-do-i-get-vscode-to-run-python-2-7-13-instead-of-python-3-6

@igor-udovenko
Copy link

If you're using Windows, check if your PATH environment variable includes the folders that Python 3 and pip are kept in (ie. something like "...\Programs\Python\Python310" for Python and "...\Programs\Python\Python310\Scripts" for pip)

@jasoncliao
Copy link

jasoncliao commented Feb 1, 2022

Hi Muhammad (or anyone) - i did what you are suggested but when i still run "python --version" after that, I still get Python 2.7.16 even though I have downloaded the Python 3.10.2 version. When you say "re-run" what do you mean by that? See pictures below
image
image

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

4 participants