Cannot fetch index base URL https://pypi.python.org/simple/

1,672 views
Skip to first unread message

Андрей Ширшов

unread,
Jul 26, 2014, 8:57:45 AM7/26/14
to sage-...@googlegroups.com
Hi!

New button -> console.term

In console:

sage -sh
pypy install
--user xhtml2pdf
Downloading/unpacking xhtml2pdf
 
Cannot fetch index base URL https://pypi.python.org/simple/
 
Could not find any downloads that satisfy the requirement xhtml2pdf

Andrei.

Harald Schilly

unread,
Jul 26, 2014, 10:18:28 AM7/26/14
to sage-...@googlegroups.com
Hi, currently requests to almost all external URLs are blocked. AFAIK,
the IP of pypi changes all the time and that's why it is blocked right
now.

A general idea - for SMC, not you :-) - could be to mirror pypi
internally, such that there are
no external requests necessary.

Harald
> --
> You received this message because you are subscribed to the Google Groups
> "sage-cloud" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to sage-cloud+...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/sage-cloud/d13b32a9-c9e3-400b-afa2-e49204ea4148%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

William Stein

unread,
Jul 26, 2014, 1:13:44 PM7/26/14
to sage-cloud
On Sat, Jul 26, 2014 at 7:17 AM, Harald Schilly
<harald....@gmail.com> wrote:
> Hi, currently requests to almost all external URLs are blocked. AFAIK,
> the IP of pypi changes all the time and that's why it is blocked right
> now.
>
> A general idea - for SMC, not you :-) - could be to mirror pypi
> internally, such that there are
> no external requests necessary.
>

Otherwise write to me to get your project unblocked.

The default blocking isn't temporary -- I can't see it ever going
away, given how the internet works, where botnet=easy money source,
and projects without network blocked = trivial botnet.

Yes, I need to setup a pypi mirror. I did try to unblock pypi's ip,
but it changes. Ugh.

-- William

> Harald
>
>
> On Sat, Jul 26, 2014 at 2:57 PM, Андрей Ширшов <sh.an...@gmail.com> wrote:
>> Hi!
>>
>> New button -> console.term
>>
>> In console:
>>
>> sage -sh
>> pypy install --user xhtml2pdf
>> Downloading/unpacking xhtml2pdf
>> Cannot fetch index base URL https://pypi.python.org/simple/
>> Could not find any downloads that satisfy the requirement xhtml2pdf
>>
>> Andrei.
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "sage-cloud" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to sage-cloud+...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/sage-cloud/d13b32a9-c9e3-400b-afa2-e49204ea4148%40googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
>
> --
> You received this message because you are subscribed to the Google Groups "sage-cloud" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to sage-cloud+...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/sage-cloud/CAGG4CB7y9iYuR3PZGh0vJs4gbcUqZ6tqZ7UXZRERodcqcvWN8g%40mail.gmail.com.
> For more options, visit https://groups.google.com/d/optout.



--
William Stein
Professor of Mathematics
University of Washington
http://wstein.org

Андрей Ширшов

unread,
Jul 27, 2014, 1:43:35 AM7/27/14
to sage-...@googlegroups.com
I tried to download this package, than upload it in SMC and install... It asked me to download another package and so on...
To be shortly my project id is 35d80ae0-0682-497a-98e2-6b315bdb08b8
Thanks,
Andrei.


суббота, 26 июля 2014 г., 21:13:44 UTC+4 пользователь William Stein написал:

singlets

unread,
Sep 14, 2014, 12:12:55 PM9/14/14
to sage-...@googlegroups.com
Dredging up an old thread...

I'm trying to install the python ggplot package to a new project. I have ggplot in a project that existed before the network clamp, and can copy it to other projects for now.

I'm thinking, though, a site-wide ggplot install might be worthwhile, esp. for pandas/IPython notebook users on SMC.

BTW, 'pip ggplot' is the exact example in the SMC faq https://github.com/sagemath/cloud/wiki/FAQ#pip

This entry should probably be revised to reflect the network block. Don't know what you're thinking is re: a PIPY mirror at this point.

Thanks,
Steve

Harald Schilly

unread,
Sep 14, 2014, 12:49:56 PM9/14/14
to sage-...@googlegroups.com
On Sun, Sep 14, 2014 at 6:12 PM, singlets <ssin...@coe.edu> wrote:
>
> I'm thinking, though, a site-wide ggplot install might be worthwhile


Yes, I think others and me may have already brought up installing
ggplot for everyone. It's a good idea!

The problem with pypi is that they use an "intelligent" global system
of servers to mirror the data and distribute the network load. This
means, the IP adresses change all the time and hence there is no easy
way to whitelist all of them.

Running a mirror of pypi would mean that one has to specify the mirror
URL, which is also a bad out-of-the-box experience.

-- Harald
Reply all
Reply to author
Forward
0 new messages