absolute newbie question: Why i can not find out what my python version is? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

absolute newbie question: Why i can not find out what my python version is?

i open the platform and write : python -v and the the error: >>> python -v Traceback (most recent call last): File "<stdin>", line 1, in <module> NameError: name 'python' is not defined >>> i'm totaly new on python, and i know my python version is: IronPython 2.7.3 (2.7.0.40) on .NET 4.0.30319.42000 (64-bit) Type "help", "copyright", "credits" or "license" for more information.

27th Nov 2018, 12:46 AM
Andrés
Andrés - avatar
2 Answers
0
got solved.... it has to be operated on the Command Prompt and typing the python -v to see the python version. Newbie i guest ... thanks
27th Nov 2018, 11:09 PM
Andrés
Andrés - avatar
- 1
ok so... >>> import sys >>> print(sys.version) 3.7.1 (v3.7.1:260ec2c36a, Oct 20 2018, 14:05:16) [MSC v.1915 32 bit (Intel)] it mean i all ready install python? but again if a use the: >>> python -v Traceback (most recent call last): File "<stdin>", line 1, in <module> NameError: name 'python' is not defined >>> same error.
27th Nov 2018, 10:19 PM
Andrés
Andrés - avatar