I have installed the pip for python 3.6 on my Ubuntu 14. By using below command :
sudo apt-get install python3-pip
Now to install pip3, it works very well. But after doing the installation, when I want to run it by using below command :
pip3 install packagename
When I try to install the new package, something strange occurs as below :
File "/usr/lib/python3/dist-packages/pkg_resources.py", line 1479, in <module> register_loader-type(importlib_bootstrap.SourceFileLoader, DefaultProvider)
AttributeError: module "importlib._bootstrap" has no attribute "SourceFileLoader"
It appears that I did nothing wrong but I am really unable to figure out the reason behind the above error.