I've downloaded python 3 from their website. When I do 'python --version' in terminal it says I'm on Python 2.7.10. How do I update it to what I just installed?
Asked
Active
Viewed 2,174 times
1 Answers
3
Have you tried using 'python3 --version'? To use python 3 you have to be explicit and type python3 in the command line.

Zaya
- 508
- 4
- 8
-
Aight, done that. Do I have to reinstall all the libraries? I just got this: Traceback (most recent call last): File "scraper.py", line 1, in
import requests, time, smtplib ModuleNotFoundError: No module named 'requests' – Jul 06 '19 at 21:00 -
@MarcoWyatt every version has own folder for modules and you have to install for every version again - they may not works if you only copy them. Even 3.6 and 3.7 use own versions. But it is good time to clean up and skip not used modules – furas Jul 06 '19 at 21:02