0

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?

1 Answers1

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