I am trying to install packages using pip and it is throwing error.
Command that I have used,
sudo pip install selenium
The error
The solution for this issue is to update the shebang on the /usr/bin/lsb_release
The shebang on this lsb_release
file tells which version of python to use. This has to match with the current version of python you using.
For instance, I'm using Python 3.5 so I'd change the shebang to be:
#!/usr/bin/python3.5 -Es
And get it working.