> > The directory you stated is indeed the default directory as stated here > > https://unix.stackexchange.com/questions/240037/why-did-pip-install-a-package-into-local-bin > What happens when you explicitly state the location where you want to > store the package? Have you tried it? > >> <https://mail.python.org/mailman/listinfo/python-list> > > I had not, but as I expected, setting prefix to my sandbox, I wound up with everything installed inside my sandbox. In addition, the pylint command (as well as others in $PWD/bin) still referenced #!/usr/local/bin/python3.9.
It's okay. I kind of thought I might be stuck. After all, I'm asking pip to do something for which it wasn't designed. I was hoping I'd missed something. (A --executable=/path/to/python/executable option would be nice.) Skip -- https://mail.python.org/mailman/listinfo/python-list