FWIW, pip already groks a user specific install location at least on Linux and Mac.
pip3 install --user PACKAGENAME
And should happily install it in: $HOME/.local/lib/pythonx.y/site-packages/
or at least it used to. We could easily include pip3 in the embedded binary and users could use it to install a package locally. I believe that this path is even auto-added to the python path for each user but I would have to check it.
That might be easier than a full external python just to add a package that the embedded python is missing.
Last edited by KevinH; 03-26-2018 at 09:28 PM.
|