is there an option to have get-pip.py installing pip without downloading from internet ? #2351
Comments
Not from itself. To avoid downloading from the internet try |
If you are OK with downloading the pip wheel manually, and doing something unsupported, you can use the pip wheel to install itself like this:
You can download other wheels (such as setuptools) and add them to the end of the command line if you want. It won't install from sources, though. I repeat - this isn't supported, so if it stops working or goes wrong, you get to debug and fix it yourself ;-) |
issue #2328 is the only one I care to the point of fixing it, because it's critical at the moment and I have no simpler workaround.
|
Thank you. That's nice. No network connection required and more universal and reliable than ensurepip. Maybe worth adding to the documentation. |
More reliable than ensurepip? |
I mean, |
Yes, you are right. But it is easier to distribute a updated pip wheel than wait for the Python bug to be fixed. |
Sure :) Hopefully the next 3.4 will have it fixed anyways, since 3.4.2 has pip 6.0.6 too! |
@dstufft would you consider the trick of invoking the wheel directly to be supported? (It's not like it'll ever stop working without breaking at least one of |
Well, it might stop working. The thing with Officially PEP 427 says:
Personally I'd say that I wouldn't document it as it certainly is an advanced usage and I believe it should be generally discouraged, but I'd say that is a -0 not a -1 so if you or someone else feels strongly about it I wouldn't be upset if we did document it. |
Nope, I'm happy enough to just leave it as a consequence of the way wheels work. It just strikes me as kind of neat that it does work... |
Thanks for python pip-6.0.6-py2.py3-none-any.whl/pip install --no-index pip-6.0.6-py2.py3-none-any.whl |
+1 |
all vesions of pip whl can be downloaded here |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
hello,
Is there a way to have python Scripts\get-pip.py to install pip (and setuptools) only from itself ?
(not going to internet)
(on python 3.3, windows)
The text was updated successfully, but these errors were encountered: