Error

Traceback (most recent call last): File "//bin/rpi-source", line 15, in import urllib.request, urllib.parse, urllib.error ImportError: No module named request

Solution

sudo vi /usr/local/bin/rpi-source #!/usr/bin/env python #!/usr/bin/env python3