On Wed, Apr 29, 2009 at 8:17 AM,  <simon.k...@uni-jena.de> wrote:
>
> Hi David,
>
> On Apr 29, 2:01 pm, mabshoff <michael.absh...@mathematik.uni-
> dortmund.de> wrote:

...
>> [Errno 13] Permission denied: '/usr/lib/sagemath/tmp/list'
>
> Well, you need write permission to install optional spkgs. The error
> message is less than elegant in this case.
>

Thanks Michael.
Yes. I forgot I ran this from the global/apt-get sage install rather
than the local one.



>> > I'm looking for an easy way to determine the exact number of standard
>> > packages and optional packages for this talk I'm giving in RI in 2 days.
>>
>> Well, just look into spkg/[optional|experimental] to see what is
>> installed.
>
> Or try
> sage: optional_packages()
> sage: experimental_packages()
> sage: standard_packages()

Thanks Simon.

I want

len(optional_packages()[1])

but I get an error. It seems

sage: len(optional_packages()[int(1)])
41

 or

sage: len(flatten(list(optional_packages())))
41

is the right command (should int(1) really be needed?).

sage: len(flatten(list(standard_packages())))
91

For completeness:

sage: len(flatten(list(experimental_packages())))
59




>
> I don't know, however, if you run into the same permission issues.
>
> Cheers,
>     Simon
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to