How do I install a pip package globally instead of locally?

后端 未结 5 1686
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-12-08 01:25

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

5条回答
  •  我在风中等你
    2020-12-08 01:55

    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
    

提交回复
热议问题