title: Whenever i try to install pip package for python3 using pip3 it gives a long error
body: <p>Linux mint 
  I'm having trouble install python3 packages using pip3 
  do i need to use "pip install packagename" i think normal pip install's for python2 and pip3 for python3<br>
  sudo pip3 install pyinstaller or sudo pip3 install pyodbc</p>
  
  <pre><code> ERROR: Command errored out with exit status 1:
     command: /usr/bin/python3 /usr/local/lib/python3.6/dist-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-7b88du29/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- 'setuptools&gt;=40.8.0' wheel
         cwd: None
    Complete output (39 lines):
    Traceback (most recent call last):
      File "/usr/lib/python3.6/runpy.py", line 193, in _run_module_as_main
        "__main__", mod_spec)
      File "/usr/lib/python3.6/runpy.py", line 85, in _run_code
        exec(code, run_globals)
      File "/usr/local/lib/python3.6/dist-packages/pip/__main__.py", line 23, in &lt;module&gt;
        from pip._internal.cli.main import main as _main  # isort:skip # noqa
      File "/usr/local/lib/python3.6/dist-packages/pip/_internal/cli/main.py", line 5, in &lt;module&gt;
        import locale
      File "/usr/lib/python3.6/locale.py", line 16, in &lt;module&gt;
        import re
      File "/usr/lib/python3.6/re.py", line 142, in &lt;module&gt;
        class RegexFlag(enum.IntFlag):
    AttributeError: module 'enum' has no attribute 'IntFlag'
    Error in sys.excepthook:
    Traceback (most recent call last):
      File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 53, in apport_excepthook
        if not enabled():
      File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 24, in enabled
        import re
      File "/usr/lib/python3.6/re.py", line 142, in &lt;module&gt;
        class RegexFlag(enum.IntFlag):
    AttributeError: module 'enum' has no attribute 'IntFlag'
  
    Original exception was:
    Traceback (most recent call last):
      File "/usr/lib/python3.6/runpy.py", line 193, in _run_module_as_main
        "__main__", mod_spec)
      File "/usr/lib/python3.6/runpy.py", line 85, in _run_code
        exec(code, run_globals)
      File "/usr/local/lib/python3.6/dist-packages/pip/__main__.py", line 23, in &lt;module&gt;
        from pip._internal.cli.main import main as _main  # isort:skip # noqa
      File "/usr/local/lib/python3.6/dist-packages/pip/_internal/cli/main.py", line 5, in &lt;module&gt;
        import locale
      File "/usr/lib/python3.6/locale.py", line 16, in &lt;module&gt;
        import re
      File "/usr/lib/python3.6/re.py", line 142, in &lt;module&gt;
        class RegexFlag(enum.IntFlag):
    AttributeError: module 'enum' has no attribute 'IntFlag'
    ----------------------------------------
  ERROR: Command errored out with exit status 1: /usr/bin/python3 /usr/local/lib/python3.6/dist-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-7b88du29/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- 'setuptools&gt;=40.8.0' wheel Check the logs for full command output.
  </code></pre>