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/<pkg>/dependencies
I looked for solutions but I could not find answers. I would appreciate help.
Best,
Anita
--
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...@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...@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.
To view this discussion on the web visit https://groups.google.com/d/msgid/sage-support/CAFV-Ve0zGwCJBrLGAVPncfc7XerfgP9iWxb8Z1bkjgpVs1czLg%40mail.gmail.com.
sudo spctl --master-disable
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.
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. .
To view this discussion on the web visit https://groups.google.com/d/msgid/sage-support/CAFV-Ve2qeTRsVVBux4pmyDANGbr8TqHOXqBzJuhhA0AvOB0qow%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sage-support/CAAWYfq3pmKYMtGuRfFi%2BKFT04y8VrT0barmgOLm5VZac3vfZBw%40mail.gmail.com.
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 helpAnita
...
sage: notebook()
---------------------------------------------------------------------------
ModuleNotFoundError Traceback (most recent call last)
<ipython-input-1-b5959bb24428> in <module>()
----> 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'
To view this discussion on the web visit https://groups.google.com/d/msgid/sage-support/CAAWYfq0j48OYX%3DW74EmMvaCtPjWWnGTUdYX81LoY9g8v6Y8rGA%40mail.gmail.com.
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:8888/?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:8888/?token=fffae97f554fd98928c0aa84067eb7f2738ba70e8fa14b47
-----------------
My browser opens with:
I am downloading sage 8.8 (sorry!)
Thanks again
To view this discussion on the web visit https://groups.google.com/d/msgid/sage-support/CAAWYfq1_JR3vgwx6eZeURh%2BD%3DN9Z%3D8q_1%3DpJAuA2i8BT%2BDwaMQ%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...@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.
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)
<ipython-input-1-b5959bb24428> in <module>()
----> 1 notebook()
ModuleNotFoundError: No module named 'sagenb'
...
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.
“python2.7” no se puede abrir porque no se puede verificar el desarrollador.
--
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...@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.
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 <module>
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 <genexpr>
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'
--
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...@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.
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...@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.
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 <dim...@gmail.com> wrote:
On Sat, 4 Apr 2020, 11:11 Anita Rojas, <roja...@gmail.com> 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/<pkg>/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.
To unsubscribe from this group and all its topics, send an email to sage-support...@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.
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.
sudo spctl --master-disable
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...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sage-support/CAAWYfq2cPK1m2bZnOEYVAFBL23X63mQ48gBNxq8kFUKK695t%2Bw%40mail.gmail.com.
sage: libgap.eval('LoadPackage("kbmag")')
fail
--
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...@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.
sage: libgap.eval('LoadPackage("PackageManager")')
fail
--
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...@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.