If you are getting this error when installing the pip package in your python project. Then you can use one of the solutions explained in the below answers.
One solution is to upgrade your pip to the latest version. If you are using Ubuntu then by default it has pip version 9.x.x installed. To upgrade the pip version simply run the below command
One solution is to upgrade your pip to the latest version. If you are using Ubuntu then by default it has pip version 9.x.x installed. To upgrade the pip version simply run the below command