I am trying to install flake8 package using pip3 and it seems that it refuses to install because is already installed in one local location.
How can I force it to i
Are you using virtualenv? If yes, deactivate the virtualenv. If you are not using, it is already installed widely (system level). Try to upgrade package.
pip install flake8 --upgrade