#StackBounty: #python-3.x #pip How to determine where pip3 installs binaries/scripts for non-user installs?

Bounty: 150

I can determine where pip installs package binaries/scripts with pip3 install --user mypackage using:

$(python3 -m site --user-base)/bin

Is there a mechanism for determining where non-user binaries/scripts get installed (e.g. pip3 install mypackage) get installed?

Note that I’m only interested in where the binaries/scripts get installed and NOT where the library code gets installed.

Update: the objective is to ensure that that the PATH environment variable contains the folder where the binaries/scripts get installed as this has caused some issues in the past for me.

Get this bounty!!!

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.