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.
--
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/CAEcArF18yaZKbDR-W23%2BSn21mZUSf9uB8MWc6sm1c0Wr7EOcDA%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/CAEcArF18yaZKbDR-W23%2BSn21mZUSf9uB8MWc6sm1c0Wr7EOcDA%40mail.gmail.com.
/Application/ XXX /sage -i gap_packages
**********************************************************************
Oops, Sage crashed. We do our best to make it stable, but...
A crash report was automatically generated with the following information:
- A verbatim copy of the crash traceback.
- A copy of your input history during this session.
- Data on your current Sage configuration.
It was left in the file named:
'/Users/anitaimac/.sage/ipython-5.0.0/Sage_crash_report.txt'
If you can email this file to the developers, the information in it will help
them in understanding and correcting the problem.
You can mail it to: sage-support at sage-s...@googlegroups.com
with the subject 'Sage Crash Report'.
If you want to do it now, the following command will work (under Unix):
mail -s 'Sage Crash Report' sage-s...@googlegroups.com < /Users/anitaimac/.sage/ipython-5.0.0/Sage_crash_report.txt
In your email, please also include information about:
- The operating system under which the crash happened: Linux, macOS, Windows,
other, and which exact version (for example: Ubuntu 16.04.3, macOS 10.13.2,
Windows 10 Pro), and whether it is 32-bit or 64-bit;
- How Sage was installed: using pip or conda, from GitHub, as part of
a Docker container, or other, providing more detail if possible;
- How to reproduce the crash: what exact sequence of instructions can one
input to get the same crash? Ideally, find a minimal yet complete sequence
of instructions that yields the crash.
To ensure accurate tracking of this issue, please file a report about it at:
Hit <Enter> to quit (your terminal may close):
---
Now nothing works. I tried sage 9.1 and 9.2, and also sage.app 9.1. Nothing.
I'll stop here and wait for your help... Thanks.
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/CAFV-Ve0Vth40NuwGiLcK0KHDD_RfMn-FKPa13gaDLvbYPyAo2Q%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/CAEcArF18DCUC%3DhdL%2Bq%2BXC4nrcV6qhbpPiHD006d4QOxjmpic%3Dg%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sage-support/42cdf878-6cdc-4aaa-a462-2abe3017901bn%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sage-support/CAAWYfq27%3Dz6W5YZeap2taTWFrjygib5UYBzHA-2GGn3dwpqfrQ%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sage-support/CA%2B01voNEe4tq55jorMS_bZKSVLq3yTXwVj1S%3DkA9pZCyYcHrJQ%40mail.gmail.com.
[gap_packages-4.10.2.p1] ************************************************************************
make[1]: *** [/Applications/SageMath/local/var/lib/sage/installed/gap_packages-4.10.2.p1] Error 1
real 2m15.572s
user 1m51.981s
sys 0m20.152s
***************************************************************
Error building Sage.
The following package(s) may have failed to build (not necessarily
during this run of 'make gap_packages'):
* package: gap_packages-4.10.2.p1
log file: /Applications/SageMath/logs/pkgs/gap_packages-4.10.2.p1.log
build directory: /Applications/SageMath/local/var/tmp/sage/build/gap_packages-4.10.2.p1
The build directory may contain configuration files and other potentially
helpful information. WARNING: if you now run 'make' again, the build
directory will, by default, be deleted. Set the environment variable
SAGE_KEEP_BUILT_SPKGS to 'yes' to prevent this.
make: *** [gap_packages] Error 1
1. The version at:
sage -i gap_packages
and got: make: *** No rule to make target `all-toolchain'. Stop.
2. In sage:
libgap.eval('LoadPackage("PackageManager")')
and got: fail
3. In sage:
libgap.eval('InstallPackage("kbmag")')
and got:
--------------------------------------------------------------------------- GAPError Traceback (most recent call last) <ipython-input-20-e51e2455bf67> in <module> ----> 1 libgap.eval('InstallPackage("kbmag")') /var/tmp/sage-jc4b6yulaujayb9sr94ia88eourzeqip0oidmas3/local/lib/python3.8/site-packages/sage/libs/gap/libgap.pyx in sage.libs.gap.libgap.Gap.eval (build/cythonized/sage/libs/gap/libgap.c:4254)() 398 399 initialize() --> 400 elem = make_any_gap_element(self, gap_eval(gap_command)) 401 402 # If the element is NULL just return None instead /var/tmp/sage-jc4b6yulaujayb9sr94ia88eourzeqip0oidmas3/local/lib/python3.8/site-packages/sage/libs/gap/util.pyx in sage.libs.gap.util.gap_eval (build/cythonized/sage/libs/gap/util.c:6077)() 396 try: 397 GAP_Enter() --> 398 result = GAP_EvalString(cmd) 399 # We can assume that the result object is a GAP PList (plain list) 400 # and we should use functions for PLists directly for now; see GAPError: Error, Variable: 'InstallPackage' must have a value
And finally the Error in my computations:
--------------------------------------------------------------------------- GAPError Traceback (most recent call last) /var/tmp/sage-jc4b6yulaujayb9sr94ia88eourzeqip0oidmas3/local/lib/python3.8/site-packages/sage/libs/gap/element.pyx in sage.libs.gap.element.GapElement.__getattr__ (build/cythonized/sage/libs/gap/element.c:8322)() 735 proxy = make_GapElement_MethodProxy\ --> 736 (self.parent(), gap_eval(name), self) 737 except GAPError: /var/tmp/sage-jc4b6yulaujayb9sr94ia88eourzeqip0oidmas3/local/lib/python3.8/site-packages/sage/libs/gap/util.pyx in sage.libs.gap.util.gap_eval (build/cythonized/sage/libs/gap/util.c:6077)() 397 GAP_Enter() --> 398 result = GAP_EvalString(cmd) 399 # We can assume that the result object is a GAP PList (plain list) GAPError: Error, Variable: 'KBMAGRewritingSystem' must have a value During handling of the above exception, another exception occurred: AttributeError Traceback (most recent call last) <ipython-input-11-23587a78dfd9> in <module> ----> 1 P=Poly(G,[Integer(7),Integer(3),Integer(2)]) <string> in __init__(self, G, x, seed, alphabet, compute) <string> in __process_group(self, seed) <string> in __init__(self, fund_poly, g, label, w) <string> in word_reducer(self) <string> in kbword_reducer(F) /var/tmp/sage-jc4b6yulaujayb9sr94ia88eourzeqip0oidmas3/local/lib/python3.8/site-packages/sage/libs/gap/element.pyx in sage.libs.gap.element.GapElement.__getattr__ (build/cythonized/sage/libs/gap/element.c:8401)() 736 (self.parent(), gap_eval(name), self) 737 except GAPError: --> 738 raise AttributeError(f"'{name}' is not defined in GAP") 739 if not proxy.is_function(): 740 raise AttributeError(f"'{name}' does not define a GAP function") AttributeError: 'KBMAGRewritingSystem' is not defined in GAP
Thanks in advance.
Best regards,
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...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sage-support/CAEcArF18DCUC%3DhdL%2Bq%2BXC4nrcV6qhbpPiHD006d4QOxjmpic%3Dg%40mail.gmail.com.