Re: [sage-support] Apparently Sage lost Python

2020-04-09 Thread Dima Pasechnik
On Thu, Apr 9, 2020 at 9:43 PM Anita Rojas  wrote:
>
> Thanks. It did work! It has recovered almost all his previous capabilities.
> Although, I still do not know how to add the SmallGroup Data base directly to 
> sage.
>
> Currently it is working by doing, for instance:
> g=gap.SmallGroup(6,2)
>
> And before this Catalina's upgrade I used to write just
> g=SmallGroup(6,2)

I believe this has been removed many Sage versions ago. You can still
just define it yourself:

sage: def SmallGroup(*args):
: return libgap.SmallGroup(*args)
sage: SmallGroup(6,2)


(PS. don't use gap.* prefix, use libgap.* prefix, as above, as gap.*
functions are deprecated - libgap.*
provides a much faster adn more reliable interface)



>
> I am deeply grateful to everyone who helped me, and to SAGE developers.
>
> Best,
>
> (I hope MacOS does not mess with my running softwares again...)
>
> On Wed, Apr 8, 2020 at 7:37 PM Samuel Lelièvre  
> wrote:
>>
>> Forgot one step. Run this:
>>
>> sage -i gap_packages
>> After that, the steps indicated earlier should work.
>>
>> --
>> You received this message because you are subscribed to a topic in the 
>> Google Groups "sage-support" group.
>> To unsubscribe from this topic, visit 
>> https://groups.google.com/d/topic/sage-support/NletjrinNhM/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to 
>> sage-support+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/sage-support/CAEcArF18yaZKbDR-W23%2BSn21mZUSf9uB8MWc6sm1c0Wr7EOcDA%40mail.gmail.com.
>
>
>
> --
> Anita M. Rojas
> Departamento de Matemáticas
> Facultad de Ciencias
> Universidad de Chile
>
> https://sites.google.com/a/u.uchile.cl/mat-ciencias-prof-anita-rojas/
>
> --
> You received this message because you are subscribed to the Google Groups 
> "sage-support" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to sage-support+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/sage-support/CAFV-Ve0Ow0fEL_ZprWX-RYtogAM22iPZrjfPvM4_eUUEu%2BHBjg%40mail.gmail.com.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/CAAWYfq0ZjnL8XimSonm-Zy_iyPLDAU4cTfN_r-UhJyeOzFWfiQ%40mail.gmail.com.


Re: [sage-support] Apparently Sage lost Python

2020-04-09 Thread Anita Rojas
Thanks. It did work! It has recovered almost all his previous capabilities.
Although, I still do not know how to add the SmallGroup Data base
directly to sage.

Currently it is working by doing, for instance:
g=gap.SmallGroup(6,2)

And before this Catalina's upgrade I used to write just
g=SmallGroup(6,2)

I am deeply grateful to everyone who helped me, and to SAGE developers.

Best,

(I hope MacOS does not mess with my running softwares again...)

On Wed, Apr 8, 2020 at 7:37 PM Samuel Lelièvre 
wrote:

> Forgot one step. Run this:
>
> sage -i gap_packages
> After that, the steps indicated earlier should work.
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "sage-support" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/sage-support/NletjrinNhM/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> sage-support+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/sage-support/CAEcArF18yaZKbDR-W23%2BSn21mZUSf9uB8MWc6sm1c0Wr7EOcDA%40mail.gmail.com
> .
>


-- 
Anita M. Rojas
Departamento de Matemáticas
Facultad de Ciencias
Universidad de Chile

https://sites.google.com/a/u.uchile.cl/mat-ciencias-prof-anita-rojas/

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/CAFV-Ve0Ow0fEL_ZprWX-RYtogAM22iPZrjfPvM4_eUUEu%2BHBjg%40mail.gmail.com.


Re: [sage-support] Apparently Sage lost Python

2020-04-08 Thread Samuel Lelièvre
Forgot one step. Run this:

sage -i gap_packages
After that, the steps indicated earlier should work.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/CAEcArF18yaZKbDR-W23%2BSn21mZUSf9uB8MWc6sm1c0Wr7EOcDA%40mail.gmail.com.


Re: [sage-support] Apparently Sage lost Python

2020-04-08 Thread Anita Rojas
Thanks a lot. But I also got:

sage: libgap.eval('LoadPackage("PackageManager")')

fail

 Should I add (or install) some gap package inside SageMath folder?

Sorry

On Wed, Apr 8, 2020 at 5:43 PM slelievre  wrote:

> Wed 2020-04-08 19:02:33 UTC, Anita Rojas:
> >
> > Now I have trouble calling GAP. I used to do
> >
> > sage: libgap.eval('LoadPackage("kbmag")')
> >
> > but now I got
> >
> > fail
>
> The following says the `kbmag` GAP package cannot be loaded.
>
> sage: libgap.eval('LoadPackage("kbmag")')
> fail
>
> It fails to load because it is not installed in Sage's GAP.
>
> Thankfully, installing packages has become a pleasant task
> thanks to Michael Torpey's `PackageManager` GAP package.
>
> Load the `PackageManager` GAP package, whose job
> is to help you install further packages:
>
> sage: libgap.eval('LoadPackage("PackageManager")')
> true
>
> and let it install `kbmag` with this command:
>
> sage: libgap.eval('InstallPackage("kbmag")')
> true
>
> Now loading `kbmag` works:
>
> sage: libgap.eval('LoadPackage("kbmag")')
> true
>
> The `kbmag` package is now loaded, ready to
> try and make rewriting systems confluent.
>
> Further reading:
>
> - kbmag GAP package
>   Knuth-Bendix on Monoids and Automatic Groups
>   by Derek Holt
>   home: https://gap-packages.github.io/kbmag/
>   repo: https://github.com/gap-packages/kbmag
>   docs: https://gap-packages.github.io/kbmag/doc/chap0.html
>
> - PackageManager GAP package --- GAP Package Manager
>   Easily download and install GAP packages
>   by Michael Torpey
>   home: https://gap-packages.github.io/PackageManager/
>   repo: https://github.com/gap-packages/PackageManager
>   docs: https://gap-packages.github.io/PackageManager/doc/chap0.html
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "sage-support" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/sage-support/NletjrinNhM/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> sage-support+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/sage-support/a8bb010a-00c7-4801-b656-355ff54d1aca%40googlegroups.com
> 
> .
>


-- 
Anita M. Rojas
Departamento de Matemáticas
Facultad de Ciencias
Universidad de Chile

https://sites.google.com/a/u.uchile.cl/mat-ciencias-prof-anita-rojas/

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/CAFV-Ve0PxK9idizLHNY-%3Dc8rD-12rKJaadH7eycOFYkQ%2BrdmiQ%40mail.gmail.com.


Re: [sage-support] Apparently Sage lost Python

2020-04-08 Thread slelievre
Wed 2020-04-08 19:02:33 UTC, Anita Rojas:
>
> Now I have trouble calling GAP. I used to do
>
> sage: libgap.eval('LoadPackage("kbmag")')
>
> but now I got 
>
> fail

The following says the `kbmag` GAP package cannot be loaded.

sage: libgap.eval('LoadPackage("kbmag")')
fail

It fails to load because it is not installed in Sage's GAP.

Thankfully, installing packages has become a pleasant task
thanks to Michael Torpey's `PackageManager` GAP package.

Load the `PackageManager` GAP package, whose job
is to help you install further packages:

sage: libgap.eval('LoadPackage("PackageManager")')
true

and let it install `kbmag` with this command:

sage: libgap.eval('InstallPackage("kbmag")')
true

Now loading `kbmag` works:

sage: libgap.eval('LoadPackage("kbmag")')
true

The `kbmag` package is now loaded, ready to
try and make rewriting systems confluent.

Further reading:

- kbmag GAP package
  Knuth-Bendix on Monoids and Automatic Groups
  by Derek Holt
  home: https://gap-packages.github.io/kbmag/
  repo: https://github.com/gap-packages/kbmag
  docs: https://gap-packages.github.io/kbmag/doc/chap0.html

- PackageManager GAP package --- GAP Package Manager
  Easily download and install GAP packages
  by Michael Torpey
  home: https://gap-packages.github.io/PackageManager/
  repo: https://github.com/gap-packages/PackageManager
  docs: https://gap-packages.github.io/PackageManager/doc/chap0.html

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/a8bb010a-00c7-4801-b656-355ff54d1aca%40googlegroups.com.


Re: [sage-support] Apparently Sage lost Python

2020-04-08 Thread Anita Rojas
This worked! Thanks
Now I have troubles calling gap. I used to do

sage:  libgap.eval('LoadPackage("kbmag")')

but now I got


fail


On Wed, Apr 8, 2020 at 1:25 PM slelievre  wrote:

> Have you tried running
>
>
> THING="~/Applications/SageMath/"
>
> xattr -rd com.apple.quarantine $THING
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "sage-support" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/sage-support/NletjrinNhM/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> sage-support+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/sage-support/aba1daec-0585-4518-bb37-07b99f83f966%40googlegroups.com
> 
> .
>


-- 
Anita M. Rojas
Departamento de Matemáticas
Facultad de Ciencias
Universidad de Chile

https://sites.google.com/a/u.uchile.cl/mat-ciencias-prof-anita-rojas/

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/CAFV-Ve3adEbg%3D0w6voWif%2ByAB7qjfRh5w%3DLy_%2Bv%2B46-E90N6aw%40mail.gmail.com.


Re: [sage-support] Apparently Sage lost Python

2020-04-08 Thread slelievre
Have you tried running


THING="~/Applications/SageMath/"

xattr -rd com.apple.quarantine $THING

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/aba1daec-0585-4518-bb37-07b99f83f966%40googlegroups.com.


Re: [sage-support] Apparently Sage lost Python

2020-04-07 Thread Anita Rojas
Hi. Thanks. Sage 9.0 is working on my mac, still with some issues.

I have to run in a terminal:


sudo spctl --master-disable
~/Applications/SageMath/sage -n jupyter

(without "sudo..." it does not open because some archives can not be
checked)

My older routines don't work. They use GAP and I got the message:


*“gap-bin” no se puede abrir porque no se puede verificar el desarrollador.*
*macOS no puede verificar si esta app está libre de software malicioso.*

(Same as before: gap-bin can not be executed because it can not be verified
and it could be a malware)

I can not even use the line G=SmallGroup(2,1)

I thought it was a problem of security and I gave full access to disk to
sage, I work under this "sudodisable", but still..

Well. Thanks again for all your support. I am sure the main problem is that
I am barely qualified in anything more than a user level of mac.

Best,
Anita


On Mon, Apr 6, 2020 at 10:03 PM Dima Pasechnik  wrote:

> On Tue, Apr 7, 2020 at 2:37 AM rana-aere  wrote:
> >
> > Dear Dima,
> >
> > I found something strange in this error message.
> > 
> > anirojas@MacBook-de-Anita ~ % /Applications/SageMath/sage
> --notebook=export --list
> >
> > File "/Applications/SageMath/local/bin/sagenb-export"
> >
> > File
> "/Applications/SageMath/local/lib/python3.7/site-packages/sagenb_export/cmdline.py",
> >
> > File
> "/Applications/SageMath/local/lib/python3.7/site-packages/sagenb_export/actions.py",
> >
> > File
> "/Applications/SageMath/local/lib/python3.7/site-packages/sagenb_export/actions.py",
> >
> > File
> "/Applications/SageMath/local/lib/python3.7/site-packages/sagenb_export/sagenb_reader.py"
> >
> >
> > On MacOS, normally, we see
> >
> > -
> >
> > /Applications/SageMath-9.0.app/sage --notebook=export --list
> >
> >
> /Applications/SageMath-9.0.app/Contents/Resources/sage/local/lib/python3.7/site-packages/sagenb_export/...
> >
> This might be due to a different binary Sage package installed (.app
> vs non-app, packaged as a tar file)
>
> >
> >
> > I do not understand why "Contents/Resources/sage/" disappeared.
> >
> > More strangely, functions defined in these files are actually executed.
> >
> > Is it possible some problem in setting PATH leads to python3 bundled
> with Catalina controls
> >
> > Sagemath instead of python3.7 included in Sagemath?
> >
> the recent Sage 9.1 betas have ability to use system Python3 rarher
> than build Python.
> But then there would not be "SageMath" in some paths at all.
>
>
> >
> > I do not have Catalina installed. So, I cannot verify anything on it.
> >
> > I only heard Catalina now has python3 not python2.
> >
> > The default shell changed to zsh instead of bash.
> >
> > --
> > You received this message because you are subscribed to the Google
> Groups "sage-support" group.
> > To unsubscribe from this group and stop receiving emails from it, send
> an email to sage-support+unsubscr...@googlegroups.com.
> > To view this discussion on the web visit
> https://groups.google.com/d/msgid/sage-support/bf88b236-c428-4d8a-80c3-0fced449a0e3%40googlegroups.com
> .
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "sage-support" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/sage-support/NletjrinNhM/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> sage-support+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/sage-support/CAAWYfq2cPK1m2bZnOEYVAFBL23X63mQ48gBNxq8kFUKK695t%2Bw%40mail.gmail.com
> .
>


-- 
Anita M. Rojas
Departamento de Matemáticas
Facultad de Ciencias
Universidad de Chile

https://sites.google.com/a/u.uchile.cl/mat-ciencias-prof-anita-rojas/

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/CAFV-Ve00VniNu3pcmo6qpXEoqh62sJMF_6JxQYaVhU9cEZvoBg%40mail.gmail.com.


Re: [sage-support] Apparently Sage lost Python

2020-04-06 Thread Dima Pasechnik
On Tue, Apr 7, 2020 at 2:37 AM rana-aere  wrote:
>
> Dear Dima,
>
> I found something strange in this error message.
> 
> anirojas@MacBook-de-Anita ~ % /Applications/SageMath/sage --notebook=export 
> --list
>
> File "/Applications/SageMath/local/bin/sagenb-export"
>
> File 
> "/Applications/SageMath/local/lib/python3.7/site-packages/sagenb_export/cmdline.py",
>
> File 
> "/Applications/SageMath/local/lib/python3.7/site-packages/sagenb_export/actions.py",
>
> File 
> "/Applications/SageMath/local/lib/python3.7/site-packages/sagenb_export/actions.py",
>
> File 
> "/Applications/SageMath/local/lib/python3.7/site-packages/sagenb_export/sagenb_reader.py"
>
>
> On MacOS, normally, we see
>
> -
>
> /Applications/SageMath-9.0.app/sage --notebook=export --list
>
> /Applications/SageMath-9.0.app/Contents/Resources/sage/local/lib/python3.7/site-packages/sagenb_export/...
>
This might be due to a different binary Sage package installed (.app
vs non-app, packaged as a tar file)

>
>
> I do not understand why "Contents/Resources/sage/" disappeared.
>
> More strangely, functions defined in these files are actually executed.
>
> Is it possible some problem in setting PATH leads to python3 bundled with 
> Catalina controls
>
> Sagemath instead of python3.7 included in Sagemath?
>
the recent Sage 9.1 betas have ability to use system Python3 rarher
than build Python.
But then there would not be "SageMath" in some paths at all.


>
> I do not have Catalina installed. So, I cannot verify anything on it.
>
> I only heard Catalina now has python3 not python2.
>
> The default shell changed to zsh instead of bash.
>
> --
> You received this message because you are subscribed to the Google Groups 
> "sage-support" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to sage-support+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/sage-support/bf88b236-c428-4d8a-80c3-0fced449a0e3%40googlegroups.com.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/CAAWYfq2cPK1m2bZnOEYVAFBL23X63mQ48gBNxq8kFUKK695t%2Bw%40mail.gmail.com.


Re: [sage-support] Apparently Sage lost Python

2020-04-06 Thread rana-aere
Dear Dima,

I found something strange in this error message.

anirojas@MacBook-de-Anita ~ % /Applications/SageMath/sage --notebook=export 
--list

File "/Applications/SageMath/local/bin/sagenb-export"

File 
"/Applications/SageMath/local/lib/python3.7/site-packages/sagenb_export/cmdline.py",

File 
"/Applications/SageMath/local/lib/python3.7/site-packages/sagenb_export/actions.py",

File 
"/Applications/SageMath/local/lib/python3.7/site-packages/sagenb_export/actions.py",

File 
"/Applications/SageMath/local/lib/python3.7/site-packages/sagenb_export/sagenb_reader.py"


On MacOS, normally, we see

-

/Applications/SageMath-9.0.app/sage --notebook=export --list

/Applications/SageMath-9.0.app/Contents/Resources/sage/local/lib/python3.7/site-packages/sagenb_export/...



I do not understand why "Contents/Resources/sage/" disappeared.

More strangely, functions defined in these files are actually executed.

Is it possible some problem in setting PATH leads to python3 bundled with 
Catalina controls

Sagemath instead of python3.7 included in Sagemath?


I do not have Catalina installed. So, I cannot verify anything on it.

I only heard Catalina now has python3 not python2.

The default shell changed to zsh instead of bash.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/bf88b236-c428-4d8a-80c3-0fced449a0e3%40googlegroups.com.


Re: [sage-support] Apparently Sage lost Python

2020-04-06 Thread Anita Rojas
Not at all, please! Thanks for your support. I will come back to these line
of messages once again in (hopefully) near future.
Best,
Anita

On Mon, Apr 6, 2020 at 11:00 AM rana-aere  wrote:

> I am sorry for I might have given you extra work, which produced nothing.
> I agree it is not a good time to use SageMath on Catalina.
>
>
> 2020年4月6日月曜日 3時14分47秒 UTC+9 Anita Rojas:
>>
>> Thanks a lot for your support and patience but I gave up. I can not
>> succeed. There are too many difficulties that I am not going to be able of
>> solving: My older routines lost, my files with computations and examples. I
>> do not know how to recover them. Perhaps I will try again in next future,
>> with less anxiety and more energy.
>> Thanks again.
>> Best regards
>>
>> On Sat, Apr 4, 2020 at 12:13 AM Dima Pasechnik  wrote:
>>
>>>
>>>
>>> On Sat, 4 Apr 2020, 11:11 Anita Rojas,  wrote:
>>>
 Hi! I am far away of being a OSX guru, but I managed to get my SAGE
 working.

 It use to work properly but now I got the following message:


 Error: Tried to use Sage's Python which was not yet installed.

 If this was called from an spkg-install script for another

 package you should add $(PYTHON) as a dependency in

 build/pkgs//dependencies


 I looked for solutions but I could not find answers. I would appreciate
 help.

>>>
>>> Probably a MacOS update broke your Sage installation.
>>>
>>> If so, reinstalling might be the only  known way to fix this.
>>>
>>>
 Best,

 Anita

 --
 You received this message because you are subscribed to the Google
 Groups "sage-support" group.
 To unsubscribe from this group and stop receiving emails from it, send
 an email to sage-s...@googlegroups.com.
 To view this discussion on the web visit
 https://groups.google.com/d/msgid/sage-support/e7c84768-c030-425a-b78b-aa1a378e757e%40googlegroups.com
 
 .

>>> --
>>> You received this message because you are subscribed to a topic in the
>>> Google Groups "sage-support" group.
>>> To unsubscribe from this topic, visit
>>> https://groups.google.com/d/topic/sage-support/NletjrinNhM/unsubscribe.
>>> To unsubscribe from this group and all its topics, send an email to
>>> sage-s...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/sage-support/CAAWYfq0h61z4n-xV2yT6-CB_-izF5ZkOtF%3DXUu%2Bq_h%2BDekYCZw%40mail.gmail.com
>>> 
>>> .
>>>
>>
>>
>> --
>> Anita M. Rojas
>> Departamento de Matemáticas
>> Facultad de Ciencias
>> Universidad de Chile
>>
>> https://sites.google.com/a/u.uchile.cl/mat-ciencias-prof-anita-rojas/
>>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "sage-support" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/sage-support/NletjrinNhM/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> sage-support+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/sage-support/e2a51b32-7a5b-44e6-b56c-a17aea65113f%40googlegroups.com
> 
> .
>


-- 
Anita M. Rojas
Departamento de Matemáticas
Facultad de Ciencias
Universidad de Chile

https://sites.google.com/a/u.uchile.cl/mat-ciencias-prof-anita-rojas/

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/CAFV-Ve0naGXjJgagHw1d%2BRLMG7zBNu%3DJHRQHmSaTcnETaV-T2A%40mail.gmail.com.


Re: [sage-support] Apparently Sage lost Python

2020-04-06 Thread rana-aere
I am sorry for I might have given you extra work, which produced nothing.
I agree it is not a good time to use SageMath on Catalina.


2020年4月6日月曜日 3時14分47秒 UTC+9 Anita Rojas:
>
> Thanks a lot for your support and patience but I gave up. I can not 
> succeed. There are too many difficulties that I am not going to be able of 
> solving: My older routines lost, my files with computations and examples. I 
> do not know how to recover them. Perhaps I will try again in next future, 
> with less anxiety and more energy.
> Thanks again.
> Best regards
>
> On Sat, Apr 4, 2020 at 12:13 AM Dima Pasechnik  > wrote:
>
>>
>>
>> On Sat, 4 Apr 2020, 11:11 Anita Rojas, > 
>> wrote:
>>
>>> Hi! I am far away of being a OSX guru, but I managed to get my SAGE 
>>> working. 
>>>
>>> It use to work properly but now I got the following message:
>>>
>>>
>>> Error: Tried to use Sage's Python which was not yet installed.
>>>
>>> If this was called from an spkg-install script for another 
>>>
>>> package you should add $(PYTHON) as a dependency in 
>>>
>>> build/pkgs//dependencies
>>>
>>>
>>> I looked for solutions but I could not find answers. I would appreciate 
>>> help.
>>>
>>
>> Probably a MacOS update broke your Sage installation.
>>
>> If so, reinstalling might be the only  known way to fix this.
>>
>>
>>> Best,
>>>
>>> Anita
>>>
>>> -- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "sage-support" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to sage-s...@googlegroups.com .
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/sage-support/e7c84768-c030-425a-b78b-aa1a378e757e%40googlegroups.com
>>>  
>>> 
>>> .
>>>
>> -- 
>> You received this message because you are subscribed to a topic in the 
>> Google Groups "sage-support" group.
>> To unsubscribe from this topic, visit 
>> https://groups.google.com/d/topic/sage-support/NletjrinNhM/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to 
>> sage-s...@googlegroups.com .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/sage-support/CAAWYfq0h61z4n-xV2yT6-CB_-izF5ZkOtF%3DXUu%2Bq_h%2BDekYCZw%40mail.gmail.com
>>  
>> 
>> .
>>
>
>
> -- 
> Anita M. Rojas
> Departamento de Matemáticas
> Facultad de Ciencias
> Universidad de Chile
>
> https://sites.google.com/a/u.uchile.cl/mat-ciencias-prof-anita-rojas/
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/e2a51b32-7a5b-44e6-b56c-a17aea65113f%40googlegroups.com.


Re: [sage-support] Apparently Sage lost Python

2020-04-05 Thread Anita Rojas
Thanks a lot for your support and patience but I gave up. I can not
succeed. There are too many difficulties that I am not going to be able of
solving: My older routines lost, my files with computations and examples. I
do not know how to recover them. Perhaps I will try again in next future,
with less anxiety and more energy.
Thanks again.
Best regards

On Sat, Apr 4, 2020 at 12:13 AM Dima Pasechnik  wrote:

>
>
> On Sat, 4 Apr 2020, 11:11 Anita Rojas,  wrote:
>
>> Hi! I am far away of being a OSX guru, but I managed to get my SAGE
>> working.
>>
>> It use to work properly but now I got the following message:
>>
>>
>> Error: Tried to use Sage's Python which was not yet installed.
>>
>> If this was called from an spkg-install script for another
>>
>> package you should add $(PYTHON) as a dependency in
>>
>> build/pkgs//dependencies
>>
>>
>> I looked for solutions but I could not find answers. I would appreciate
>> help.
>>
>
> Probably a MacOS update broke your Sage installation.
>
> If so, reinstalling might be the only  known way to fix this.
>
>
>> Best,
>>
>> Anita
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "sage-support" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to sage-support+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/sage-support/e7c84768-c030-425a-b78b-aa1a378e757e%40googlegroups.com
>> 
>> .
>>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "sage-support" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/sage-support/NletjrinNhM/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> sage-support+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/sage-support/CAAWYfq0h61z4n-xV2yT6-CB_-izF5ZkOtF%3DXUu%2Bq_h%2BDekYCZw%40mail.gmail.com
> 
> .
>


-- 
Anita M. Rojas
Departamento de Matemáticas
Facultad de Ciencias
Universidad de Chile

https://sites.google.com/a/u.uchile.cl/mat-ciencias-prof-anita-rojas/

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/CAFV-Ve0whOc4CpDdyQO09hvLD0sErp%3DUCByOdVH86xS-4Bq8Lw%40mail.gmail.com.


Re: [sage-support] Apparently Sage lost Python

2020-04-05 Thread Anita Rojas
Thanks. I did it and I got no ID. The message was:
---

anirojas@MacBook-de-Anita ~ % /Applications/SageMath/sage --notebook=export
--list

Unique ID   | Notebook Name

---

Traceback (most recent call last):

  File "/Applications/SageMath/local/bin/sagenb-export", line 11, in


load_entry_point('sagenb-export==3.3', 'console_scripts',
'sagenb-export')()

  File
"/Applications/SageMath/local/lib/python3.7/site-packages/sagenb_export/cmdline.py",
line 49, in main

action_list(dot_sage)

  File
"/Applications/SageMath/local/lib/python3.7/site-packages/sagenb_export/actions.py",
line 14, in action_list

for notebook in NotebookSageNB.all_iter(dot_sage)

  File
"/Applications/SageMath/local/lib/python3.7/site-packages/sagenb_export/actions.py",
line 14, in 

for notebook in NotebookSageNB.all_iter(dot_sage)

  File
"/Applications/SageMath/local/lib/python3.7/site-packages/sagenb_export/sagenb_reader.py",
line 217, in sort_key

return (self.conf['owner'], self.conf['id_number'])

KeyError: 'owner'

On Sun, Apr 5, 2020 at 11:31 AM rana-aere  wrote:

> I guess it is about the page of title "Home".
> We do not have access to sagenb notebooks.
> Instead we have access to jupyter notebooks.
> For the current situation, you do not have any noebooks.
> That is why no notebook is listed in the page.
> You can try "New" button at the upper right corner below the grey
> horizontal line.
> If you play with some little program in the new notebook,
> it might be a good chance to test upgrading sagenb notebooks.
>
> This "upgrade" is only possible from command line.
> The two relevant "sage --notebook=export --list" and "sage
> --notebook=export ipynb TARGETFILENAME admin:NN". The former prints a
> list of sagenb notebooks.
> An example is here.
>
> ```
>
> Unique ID   | Notebook Name
>
>
> ---
>
> admin:0 | Save 30% by Sagemath  (~/Manuals/SageTutorial9.0.pdf)
>
> admin:1 | "Rabbit's population" $F_n$ is like $((1+\sqrt{5})/2)^n$!
>
> admin:2 | Integral #1: $f(x)=\frac{1}{\sqrt{1-x^2}}$, $|x| < 1$.
>
> admin:3 | Integral #2: why is f(x) = x * sqrt(1-x^2), (x in
> [-1,1]) easier?
>
> admin:4 | Oval body & `tail' of @rana-aerea
>
> admin:5 | Calculus of log|x|, x > 0.
>
> admin:6 | mycalc
>
> admin:7 | mycalc
>
> ```
>
>
> The other command upgrades the notebook.
>
> For example,
>
> "sage --notebook=export ipynb mycalc-a admin:6"
>
> converts the notebook with title "mycalc" with the unique id "admin:6".
>
> It is possible some notebooks of yours have unique id of the form "guest:0"
>
> or some other "user name". I guess
>
> "sage --notebook=export ipynb guestnotebook guest:0"
>
> also works.
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "sage-support" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/sage-support/NletjrinNhM/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> sage-support+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/sage-support/d2d8cae8-622d-4c60-93a7-bcc9b0ae7f31%40googlegroups.com
> 
> .
>


-- 
Anita M. Rojas
Departamento de Matemáticas
Facultad de Ciencias
Universidad de Chile

https://sites.google.com/a/u.uchile.cl/mat-ciencias-prof-anita-rojas/

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/CAFV-Ve1CvaTo6srOD0qnW3_iG76NwxeLCPv%2BO6ug1Voonbr1Ag%40mail.gmail.com.


Re: [sage-support] Apparently Sage lost Python

2020-04-05 Thread Anita Rojas
Thanks, but I installed 8.9 and it did not work. Back again to point 0.
I did the line "sudodisable" but I still get:

*“python2.7” no se puede abrir porque no se puede verificar el
desarrollador.*

(meaning that python2.7 can not open because it could be a malware)


On Sun, Apr 5, 2020 at 11:16 AM rana-aere  wrote:

> Yes, version <= 8.9 is the solution for now.
> If the number of notebooks is not too large, upgrading sagenb notebooks to
> jupyter notebooks
> might be a good idea.
> In the next release, the error messages will not be missing.
> In that time please try "sage --notebook=export --list"
> and "sage --notebook=export ipynb TARGETFILENAME admin:NN"
> for upgrading notebooks.
>
> 2020年4月5日日曜日 23時17分02秒 UTC+9 Anita Rojas:
>>
>> Thanks. I tried "sage -n Jupyter", and my browser opened but without
>> success in entering SAGE.
>> I will install SAGA 8.1 to see if it works.
>> Here is the message I got once typing "sage -n":
>> ---
>>
>> sage: notebook()
>>
>>
>> ---
>>
>> ModuleNotFoundError   Traceback (most recent call
>> last)
>>
>>  in ()
>>
>> > 1 notebook()
>>
>>
>>
>> ModuleNotFoundError: No module named 'sagenb'
>> ...
>>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "sage-support" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/sage-support/NletjrinNhM/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> sage-support+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/sage-support/ddfde43c-d1e8-44b2-8e7e-ba514dd8ef1e%40googlegroups.com
> 
> .
>


-- 
Anita M. Rojas
Departamento de Matemáticas
Facultad de Ciencias
Universidad de Chile

https://sites.google.com/a/u.uchile.cl/mat-ciencias-prof-anita-rojas/

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/CAFV-Ve3VBgMgGhcLMG%3DwqHmOGH88E30m7dU-xgA%3DEZRPnaL2AQ%40mail.gmail.com.


Re: [sage-support] Apparently Sage lost Python

2020-04-05 Thread rana-aere
I guess it is about the page of title "Home".
We do not have access to sagenb notebooks.
Instead we have access to jupyter notebooks.
For the current situation, you do not have any noebooks.
That is why no notebook is listed in the page.
You can try "New" button at the upper right corner below the grey 
horizontal line.
If you play with some little program in the new notebook,
it might be a good chance to test upgrading sagenb notebooks.

This "upgrade" is only possible from command line.
The two relevant "sage --notebook=export --list" and "sage 
--notebook=export ipynb TARGETFILENAME admin:NN". The former prints a 
list of sagenb notebooks.
An example is here.

```

Unique ID   | Notebook Name

---

admin:0 | Save 30% by Sagemath  (~/Manuals/SageTutorial9.0.pdf)

admin:1 | "Rabbit's population" $F_n$ is like $((1+\sqrt{5})/2)^n$!

admin:2 | Integral #1: $f(x)=\frac{1}{\sqrt{1-x^2}}$, $|x| < 1$.

admin:3 | Integral #2: why is f(x) = x * sqrt(1-x^2), (x in [-1,1]) 
easier?

admin:4 | Oval body & `tail' of @rana-aerea

admin:5 | Calculus of log|x|, x > 0.

admin:6 | mycalc

admin:7 | mycalc

```


The other command upgrades the notebook.

For example,

"sage --notebook=export ipynb mycalc-a admin:6"

converts the notebook with title "mycalc" with the unique id "admin:6".

It is possible some notebooks of yours have unique id of the form "guest:0"

or some other "user name". I guess 

"sage --notebook=export ipynb guestnotebook guest:0"

also works.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/d2d8cae8-622d-4c60-93a7-bcc9b0ae7f31%40googlegroups.com.


Re: [sage-support] Apparently Sage lost Python

2020-04-05 Thread Dima Pasechnik
On Sun, Apr 5, 2020 at 11:08 PM Anita Rojas  wrote:
>
> Sorry. Here is the message once typing sage -n jupyter
> ---
>
> Please wait while the Sage Jupyter Notebook server starts...
>
> [I 11:06:33.649 NotebookApp] Using MathJax: nbextensions/mathjax/MathJax.js
>
> [I 11:06:33.944 NotebookApp] Serving notebooks from local directory: 
> /Users/anirojas
>
> [I 11:06:33.944 NotebookApp] The Jupyter Notebook is running at:
>
> [I 11:06:33.944 NotebookApp] 
> http://localhost:/?token=fffae97f554fd98928c0aa84067eb7f2738ba70e8fa14b47
>
> [I 11:06:33.944 NotebookApp] Use Control-C to stop this server and shut down 
> all kernels (twice to skip confirmation).
>
> [C 11:06:33.962 NotebookApp]
>
>
>
> To access the notebook, open this file in a browser:
>
> file:///Users/anirojas/Library/Jupyter/runtime/nbserver-8335-open.html
>
> Or copy and paste one of these URLs:
>
> 
> http://localhost:/?token=fffae97f554fd98928c0aa84067eb7f2738ba70e8fa14b47
>
> -
>
> My browser opens with:
>
>
> http://localhost:/tree

and what happens if you open

 http://localhost:/?token=fffae97f554fd98928c0aa84067eb7f2738ba70e8fa14b47

as suggested in the message above?

>
>
> I am downloading sage 8.8 (sorry!)
>
>
> Thanks again
>
>
>
>
>
> On Sun, Apr 5, 2020 at 10:31 AM Dima Pasechnik  wrote:
>>
>> On Sun, Apr 5, 2020 at 10:16 PM Anita Rojas  wrote:
>> >
>> > Thanks. I tried "sage -n Jupyter", and my browser opened but without 
>> > success in entering SAGE.
>>
>> At least on Linux, it must be jupyter, not Jupyter
>>
>> Once again, to get an idea what goes wrong, we need to see the
>> messages you get in the terminal after you started this.
>>
>>
>>
>>
>> > I will install SAGA 8.1 to see if it works.
>> 9.1 ?
>> It's not ready yet.
>>
>>
>> > Here is the message I got once typing "sage -n":
>>
>> yes, this is expected.
>>
>> > ---
>> >
>> > sage: notebook()
>> >
>> > ---
>> >
>> > ModuleNotFoundError   Traceback (most recent call last)
>> >
>> >  in ()
>> >
>> > > 1 notebook()
>> >
>> >
>> > /Applications/SageMath/local/lib/python3.7/site-packages/sage/misc/lazy_import.pyx
>> >  in sage.misc.lazy_import.LazyImport.__call__ 
>> > (build/cythonized/sage/misc/lazy_import.c:3684)()
>> >
>> > 351 True
>> >
>> > 352 """
>> >
>> > --> 353 return self.get_object()(*args, **kwds)
>> >
>> > 354
>> >
>> > 355 def __repr__(self):
>> >
>> >
>> > /Applications/SageMath/local/lib/python3.7/site-packages/sage/misc/lazy_import.pyx
>> >  in sage.misc.lazy_import.LazyImport.get_object 
>> > (build/cythonized/sage/misc/lazy_import.c:2347)()
>> >
>> > 186 if likely(self._object is not None):
>> >
>> > 187 return self._object
>> >
>> > --> 188 return self._get_object()
>> >
>> > 189
>> >
>> > 190 cpdef _get_object(self):
>> >
>> >
>> > /Applications/SageMath/local/lib/python3.7/site-packages/sage/misc/lazy_import.pyx
>> >  in sage.misc.lazy_import.LazyImport._get_object 
>> > (build/cythonized/sage/misc/lazy_import.c:2586)()
>> >
>> > 218 elif self._at_startup and not startup_guard:
>> >
>> > 219 print('Option ``at_startup=True`` for lazy import {0} 
>> > not needed anymore'.format(self._name))
>> >
>> > --> 220 self._object = getattr(__import__(self._module, {}, {}, 
>> > [self._name]), self._name)
>> >
>> > 221 name = self._as_name
>> >
>> > 222 if self._deprecation is not None:
>> >
>> >
>> > ModuleNotFoundError: No module named 'sagenb'
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> > On Sat, Apr 4, 2020 at 1:41 PM Dima Pasechnik  wrote:
>> >>
>> >> On Sat, Apr 4, 2020 at 9:10 PM Anita Rojas  wrote:
>> >> >
>> >> > Thanks. Still not working :(
>> >> > Now I got:
>> >> >
>> >> > 500 : Internal Server Error
>> >> >
>> >> > in Chrome browser.
>> >> > What should I do?
>> >>
>> >> please post more details.
>> >> e.g. if I try running "sage -n"
>> >> in the terminal I see something like this:
>> >>
>> >>
>> >> $ ./sage -n
>> >> ┌┐
>> >> │ SageMath version 9.1.beta9, Release Date: 2020-03-29   │
>> >> │ Using Python 3.7.3. Type "help()" for help.│
>> >> └┘
>> >> ┏┓
>> >> ┃ Warning: this is a prerelease version, and it may be unstable. ┃
>> >> ┗┛
>> >> Please wait while the SageNB export server starts...
>> >> [I 00:38:22.448 NotebookApp] Using MathJax: 
>> >> nbextensions/mathjax/MathJax.js
>> >> [I 00:38:22.684 NotebookApp] Serving notebooks from local directory:
>> >> /home/dimpase/sage
>> >> [I 00:38:22.684 NotebookApp] The Jupyter 

Re: [sage-support] Apparently Sage lost Python

2020-04-05 Thread rana-aere
Yes, version <= 8.9 is the solution for now.
If the number of notebooks is not too large, upgrading sagenb notebooks to 
jupyter notebooks
might be a good idea.
In the next release, the error messages will not be missing.
In that time please try "sage --notebook=export --list"
and "sage --notebook=export ipynb TARGETFILENAME admin:NN"
for upgrading notebooks.

2020年4月5日日曜日 23時17分02秒 UTC+9 Anita Rojas:
>
> Thanks. I tried "sage -n Jupyter", and my browser opened but without 
> success in entering SAGE.
> I will install SAGA 8.1 to see if it works. 
> Here is the message I got once typing "sage -n":
> ---
>
> sage: notebook()
>
> ---
>
> ModuleNotFoundError   Traceback (most recent call 
> last)
>
>  in ()
>
> > 1 notebook()
>
>
>
> ModuleNotFoundError: No module named 'sagenb'
> ...
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/ddfde43c-d1e8-44b2-8e7e-ba514dd8ef1e%40googlegroups.com.


Re: [sage-support] Apparently Sage lost Python

2020-04-05 Thread Anita Rojas
Yes. Thanks. I manage in less than enough in MacOS. I will try to install
8.9 version. I'll report if this works.
Could be useful to other user

On Sat, Apr 4, 2020 at 2:34 PM rana-aere  wrote:

> I guess your computer is left vulnerable.
> So you should use
> ```
> sudo spctl --master-enable
> ```
>
> We are fixing slow start-up of Sagemath and also problems of permissions.
> SageMath-8.9 is OK for MacOS upto MacOS Mojave.
> SageMath-9.0 needs techniques for installation on MacOS Mojave.
> Many people complains problems of SageMath-9.0 on MacOS Catalina.
> I only understood two or three symptoms reported but I located one
> essential problem.
>
> So, we are in a rather transient situation.
>
> For the user's of sagenb notebook, I'd rather recommend to use
> SageMath-8.9 while
> waiting for SageMath get OK with Catalina. I think you are in this
> category.
>
> For MacOS freak, I recommend to try the following procedure in the same
> account:
> (This works for MacOS Mojave. On the other hand, no one reported it to
> work on Catalina.)
> (1) Copy SageMath-9.0 from disk-image to /Applications. Do not double
> click it at this moment.
> (2) Open /Applications/Utilities/Terminal.app
> (3) In the terminal window, issue the following command
> ```
> myhome$ /Applications/SageMath-9.0.app/sage
> ```
> (4) Quit sage after the sage-prompt asks you for input something.
> (5) Diable verification by "sudo spctl --master-disable".
> (6) Double click /Applications/SageMath-9.0.app
> (7) Specify your folder for Sagemath when a dialogue asks it.
>  This folder is something close to the folder tree  ~/.sage of
> notebooks.
>  But it must be different from ~/.sage.
>  Sagemath does not start-up on Catalina if this folder is not
> specified at the dialogue.
> (8) If Sagemath opened a web-page of jupyter notebook
>  and you verify this page accept programs of Sagemath (e.g.
> print("hello") ),
>  then quit Sagemath by the menu.
> (9) Use " sudo spctl --master-enable" to restart protection.
>
> I guess this explanation gives an impression of a gap between (7) and (8).
> This is because we are still fighting the problem behind (7).
>
> If you are in this category, I welcome claims from you.
>
> Alternatively, if you want to go to new versions of Sagemath,
> please wait for Sagemath-9.1.
>
>
> 2020年4月4日土曜日 13時25分46秒 UTC+9 Anita Rojas:
>>
>> Thanks. I did:
>>
>> sudo spctl --master-disable
>>
>> and it worked. I have a question: Did I leave my computer vulnerable by
>> doing so?
>>
>> Second: I was used to use notebook() but it did not work.
>>
>> Deep thanks for your help
>> Anita
>>
>> ...
>>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "sage-support" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/sage-support/NletjrinNhM/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> sage-support+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/sage-support/60dbe26c-376a-4a84-8082-9e150beaafbe%40googlegroups.com
> 
> .
>


-- 
Anita M. Rojas
Departamento de Matemáticas
Facultad de Ciencias
Universidad de Chile

https://sites.google.com/a/u.uchile.cl/mat-ciencias-prof-anita-rojas/

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/CAFV-Ve1AfyLdqb5PoC2vagn7grtStGE9HTkHXm_7eYwUBWLZng%40mail.gmail.com.


Re: [sage-support] Apparently Sage lost Python

2020-04-05 Thread Anita Rojas
Sorry. Here is the message once typing sage -n jupyter
---

Please wait while the Sage Jupyter Notebook server starts...

[I 11:06:33.649 NotebookApp] Using MathJax: nbextensions/mathjax/MathJax.js

[I 11:06:33.944 NotebookApp] Serving notebooks from local directory:
/Users/anirojas

[I 11:06:33.944 NotebookApp] The Jupyter Notebook is running at:

[I 11:06:33.944 NotebookApp]
http://localhost:/?token=fffae97f554fd98928c0aa84067eb7f2738ba70e8fa14b47

[I 11:06:33.944 NotebookApp] Use Control-C to stop this server and shut
down all kernels (twice to skip confirmation).

[C 11:06:33.962 NotebookApp]



To access the notebook, open this file in a browser:


file:///Users/anirojas/Library/Jupyter/runtime/nbserver-8335-open.html

Or copy and paste one of these URLs:


http://localhost:/?token=fffae97f554fd98928c0aa84067eb7f2738ba70e8fa14b47

-

My browser opens with:


http://localhost:/tree


I am downloading sage 8.8 (sorry!)


Thanks again




On Sun, Apr 5, 2020 at 10:31 AM Dima Pasechnik  wrote:

> On Sun, Apr 5, 2020 at 10:16 PM Anita Rojas  wrote:
> >
> > Thanks. I tried "sage -n Jupyter", and my browser opened but without
> success in entering SAGE.
>
> At least on Linux, it must be jupyter, not Jupyter
>
> Once again, to get an idea what goes wrong, we need to see the
> messages you get in the terminal after you started this.
>
>
>
>
> > I will install SAGA 8.1 to see if it works.
> 9.1 ?
> It's not ready yet.
>
>
> > Here is the message I got once typing "sage -n":
>
> yes, this is expected.
>
> > ---
> >
> > sage: notebook()
> >
> >
> ---
> >
> > ModuleNotFoundError   Traceback (most recent call
> last)
> >
> >  in ()
> >
> > > 1 notebook()
> >
> >
> >
> /Applications/SageMath/local/lib/python3.7/site-packages/sage/misc/lazy_import.pyx
> in sage.misc.lazy_import.LazyImport.__call__
> (build/cythonized/sage/misc/lazy_import.c:3684)()
> >
> > 351 True
> >
> > 352 """
> >
> > --> 353 return self.get_object()(*args, **kwds)
> >
> > 354
> >
> > 355 def __repr__(self):
> >
> >
> >
> /Applications/SageMath/local/lib/python3.7/site-packages/sage/misc/lazy_import.pyx
> in sage.misc.lazy_import.LazyImport.get_object
> (build/cythonized/sage/misc/lazy_import.c:2347)()
> >
> > 186 if likely(self._object is not None):
> >
> > 187 return self._object
> >
> > --> 188 return self._get_object()
> >
> > 189
> >
> > 190 cpdef _get_object(self):
> >
> >
> >
> /Applications/SageMath/local/lib/python3.7/site-packages/sage/misc/lazy_import.pyx
> in sage.misc.lazy_import.LazyImport._get_object
> (build/cythonized/sage/misc/lazy_import.c:2586)()
> >
> > 218 elif self._at_startup and not startup_guard:
> >
> > 219 print('Option ``at_startup=True`` for lazy import
> {0} not needed anymore'.format(self._name))
> >
> > --> 220 self._object = getattr(__import__(self._module, {}, {},
> [self._name]), self._name)
> >
> > 221 name = self._as_name
> >
> > 222 if self._deprecation is not None:
> >
> >
> > ModuleNotFoundError: No module named 'sagenb'
> >
> >
> >
> >
> >
> >
> >
> > On Sat, Apr 4, 2020 at 1:41 PM Dima Pasechnik  wrote:
> >>
> >> On Sat, Apr 4, 2020 at 9:10 PM Anita Rojas  wrote:
> >> >
> >> > Thanks. Still not working :(
> >> > Now I got:
> >> >
> >> > 500 : Internal Server Error
> >> >
> >> > in Chrome browser.
> >> > What should I do?
> >>
> >> please post more details.
> >> e.g. if I try running "sage -n"
> >> in the terminal I see something like this:
> >>
> >>
> >> $ ./sage -n
> >> ┌┐
> >> │ SageMath version 9.1.beta9, Release Date: 2020-03-29   │
> >> │ Using Python 3.7.3. Type "help()" for help.│
> >> └┘
> >> ┏┓
> >> ┃ Warning: this is a prerelease version, and it may be unstable. ┃
> >> ┗┛
> >> Please wait while the SageNB export server starts...
> >> [I 00:38:22.448 NotebookApp] Using MathJax:
> nbextensions/mathjax/MathJax.js
> >> [I 00:38:22.684 NotebookApp] Serving notebooks from local directory:
> >> /home/dimpase/sage
> >> [I 00:38:22.684 NotebookApp] The Jupyter Notebook is running at:
> >> [I 00:38:22.684 NotebookApp]
> >>
> http://localhost:/?token=5f633ab1a08a1d6abc180d567fc05d5158ba41652359faa2
> >> [I 00:38:22.684 NotebookApp] Use Control-C to stop this server and
> >> shut down all kernels (twice to skip confirmation).
> >> [C 00:38:22.975 NotebookApp]
> >>
> >> To access the notebook, open this file in a browser:
> >> file:///run/user/1000/jupyter/nbserver-10489-open.html
> 

Re: [sage-support] Apparently Sage lost Python

2020-04-05 Thread Dima Pasechnik
On Sun, Apr 5, 2020 at 10:16 PM Anita Rojas  wrote:
>
> Thanks. I tried "sage -n Jupyter", and my browser opened but without success 
> in entering SAGE.

At least on Linux, it must be jupyter, not Jupyter

Once again, to get an idea what goes wrong, we need to see the
messages you get in the terminal after you started this.




> I will install SAGA 8.1 to see if it works.
9.1 ?
It's not ready yet.


> Here is the message I got once typing "sage -n":

yes, this is expected.

> ---
>
> sage: notebook()
>
> ---
>
> ModuleNotFoundError   Traceback (most recent call last)
>
>  in ()
>
> > 1 notebook()
>
>
> /Applications/SageMath/local/lib/python3.7/site-packages/sage/misc/lazy_import.pyx
>  in sage.misc.lazy_import.LazyImport.__call__ 
> (build/cythonized/sage/misc/lazy_import.c:3684)()
>
> 351 True
>
> 352 """
>
> --> 353 return self.get_object()(*args, **kwds)
>
> 354
>
> 355 def __repr__(self):
>
>
> /Applications/SageMath/local/lib/python3.7/site-packages/sage/misc/lazy_import.pyx
>  in sage.misc.lazy_import.LazyImport.get_object 
> (build/cythonized/sage/misc/lazy_import.c:2347)()
>
> 186 if likely(self._object is not None):
>
> 187 return self._object
>
> --> 188 return self._get_object()
>
> 189
>
> 190 cpdef _get_object(self):
>
>
> /Applications/SageMath/local/lib/python3.7/site-packages/sage/misc/lazy_import.pyx
>  in sage.misc.lazy_import.LazyImport._get_object 
> (build/cythonized/sage/misc/lazy_import.c:2586)()
>
> 218 elif self._at_startup and not startup_guard:
>
> 219 print('Option ``at_startup=True`` for lazy import {0} not 
> needed anymore'.format(self._name))
>
> --> 220 self._object = getattr(__import__(self._module, {}, {}, 
> [self._name]), self._name)
>
> 221 name = self._as_name
>
> 222 if self._deprecation is not None:
>
>
> ModuleNotFoundError: No module named 'sagenb'
>
>
>
>
>
>
>
> On Sat, Apr 4, 2020 at 1:41 PM Dima Pasechnik  wrote:
>>
>> On Sat, Apr 4, 2020 at 9:10 PM Anita Rojas  wrote:
>> >
>> > Thanks. Still not working :(
>> > Now I got:
>> >
>> > 500 : Internal Server Error
>> >
>> > in Chrome browser.
>> > What should I do?
>>
>> please post more details.
>> e.g. if I try running "sage -n"
>> in the terminal I see something like this:
>>
>>
>> $ ./sage -n
>> ┌┐
>> │ SageMath version 9.1.beta9, Release Date: 2020-03-29   │
>> │ Using Python 3.7.3. Type "help()" for help.│
>> └┘
>> ┏┓
>> ┃ Warning: this is a prerelease version, and it may be unstable. ┃
>> ┗┛
>> Please wait while the SageNB export server starts...
>> [I 00:38:22.448 NotebookApp] Using MathJax: nbextensions/mathjax/MathJax.js
>> [I 00:38:22.684 NotebookApp] Serving notebooks from local directory:
>> /home/dimpase/sage
>> [I 00:38:22.684 NotebookApp] The Jupyter Notebook is running at:
>> [I 00:38:22.684 NotebookApp]
>> http://localhost:/?token=5f633ab1a08a1d6abc180d567fc05d5158ba41652359faa2
>> [I 00:38:22.684 NotebookApp] Use Control-C to stop this server and
>> shut down all kernels (twice to skip confirmation).
>> [C 00:38:22.975 NotebookApp]
>>
>> To access the notebook, open this file in a browser:
>> file:///run/user/1000/jupyter/nbserver-10489-open.html
>> Or copy and paste one of these URLs:
>> 
>> http://localhost:/?token=5f633ab1a08a1d6abc180d567fc05d5158ba41652359faa2
>>
>> Please post what you're seeing.
>>
>>
>> As well,
>>
>> you might try running
>>
>> sage -n jupyter
>>
>> which should directly launch a jupyter notebook
>>
>>
>>
>>
>> > Sorry and deep thanks.
>> >
>> > On Sat, Apr 4, 2020 at 2:12 AM Dima Pasechnik  wrote:
>> >>
>> >>
>> >>
>> >> On Sat, 4 Apr 2020, 12:25 Anita Rojas,  wrote:
>> >>>
>> >>> Thanks. I did:
>> >>>
>> >>> sudo spctl --master-disable
>> >>>
>> >>> and it worked. I have a question: Did I leave my computer vulnerable by 
>> >>> doing so?
>> >>
>> >>
>> >> it depends upon settings of your usual account. If it allows 
>> >> password-less automatic installation of random stuff from the net, then 
>> >> yes...
>> >>
>> >>>
>> >>> Second: I was used to use notebook() but it did not work. .
>> >>
>> >> start Sage in the terminal as
>> >>
>> >> sage -n
>> >>
>> >> to get Jupyter notebook - or a convertor from sagenb (which is Python 2 
>> >> only, so it is being retired)
>> >>>
>> >>>
>> >>> Deep thanks for your help
>> >>> Anita
>> >>>
>> >>>
>> >>>
>> >>>
>> >>>
>> >>> On Sat, Apr 4, 2020 at 12:54 AM Dima Pasechnik  wrote:
>> 
>>  yes, this is an issue due to 

Re: [sage-support] Apparently Sage lost Python

2020-04-05 Thread Anita Rojas
Thanks. I tried "sage -n Jupyter", and my browser opened but without
success in entering SAGE.
I will install SAGA 8.1 to see if it works.
Here is the message I got once typing "sage -n":
---

sage: notebook()

---

ModuleNotFoundError   Traceback (most recent call last)

 in ()

> 1 notebook()


/Applications/SageMath/local/lib/python3.7/site-packages/sage/misc/lazy_import.pyx
in sage.misc.lazy_import.LazyImport.__call__
(build/cythonized/sage/misc/lazy_import.c:3684)()

*351* True

*352* """

--> 353 return self.get_object()(*args, **kwds)

*354*

*355* def __repr__(self):


/Applications/SageMath/local/lib/python3.7/site-packages/sage/misc/lazy_import.pyx
in sage.misc.lazy_import.LazyImport.get_object
(build/cythonized/sage/misc/lazy_import.c:2347)()

*186* if likely(self._object is not None):

*187* return self._object

--> 188 return self._get_object()

*189*

*190* cpdef _get_object(self):


/Applications/SageMath/local/lib/python3.7/site-packages/sage/misc/lazy_import.pyx
in sage.misc.lazy_import.LazyImport._get_object
(build/cythonized/sage/misc/lazy_import.c:2586)()

*218* elif self._at_startup and not startup_guard:

*219* print('Option ``at_startup=True`` for lazy import {0}
not needed anymore'.format(self._name))

--> 220 self._object = getattr(__import__(self._module, {}, {}, [
self._name]), self._name)

*221* name = self._as_name

*222* if self._deprecation is not None:


ModuleNotFoundError: No module named 'sagenb'






On Sat, Apr 4, 2020 at 1:41 PM Dima Pasechnik  wrote:

> On Sat, Apr 4, 2020 at 9:10 PM Anita Rojas  wrote:
> >
> > Thanks. Still not working :(
> > Now I got:
> >
> > 500 : Internal Server Error
> >
> > in Chrome browser.
> > What should I do?
>
> please post more details.
> e.g. if I try running "sage -n"
> in the terminal I see something like this:
>
>
> $ ./sage -n
> ┌┐
> │ SageMath version 9.1.beta9, Release Date: 2020-03-29   │
> │ Using Python 3.7.3. Type "help()" for help.│
> └┘
> ┏┓
> ┃ Warning: this is a prerelease version, and it may be unstable. ┃
> ┗┛
> Please wait while the SageNB export server starts...
> [I 00:38:22.448 NotebookApp] Using MathJax: nbextensions/mathjax/MathJax.js
> [I 00:38:22.684 NotebookApp] Serving notebooks from local directory:
> /home/dimpase/sage
> [I 00:38:22.684 NotebookApp] The Jupyter Notebook is running at:
> [I 00:38:22.684 NotebookApp]
>
> http://localhost:/?token=5f633ab1a08a1d6abc180d567fc05d5158ba41652359faa2
> [I 00:38:22.684 NotebookApp] Use Control-C to stop this server and
> shut down all kernels (twice to skip confirmation).
> [C 00:38:22.975 NotebookApp]
>
> To access the notebook, open this file in a browser:
> file:///run/user/1000/jupyter/nbserver-10489-open.html
> Or copy and paste one of these URLs:
>
> http://localhost:/?token=5f633ab1a08a1d6abc180d567fc05d5158ba41652359faa2
>
> Please post what you're seeing.
>
>
> As well,
>
> you might try running
>
> sage -n jupyter
>
> which should directly launch a jupyter notebook
>
>
>
>
> > Sorry and deep thanks.
> >
> > On Sat, Apr 4, 2020 at 2:12 AM Dima Pasechnik  wrote:
> >>
> >>
> >>
> >> On Sat, 4 Apr 2020, 12:25 Anita Rojas,  wrote:
> >>>
> >>> Thanks. I did:
> >>>
> >>> sudo spctl --master-disable
> >>>
> >>> and it worked. I have a question: Did I leave my computer vulnerable
> by doing so?
> >>
> >>
> >> it depends upon settings of your usual account. If it allows
> password-less automatic installation of random stuff from the net, then
> yes...
> >>
> >>>
> >>> Second: I was used to use notebook() but it did not work. .
> >>
> >> start Sage in the terminal as
> >>
> >> sage -n
> >>
> >> to get Jupyter notebook - or a convertor from sagenb (which is Python 2
> only, so it is being retired)
> >>>
> >>>
> >>> Deep thanks for your help
> >>> Anita
> >>>
> >>>
> >>>
> >>>
> >>>
> >>> On Sat, Apr 4, 2020 at 12:54 AM Dima Pasechnik 
> wrote:
> 
>  yes, this is an issue due to Apple "improving" their security in the
> latest MacOS.
> 
>  I believe there are instructions on
> 
> https://ask.sagemath.org/question/49568/new-sagemath-90-installation-not-running-on-catalina-sagemath-87-worked-fine/
> 
>  and perhaps other posts there.
> 
>  On Sat, 4 Apr 2020, 11:47 Anita Rojas,  wrote:
> >
> > Thanks a lot!
> > I am installing a new version of sage. I have received several times
> (more than 20) a message like
> >
> > macOS 

Re: [sage-support] Apparently Sage lost Python

2020-04-04 Thread rana-aere
I guess your computer is left vulnerable.
So you should use
```
sudo spctl --master-enable
```

We are fixing slow start-up of Sagemath and also problems of permissions.
SageMath-8.9 is OK for MacOS upto MacOS Mojave.
SageMath-9.0 needs techniques for installation on MacOS Mojave.
Many people complains problems of SageMath-9.0 on MacOS Catalina.
I only understood two or three symptoms reported but I located one 
essential problem.

So, we are in a rather transient situation.

For the user's of sagenb notebook, I'd rather recommend to use SageMath-8.9 
while
waiting for SageMath get OK with Catalina. I think you are in this category.

For MacOS freak, I recommend to try the following procedure in the same 
account:
(This works for MacOS Mojave. On the other hand, no one reported it to work 
on Catalina.)
(1) Copy SageMath-9.0 from disk-image to /Applications. Do not double click 
it at this moment.
(2) Open /Applications/Utilities/Terminal.app
(3) In the terminal window, issue the following command
```
myhome$ /Applications/SageMath-9.0.app/sage
```
(4) Quit sage after the sage-prompt asks you for input something.
(5) Diable verification by "sudo spctl --master-disable".
(6) Double click /Applications/SageMath-9.0.app
(7) Specify your folder for Sagemath when a dialogue asks it.
 This folder is something close to the folder tree  ~/.sage of 
notebooks.
 But it must be different from ~/.sage.
 Sagemath does not start-up on Catalina if this folder is not specified 
at the dialogue.
(8) If Sagemath opened a web-page of jupyter notebook
 and you verify this page accept programs of Sagemath (e.g. 
print("hello") ),
 then quit Sagemath by the menu.
(9) Use " sudo spctl --master-enable" to restart protection.

I guess this explanation gives an impression of a gap between (7) and (8).
This is because we are still fighting the problem behind (7).

If you are in this category, I welcome claims from you.

Alternatively, if you want to go to new versions of Sagemath,
please wait for Sagemath-9.1.


2020年4月4日土曜日 13時25分46秒 UTC+9 Anita Rojas:
>
> Thanks. I did:
>
> sudo spctl --master-disable
>
> and it worked. I have a question: Did I leave my computer vulnerable by 
> doing so?
>
> Second: I was used to use notebook() but it did not work. 
>
> Deep thanks for your help
> Anita
>
> ...
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/60dbe26c-376a-4a84-8082-9e150beaafbe%40googlegroups.com.


Re: [sage-support] Apparently Sage lost Python

2020-04-04 Thread Dima Pasechnik
On Sat, Apr 4, 2020 at 9:10 PM Anita Rojas  wrote:
>
> Thanks. Still not working :(
> Now I got:
>
> 500 : Internal Server Error
>
> in Chrome browser.
> What should I do?

please post more details.
e.g. if I try running "sage -n"
in the terminal I see something like this:


$ ./sage -n
┌┐
│ SageMath version 9.1.beta9, Release Date: 2020-03-29   │
│ Using Python 3.7.3. Type "help()" for help.│
└┘
┏┓
┃ Warning: this is a prerelease version, and it may be unstable. ┃
┗┛
Please wait while the SageNB export server starts...
[I 00:38:22.448 NotebookApp] Using MathJax: nbextensions/mathjax/MathJax.js
[I 00:38:22.684 NotebookApp] Serving notebooks from local directory:
/home/dimpase/sage
[I 00:38:22.684 NotebookApp] The Jupyter Notebook is running at:
[I 00:38:22.684 NotebookApp]
http://localhost:/?token=5f633ab1a08a1d6abc180d567fc05d5158ba41652359faa2
[I 00:38:22.684 NotebookApp] Use Control-C to stop this server and
shut down all kernels (twice to skip confirmation).
[C 00:38:22.975 NotebookApp]

To access the notebook, open this file in a browser:
file:///run/user/1000/jupyter/nbserver-10489-open.html
Or copy and paste one of these URLs:

http://localhost:/?token=5f633ab1a08a1d6abc180d567fc05d5158ba41652359faa2

Please post what you're seeing.


As well,

you might try running

sage -n jupyter

which should directly launch a jupyter notebook




> Sorry and deep thanks.
>
> On Sat, Apr 4, 2020 at 2:12 AM Dima Pasechnik  wrote:
>>
>>
>>
>> On Sat, 4 Apr 2020, 12:25 Anita Rojas,  wrote:
>>>
>>> Thanks. I did:
>>>
>>> sudo spctl --master-disable
>>>
>>> and it worked. I have a question: Did I leave my computer vulnerable by 
>>> doing so?
>>
>>
>> it depends upon settings of your usual account. If it allows password-less 
>> automatic installation of random stuff from the net, then yes...
>>
>>>
>>> Second: I was used to use notebook() but it did not work. .
>>
>> start Sage in the terminal as
>>
>> sage -n
>>
>> to get Jupyter notebook - or a convertor from sagenb (which is Python 2 
>> only, so it is being retired)
>>>
>>>
>>> Deep thanks for your help
>>> Anita
>>>
>>>
>>>
>>>
>>>
>>> On Sat, Apr 4, 2020 at 12:54 AM Dima Pasechnik  wrote:

 yes, this is an issue due to Apple "improving" their security in the 
 latest MacOS.

 I believe there are instructions on
 https://ask.sagemath.org/question/49568/new-sagemath-90-installation-not-running-on-catalina-sagemath-87-worked-fine/

 and perhaps other posts there.

 On Sat, 4 Apr 2020, 11:47 Anita Rojas,  wrote:
>
> Thanks a lot!
> I am installing a new version of sage. I have received several times 
> (more than 20) a message like
>
> macOS no puede verificar el desarrollador de la app 
> “_sha3.cpython-37m-darwin.so”. ¿Seguro que quieres abrirla?
>
> Which means that the developer is unknown and it asks me if I want to 
> open it. It is a warning of malware. I have authorize its installation, 
> but I have been doing this one by one...is it ok? or usual?
>
> Thanks, and I am sorry for bothering you but I use sage regularly and I 
> do not want to lose it.
> Best,
> Anita
>
>
>
> On Sat, Apr 4, 2020 at 12:13 AM Dima Pasechnik  wrote:
>>
>>
>>
>> On Sat, 4 Apr 2020, 11:11 Anita Rojas,  wrote:
>>>
>>> Hi! I am far away of being a OSX guru, but I managed to get my SAGE 
>>> working.
>>>
>>> It use to work properly but now I got the following message:
>>>
>>>
>>> Error: Tried to use Sage's Python which was not yet installed.
>>>
>>> If this was called from an spkg-install script for another
>>>
>>> package you should add $(PYTHON) as a dependency in
>>>
>>> build/pkgs//dependencies
>>>
>>>
>>> I looked for solutions but I could not find answers. I would appreciate 
>>> help.
>>
>>
>> Probably a MacOS update broke your Sage installation.
>>
>> If so, reinstalling might be the only  known way to fix this.
>>
>>>
>>> Best,
>>>
>>> Anita
>>>
>>> --
>>> You received this message because you are subscribed to the Google 
>>> Groups "sage-support" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to sage-support+unsubscr...@googlegroups.com.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/sage-support/e7c84768-c030-425a-b78b-aa1a378e757e%40googlegroups.com.
>>
>> --
>> You received this message because you are subscribed to a topic in the 
>> Google Groups 

Re: [sage-support] Apparently Sage lost Python

2020-04-04 Thread Anita Rojas
Thanks. Still not working :(
Now I got:

500 : Internal Server Error

in Chrome browser.
What should I do?
Sorry and deep thanks.

On Sat, Apr 4, 2020 at 2:12 AM Dima Pasechnik  wrote:

>
>
> On Sat, 4 Apr 2020, 12:25 Anita Rojas,  wrote:
>
>> Thanks. I did:
>>
>> sudo spctl --master-disable
>>
>> and it worked. I have a question: Did I leave my computer vulnerable by
>> doing so?
>>
>
> it depends upon settings of your usual account. If it allows password-less
> automatic installation of random stuff from the net, then yes...
>
>
>> Second: I was used to use notebook() but it did not work. .
>>
> start Sage in the terminal as
>
> sage -n
>
> to get Jupyter notebook - or a convertor from sagenb (which is Python 2
> only, so it is being retired)
>
>>
>> Deep thanks for your help
>> Anita
>>
>>
>>
>>
>>
>> On Sat, Apr 4, 2020 at 12:54 AM Dima Pasechnik  wrote:
>>
>>> yes, this is an issue due to Apple "improving" their security in the
>>> latest MacOS.
>>>
>>> I believe there are instructions on
>>>
>>> https://ask.sagemath.org/question/49568/new-sagemath-90-installation-not-running-on-catalina-sagemath-87-worked-fine/
>>>
>>> and perhaps other posts there.
>>>
>>> On Sat, 4 Apr 2020, 11:47 Anita Rojas,  wrote:
>>>
 Thanks a lot!
 I am installing a new version of sage. I have received several times
 (more than 20) a message like

 macOS no puede verificar el desarrollador de la app “_
 sha3.cpython-37m-darwin.so”. ¿Seguro que quieres abrirla?

 Which means that the developer is unknown and it asks me if I want to
 open it. It is a warning of malware. I have authorize its installation, but
 I have been doing this one by one...is it ok? or usual?

 Thanks, and I am sorry for bothering you but I use sage regularly and I
 do not want to lose it.
 Best,
 Anita



 On Sat, Apr 4, 2020 at 12:13 AM Dima Pasechnik 
 wrote:

>
>
> On Sat, 4 Apr 2020, 11:11 Anita Rojas,  wrote:
>
>> Hi! I am far away of being a OSX guru, but I managed to get my SAGE
>> working.
>>
>> It use to work properly but now I got the following message:
>>
>>
>> Error: Tried to use Sage's Python which was not yet installed.
>>
>> If this was called from an spkg-install script for another
>>
>> package you should add $(PYTHON) as a dependency in
>>
>> build/pkgs//dependencies
>>
>>
>> I looked for solutions but I could not find answers. I would
>> appreciate help.
>>
>
> Probably a MacOS update broke your Sage installation.
>
> If so, reinstalling might be the only  known way to fix this.
>
>
>> Best,
>>
>> Anita
>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups "sage-support" group.
>> To unsubscribe from this group and stop receiving emails from it,
>> send an email to sage-support+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/sage-support/e7c84768-c030-425a-b78b-aa1a378e757e%40googlegroups.com
>> 
>> .
>>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "sage-support" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/sage-support/NletjrinNhM/unsubscribe
> .
> To unsubscribe from this group and all its topics, send an email to
> sage-support+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/sage-support/CAAWYfq0h61z4n-xV2yT6-CB_-izF5ZkOtF%3DXUu%2Bq_h%2BDekYCZw%40mail.gmail.com
> 
> .
>


 --
 Anita M. Rojas
 Departamento de Matemáticas
 Facultad de Ciencias
 Universidad de Chile

 https://sites.google.com/a/u.uchile.cl/mat-ciencias-prof-anita-rojas/

 --
 You received this message because you are subscribed to the Google
 Groups "sage-support" group.
 To unsubscribe from this group and stop receiving emails from it, send
 an email to sage-support+unsubscr...@googlegroups.com.
 To view this discussion on the web visit
 https://groups.google.com/d/msgid/sage-support/CAFV-Ve0zGwCJBrLGAVPncfc7XerfgP9iWxb8Z1bkjgpVs1czLg%40mail.gmail.com
 
 .

>>> --
>>> You received this message because you are subscribed to a topic in the
>>> Google Groups "sage-support" group.
>>> To unsubscribe from this topic, visit
>>> 

Re: [sage-support] Apparently Sage lost Python

2020-04-03 Thread Dima Pasechnik
On Sat, 4 Apr 2020, 12:25 Anita Rojas,  wrote:

> Thanks. I did:
>
> sudo spctl --master-disable
>
> and it worked. I have a question: Did I leave my computer vulnerable by
> doing so?
>

it depends upon settings of your usual account. If it allows password-less
automatic installation of random stuff from the net, then yes...


> Second: I was used to use notebook() but it did not work. .
>
start Sage in the terminal as

sage -n

to get Jupyter notebook - or a convertor from sagenb (which is Python 2
only, so it is being retired)

>
> Deep thanks for your help
> Anita
>
>
>
>
>
> On Sat, Apr 4, 2020 at 12:54 AM Dima Pasechnik  wrote:
>
>> yes, this is an issue due to Apple "improving" their security in the
>> latest MacOS.
>>
>> I believe there are instructions on
>>
>> https://ask.sagemath.org/question/49568/new-sagemath-90-installation-not-running-on-catalina-sagemath-87-worked-fine/
>>
>> and perhaps other posts there.
>>
>> On Sat, 4 Apr 2020, 11:47 Anita Rojas,  wrote:
>>
>>> Thanks a lot!
>>> I am installing a new version of sage. I have received several times
>>> (more than 20) a message like
>>>
>>> macOS no puede verificar el desarrollador de la app “_
>>> sha3.cpython-37m-darwin.so”. ¿Seguro que quieres abrirla?
>>>
>>> Which means that the developer is unknown and it asks me if I want to
>>> open it. It is a warning of malware. I have authorize its installation, but
>>> I have been doing this one by one...is it ok? or usual?
>>>
>>> Thanks, and I am sorry for bothering you but I use sage regularly and I
>>> do not want to lose it.
>>> Best,
>>> Anita
>>>
>>>
>>>
>>> On Sat, Apr 4, 2020 at 12:13 AM Dima Pasechnik 
>>> wrote:
>>>


 On Sat, 4 Apr 2020, 11:11 Anita Rojas,  wrote:

> Hi! I am far away of being a OSX guru, but I managed to get my SAGE
> working.
>
> It use to work properly but now I got the following message:
>
>
> Error: Tried to use Sage's Python which was not yet installed.
>
> If this was called from an spkg-install script for another
>
> package you should add $(PYTHON) as a dependency in
>
> build/pkgs//dependencies
>
>
> I looked for solutions but I could not find answers. I would
> appreciate help.
>

 Probably a MacOS update broke your Sage installation.

 If so, reinstalling might be the only  known way to fix this.


> Best,
>
> Anita
>
> --
> You received this message because you are subscribed to the Google
> Groups "sage-support" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to sage-support+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/sage-support/e7c84768-c030-425a-b78b-aa1a378e757e%40googlegroups.com
> 
> .
>
 --
 You received this message because you are subscribed to a topic in the
 Google Groups "sage-support" group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/sage-support/NletjrinNhM/unsubscribe.
 To unsubscribe from this group and all its topics, send an email to
 sage-support+unsubscr...@googlegroups.com.
 To view this discussion on the web visit
 https://groups.google.com/d/msgid/sage-support/CAAWYfq0h61z4n-xV2yT6-CB_-izF5ZkOtF%3DXUu%2Bq_h%2BDekYCZw%40mail.gmail.com
 
 .

>>>
>>>
>>> --
>>> Anita M. Rojas
>>> Departamento de Matemáticas
>>> Facultad de Ciencias
>>> Universidad de Chile
>>>
>>> https://sites.google.com/a/u.uchile.cl/mat-ciencias-prof-anita-rojas/
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "sage-support" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to sage-support+unsubscr...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/sage-support/CAFV-Ve0zGwCJBrLGAVPncfc7XerfgP9iWxb8Z1bkjgpVs1czLg%40mail.gmail.com
>>> 
>>> .
>>>
>> --
>> You received this message because you are subscribed to a topic in the
>> Google Groups "sage-support" group.
>> To unsubscribe from this topic, visit
>> https://groups.google.com/d/topic/sage-support/NletjrinNhM/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to
>> sage-support+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> 

Re: [sage-support] Apparently Sage lost Python

2020-04-03 Thread Anita Rojas
Thanks. I did:

sudo spctl --master-disable

and it worked. I have a question: Did I leave my computer vulnerable by
doing so?

Second: I was used to use notebook() but it did not work.

Deep thanks for your help
Anita





On Sat, Apr 4, 2020 at 12:54 AM Dima Pasechnik  wrote:

> yes, this is an issue due to Apple "improving" their security in the
> latest MacOS.
>
> I believe there are instructions on
>
> https://ask.sagemath.org/question/49568/new-sagemath-90-installation-not-running-on-catalina-sagemath-87-worked-fine/
>
> and perhaps other posts there.
>
> On Sat, 4 Apr 2020, 11:47 Anita Rojas,  wrote:
>
>> Thanks a lot!
>> I am installing a new version of sage. I have received several times
>> (more than 20) a message like
>>
>> macOS no puede verificar el desarrollador de la app “_
>> sha3.cpython-37m-darwin.so”. ¿Seguro que quieres abrirla?
>>
>> Which means that the developer is unknown and it asks me if I want to
>> open it. It is a warning of malware. I have authorize its installation, but
>> I have been doing this one by one...is it ok? or usual?
>>
>> Thanks, and I am sorry for bothering you but I use sage regularly and I
>> do not want to lose it.
>> Best,
>> Anita
>>
>>
>>
>> On Sat, Apr 4, 2020 at 12:13 AM Dima Pasechnik  wrote:
>>
>>>
>>>
>>> On Sat, 4 Apr 2020, 11:11 Anita Rojas,  wrote:
>>>
 Hi! I am far away of being a OSX guru, but I managed to get my SAGE
 working.

 It use to work properly but now I got the following message:


 Error: Tried to use Sage's Python which was not yet installed.

 If this was called from an spkg-install script for another

 package you should add $(PYTHON) as a dependency in

 build/pkgs//dependencies


 I looked for solutions but I could not find answers. I would appreciate
 help.

>>>
>>> Probably a MacOS update broke your Sage installation.
>>>
>>> If so, reinstalling might be the only  known way to fix this.
>>>
>>>
 Best,

 Anita

 --
 You received this message because you are subscribed to the Google
 Groups "sage-support" group.
 To unsubscribe from this group and stop receiving emails from it, send
 an email to sage-support+unsubscr...@googlegroups.com.
 To view this discussion on the web visit
 https://groups.google.com/d/msgid/sage-support/e7c84768-c030-425a-b78b-aa1a378e757e%40googlegroups.com
 
 .

>>> --
>>> You received this message because you are subscribed to a topic in the
>>> Google Groups "sage-support" group.
>>> To unsubscribe from this topic, visit
>>> https://groups.google.com/d/topic/sage-support/NletjrinNhM/unsubscribe.
>>> To unsubscribe from this group and all its topics, send an email to
>>> sage-support+unsubscr...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/sage-support/CAAWYfq0h61z4n-xV2yT6-CB_-izF5ZkOtF%3DXUu%2Bq_h%2BDekYCZw%40mail.gmail.com
>>> 
>>> .
>>>
>>
>>
>> --
>> Anita M. Rojas
>> Departamento de Matemáticas
>> Facultad de Ciencias
>> Universidad de Chile
>>
>> https://sites.google.com/a/u.uchile.cl/mat-ciencias-prof-anita-rojas/
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "sage-support" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to sage-support+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/sage-support/CAFV-Ve0zGwCJBrLGAVPncfc7XerfgP9iWxb8Z1bkjgpVs1czLg%40mail.gmail.com
>> 
>> .
>>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "sage-support" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/sage-support/NletjrinNhM/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> sage-support+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/sage-support/CAAWYfq0%3DR-2EVm5U%2BTgTn%3DRbORNDF_GTyUn4JcrQgWqjxm3bUA%40mail.gmail.com
> 
> .
>


-- 
Anita M. Rojas
Departamento de Matemáticas
Facultad de Ciencias
Universidad de Chile

https://sites.google.com/a/u.uchile.cl/mat-ciencias-prof-anita-rojas/

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop 

Re: [sage-support] Apparently Sage lost Python

2020-04-03 Thread Dima Pasechnik
yes, this is an issue due to Apple "improving" their security in the latest
MacOS.

I believe there are instructions on
https://ask.sagemath.org/question/49568/new-sagemath-90-installation-not-running-on-catalina-sagemath-87-worked-fine/

and perhaps other posts there.

On Sat, 4 Apr 2020, 11:47 Anita Rojas,  wrote:

> Thanks a lot!
> I am installing a new version of sage. I have received several times (more
> than 20) a message like
>
> macOS no puede verificar el desarrollador de la app “_
> sha3.cpython-37m-darwin.so”. ¿Seguro que quieres abrirla?
>
> Which means that the developer is unknown and it asks me if I want to open
> it. It is a warning of malware. I have authorize its installation, but I
> have been doing this one by one...is it ok? or usual?
>
> Thanks, and I am sorry for bothering you but I use sage regularly and I do
> not want to lose it.
> Best,
> Anita
>
>
>
> On Sat, Apr 4, 2020 at 12:13 AM Dima Pasechnik  wrote:
>
>>
>>
>> On Sat, 4 Apr 2020, 11:11 Anita Rojas,  wrote:
>>
>>> Hi! I am far away of being a OSX guru, but I managed to get my SAGE
>>> working.
>>>
>>> It use to work properly but now I got the following message:
>>>
>>>
>>> Error: Tried to use Sage's Python which was not yet installed.
>>>
>>> If this was called from an spkg-install script for another
>>>
>>> package you should add $(PYTHON) as a dependency in
>>>
>>> build/pkgs//dependencies
>>>
>>>
>>> I looked for solutions but I could not find answers. I would appreciate
>>> help.
>>>
>>
>> Probably a MacOS update broke your Sage installation.
>>
>> If so, reinstalling might be the only  known way to fix this.
>>
>>
>>> Best,
>>>
>>> Anita
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "sage-support" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to sage-support+unsubscr...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/sage-support/e7c84768-c030-425a-b78b-aa1a378e757e%40googlegroups.com
>>> 
>>> .
>>>
>> --
>> You received this message because you are subscribed to a topic in the
>> Google Groups "sage-support" group.
>> To unsubscribe from this topic, visit
>> https://groups.google.com/d/topic/sage-support/NletjrinNhM/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to
>> sage-support+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/sage-support/CAAWYfq0h61z4n-xV2yT6-CB_-izF5ZkOtF%3DXUu%2Bq_h%2BDekYCZw%40mail.gmail.com
>> 
>> .
>>
>
>
> --
> Anita M. Rojas
> Departamento de Matemáticas
> Facultad de Ciencias
> Universidad de Chile
>
> https://sites.google.com/a/u.uchile.cl/mat-ciencias-prof-anita-rojas/
>
> --
> You received this message because you are subscribed to the Google Groups
> "sage-support" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to sage-support+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/sage-support/CAFV-Ve0zGwCJBrLGAVPncfc7XerfgP9iWxb8Z1bkjgpVs1czLg%40mail.gmail.com
> 
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/CAAWYfq0%3DR-2EVm5U%2BTgTn%3DRbORNDF_GTyUn4JcrQgWqjxm3bUA%40mail.gmail.com.


Re: [sage-support] Apparently Sage lost Python

2020-04-03 Thread Anita Rojas
Thanks a lot!
I am installing a new version of sage. I have received several times (more
than 20) a message like

macOS no puede verificar el desarrollador de la app “_
sha3.cpython-37m-darwin.so”. ¿Seguro que quieres abrirla?

Which means that the developer is unknown and it asks me if I want to open
it. It is a warning of malware. I have authorize its installation, but I
have been doing this one by one...is it ok? or usual?

Thanks, and I am sorry for bothering you but I use sage regularly and I do
not want to lose it.
Best,
Anita



On Sat, Apr 4, 2020 at 12:13 AM Dima Pasechnik  wrote:

>
>
> On Sat, 4 Apr 2020, 11:11 Anita Rojas,  wrote:
>
>> Hi! I am far away of being a OSX guru, but I managed to get my SAGE
>> working.
>>
>> It use to work properly but now I got the following message:
>>
>>
>> Error: Tried to use Sage's Python which was not yet installed.
>>
>> If this was called from an spkg-install script for another
>>
>> package you should add $(PYTHON) as a dependency in
>>
>> build/pkgs//dependencies
>>
>>
>> I looked for solutions but I could not find answers. I would appreciate
>> help.
>>
>
> Probably a MacOS update broke your Sage installation.
>
> If so, reinstalling might be the only  known way to fix this.
>
>
>> Best,
>>
>> Anita
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "sage-support" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to sage-support+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/sage-support/e7c84768-c030-425a-b78b-aa1a378e757e%40googlegroups.com
>> 
>> .
>>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "sage-support" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/sage-support/NletjrinNhM/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> sage-support+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/sage-support/CAAWYfq0h61z4n-xV2yT6-CB_-izF5ZkOtF%3DXUu%2Bq_h%2BDekYCZw%40mail.gmail.com
> 
> .
>


-- 
Anita M. Rojas
Departamento de Matemáticas
Facultad de Ciencias
Universidad de Chile

https://sites.google.com/a/u.uchile.cl/mat-ciencias-prof-anita-rojas/

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/CAFV-Ve0zGwCJBrLGAVPncfc7XerfgP9iWxb8Z1bkjgpVs1czLg%40mail.gmail.com.


Re: [sage-support] Apparently Sage lost Python

2020-04-03 Thread Dima Pasechnik
On Sat, 4 Apr 2020, 11:11 Anita Rojas,  wrote:

> Hi! I am far away of being a OSX guru, but I managed to get my SAGE
> working.
>
> It use to work properly but now I got the following message:
>
>
> Error: Tried to use Sage's Python which was not yet installed.
>
> If this was called from an spkg-install script for another
>
> package you should add $(PYTHON) as a dependency in
>
> build/pkgs//dependencies
>
>
> I looked for solutions but I could not find answers. I would appreciate
> help.
>

Probably a MacOS update broke your Sage installation.

If so, reinstalling might be the only  known way to fix this.


> Best,
>
> Anita
>
> --
> You received this message because you are subscribed to the Google Groups
> "sage-support" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to sage-support+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/sage-support/e7c84768-c030-425a-b78b-aa1a378e757e%40googlegroups.com
> 
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/CAAWYfq0h61z4n-xV2yT6-CB_-izF5ZkOtF%3DXUu%2Bq_h%2BDekYCZw%40mail.gmail.com.


[sage-support] Apparently Sage lost Python

2020-04-03 Thread Anita Rojas


Hi! I am far away of being a OSX guru, but I managed to get my SAGE 
working. 

It use to work properly but now I got the following message:


Error: Tried to use Sage's Python which was not yet installed.

If this was called from an spkg-install script for another 

package you should add $(PYTHON) as a dependency in 

build/pkgs//dependencies


I looked for solutions but I could not find answers. I would appreciate 
help.


Best,

Anita

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/e7c84768-c030-425a-b78b-aa1a378e757e%40googlegroups.com.