I would recommend avoiding Pythonista myself as it is abandonware but that has been possible for a long time via stash which is still actively developed
https://github.com/ywangd/stashthere are a few other python environments that support pip install