title: Upgrading python3.4 to python3.6 on ubuntu breaks pip
body: <p>I'm attempting to install python3.6 on my machine after I currently have python3.4. However, after installation trying to run <code>pip</code> under python3.6 gives me the error:</p>
  
  <pre><code>Traceback (most recent call last):
    File "pip3", line 7, in &lt;module&gt;
      from pip import main
    File "/usr/lib/python3/dist-packages/pip/__init__.py", line 59, in &lt;module&gt;
      from pip.log import logger
    File "/usr/lib/python3/dist-packages/pip/log.py", line 9, in &lt;module&gt;
      import colorama, pkg_resources
    File "/usr/lib/python3/dist-packages/pkg_resources.py", line 1520, in &lt;module&gt;
      register_loader_type(importlib_bootstrap.SourceFileLoader, DefaultProvider)
  AttributeError: module 'importlib._bootstrap' has no attribute 'SourceFileLoader'
  Error in sys.excepthook:
  Traceback (most recent call last):
    File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 63, in apport_excepthook
      from apport.fileutils import likely_packaged, get_recent_crashes
    File "/usr/lib/python3/dist-packages/apport/__init__.py", line 5, in &lt;module&gt;
      from apport.report import Report
    File "/usr/lib/python3/dist-packages/apport/report.py", line 30, in &lt;module&gt;
      import apport.fileutils
    File "/usr/lib/python3/dist-packages/apport/fileutils.py", line 23, in &lt;module&gt;
      from apport.packaging_impl import impl as packaging
    File "/usr/lib/python3/dist-packages/apport/packaging_impl.py", line 20, in &lt;module&gt;
      import apt
    File "/usr/lib/python3/dist-packages/apt/__init__.py", line 23, in &lt;module&gt;
      import apt_pkg
  ModuleNotFoundError: No module named 'apt_pkg'
  
  Original exception was:
  Traceback (most recent call last):
    File "pip3", line 7, in &lt;module&gt;
      from pip import main
    File "/usr/lib/python3/dist-packages/pip/__init__.py", line 59, in &lt;module&gt;
      from pip.log import logger
    File "/usr/lib/python3/dist-packages/pip/log.py", line 9, in &lt;module&gt;
      import colorama, pkg_resources
    File "/usr/lib/python3/dist-packages/pkg_resources.py", line 1520, in &lt;module&gt;
      register_loader_type(importlib_bootstrap.SourceFileLoader, DefaultProvider)
  AttributeError: module 'importlib._bootstrap' has no attribute 'SourceFileLoader'
  </code></pre>
  
  <p>There were several comments on the internet about that error being encountered, However, none of them contain any actual resolution suggestion. Does anyone have any idea how I could fix this?</p>