![]() Why don’t you try sudo with the H flag? This should do the trick. Somehow it seems that pip (8.1.1) refuses to install a package globally if it exists locally.ĭisclaimer: No virtual environments were used or harmed during the experiments. The only way I was able to install a package globally was to first remove it and install it again after this. Please note that I would prefer a generic solution (that should work on Debian, OS X maybe even Windows), one that should be used on any platform so I don’t want to specify the destination myself.įor some weird reason it behaves like I already specified –user which in my case I didn’t. Requirement already satisfied (use -upgrade to upgrade): flake8 in. How can I force it to install globally (system level)? pip3 install flake8 ![]() 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. Question or problem about Python programming:
0 Comments
Leave a Reply. |