-
|
I am a newbie to python and Pythonista so please take it easy on me. I need to use pip to install 3rd party libraries/modules. “Pip” isn’t recognized, so I have read postings on this such as https://gist.github.com/boozook/d693415ac0ec0291181241ae733ebc75, using StaSh and ensurepip, and it doesn’t make sense to me. Surely pip should be a standard part of the Pythonista environment? Can the community help with a simple solution, or correct my stupidity? Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 9 comments 22 replies
-
|
I'm using Pythonista 3 pip configuration tool. Installation: import requests as r; exec(r.get('https://tinyurl.com/Setup-pipTerminal').content)To launch the pip terminal, execute This tool cannot install packages that meet the following conditions.
To check if a package is available, do the following:
To update pip itself, simply run the command: The command recommended by the pip's warning is unavailable in Pythonista. |
Beta Was this translation helpful? Give feedback.
-
|
Wonderful! It all works. Appreciated @qqfunc |
Beta Was this translation helpful? Give feedback.
-
|
Small issue, which I assume is due to initialization scripts (?) - the next time I opened Pythonista (which I do love BTW), pip is unknown (again). |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
|
Thanks heaps @qqfunc ! That is a lucid explanation of the issue. Very greatly appreciated. Your explanation should be a standard part of the Welcome.md text as reckon that I won’t be alone on this issue. while I have run Python on a PC, this is my first go at using the IOS environment, as I wanted a very portable iPad anywhere opton. PipTerminal.py (which I had spotted but was a tad scared to run) - yep, perfect! |
Beta Was this translation helpful? Give feedback.
-
|
I think there possibly should be uv instead of pip |
Beta Was this translation helpful? Give feedback.
-
pipTerminal does not work on pythonista 3.5 |
Beta Was this translation helpful? Give feedback.
-
|
Merged CrossDarkrix/Pythonista3_pip_Configration_Tool#1 (comment) |
Beta Was this translation helpful? Give feedback.
-
|
StaSh for pythonista 3.4..3.5 WIP PR (with common pip support) Install to test using this commandimport requests as r; exec(r.get('https://gist.githubusercontent.com/o-murphy/ad7bcee38551d24ec172032792a2bf8f/raw/158346c958601cc29a9cc8070d6e501111562e52/get-stash-py3.10-beta.py').content) |
Beta Was this translation helpful? Give feedback.

I'm using Pythonista 3 pip configuration tool.
Installation:
To launch the pip terminal, execute
pipTerminal.pyin "This iPhone / iPad".This tool cannot install packages that meet the following conditions.
.tar.gzfile: This tool requires build distributions with wheel format.whl.To check if a package is available, do the following:
<Package Name>-<Version>-py3-none-any.whl.