How to use pip over HTTP not HTTPS

3619 views
Skip to first unread message

ne...@halloleo.hailmail.net

unread,
Jul 22, 2014, 10:30:55 PM7/22/14
to python-v...@googlegroups.com
How can I use pip over HTTP, not HTTPS?

I am behind a corporate proxy which does not allow proper HTTPS access for python programs. HTTP requests work though.

Many thanks, Leo

Florian Apolloner

unread,
Jul 23, 2014, 3:16:49 AM7/23/14
to python-v...@googlegroups.com
On Wednesday, July 23, 2014 4:30:55 AM UTC+2, ne...@halloleo.hailmail.net wrote:
How can I use pip over HTTP, not HTTPS?

As soon as you touch PyPi you will need HTTPS, you have to fix your proxy, sry.

cheers,
Florian

ne...@halloleo.hailmail.net

unread,
Jul 23, 2014, 8:18:38 PM7/23/14
to python-v...@googlegroups.com
Is there somewhere a PyPi mirror which allows access via HTTP instead of HTTPS?

Many thanks,
Leo

Donald Stufft

unread,
Jul 23, 2014, 10:38:38 PM7/23/14
to python-v...@googlegroups.com, ne...@halloleo.hailmail.net
On July 23, 2014 at 8:18:42 PM, ne...@halloleo.hailmail.net (ne...@halloleo.hailmail.net) wrote:
> Is there somewhere a PyPi mirror which allows access via HTTP instead of
> HTTPS?
>

Not that i’m aware of.

--
Donald Stufft
PGP: 0x6E3CBCE93372DCFA // 7C6B 7C5D 5E2B 6356 A926 F04F 6E3C BCE9 3372 DCFA

ne...@halloleo.hailmail.net

unread,
Jul 23, 2014, 11:46:32 PM7/23/14
to python-v...@googlegroups.com, ne...@halloleo.hailmail.net
Thanks Donald.

Not sure how to get HTTPS going behind our NTLM proxy...

Leo

Jakub Vysoky

unread,
Jul 24, 2014, 12:28:03 AM7/24/14
to python-v...@googlegroups.com, ne...@halloleo.hailmail.net
is port 443 not allowed, or is it only about the authorization against
your firewall? if the latter i'd suggest this thing [1]. it is ages i
was in a need, but i it was very useful for me. i've used that even to
ssh out (with ssh listening on port 443).

[1] http://ntlmaps.sourceforge.net/

fingers crossed..
> --
> You received this message because you are subscribed to the Google Groups
> "virtualenv" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to python-virtual...@googlegroups.com.
> To post to this group, send email to python-v...@googlegroups.com.
> Visit this group at http://groups.google.com/group/python-virtualenv.
> For more options, visit https://groups.google.com/d/optout.



--
Jakub Vysoky

mob: +420 605 852 377
jab: jakub....@gmail.com
twit: https://twitter.com/kvbik

jps...@gmail.com

unread,
Jul 31, 2014, 11:11:27 AM7/31/14
to python-v...@googlegroups.com
Maybe you can get your proxy's SSL cert and use pip's --cert <path> option to install. That works for me.

Clem ent

unread,
Nov 10, 2017, 1:00:57 PM11/10/17
to virtualenv
yet another retarded pip feature

Collecting gevent-psycopg2
  Downloading gevent-psycopg2-0.0.3.tar.gz
    Complete output from command python setup.py egg_info:
    Downloading http://pypi.python.org/packages/source/d/distribute/distribute-0.6.24.tar.gz

these following pip options :
-index-url=http://pypi.python.org/simple/
--trusted-host pypi.python.org

can make me download distribute, but block psycopg2 installation
and psycopg2 installation needs distribute

Reply all
Reply to author
Forward
0 new messages