4
I’m new to Ubuntu and I’m learning Python.
I have installed on my pc Pyhton 2.7.12 and would like to know how I do to upgrade to version 3.
I’m taking a course where I need to use a lib.
import urllib.request
But the following error appears:
import urllib.request
ImportError: No module named request
Looking at the internet I saw some comments saying that for this to work I needed to run the file with python 3 installed.
I would like to know how to install python 3 to fix this error.
Use Eclipse is best practice to develop, and follow the site https://www.vivaolinux.com.br/artigo/Pydev-Preparando-o-clipse-para-o-Python
– KingRider