ASKSAGE: Sage Q&A Forum - Latest question feedhttp://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Fri, 02 Aug 2019 14:03:57 -0500I just built a Sage system. What files may I delete with impunity?http://ask.sagemath.org/question/47352/i-just-built-a-sage-system-what-files-may-i-delete-with-impunity/I have just built Sage 7.6 on an Apple iMac 8,1 running OS X version 10.11.6. I started with a download of a compressed source distribution from the Sage github repository (without cloning the repository itself, since I don't plan to contribute any development ideas or comments for awhile). Doctesting went very well, with only two failed tests out of the entire suite:
sage -t src/sage/doctest/test.py # 1 doctest failed
sage -t src/sage/modules/vector_rational_dense.pyx # 1 doctest failed
I also downloaded the equivalent binary distribution and doctested that, obtaining these results:
sage -t src/sage/calculus/calculus.py # 1 doctest failed
sage -t src/sage/doctest/test.py # 1 doctest failed
sage -t src/sage/graphs/digraph_generators.py # 3 doctests failed
sage -t src/sage/graphs/graph_generators.py # 5 doctests failed
sage -t src/sage/graphs/hypergraph_generators.py # 7 doctests failed
sage -t src/sage/modules/vector_rational_dense.pyx # 1 doctest failed
sage -t src/sage/tests/cmdline.py # Timed out after testing finished
I did expect my own build to do better, but the installation I ended up with is fully 2 GB larger than what came in the binary distribution. Much (more than 1/3) of the overage is in a directory
../sage-7.6/local/share/doc/sage/doctrees
which is not present in the binary distribution, and I assume it is only of interest to developers. Is that correct? I will trim my build by also removing two large files
../sage-7.6/src/build/temp.macosx.10.9...
../sage-7.6/src/build/lib.macosx.10.9...
but keep my log and upstream files in case I want to review the build or look at the sources. All this is pending any further advice I get in the next few days about files that are generally only of interest to developers.dyne2meterFri, 02 Aug 2019 14:03:57 -0500http://ask.sagemath.org/question/47352/Process Sage illegal instruction: 4http://ask.sagemath.org/question/44135/process-sage-illegal-instruction-4/If this is a known bug, I've not been able to find a solution. Please advice.
I get this error:
Process Sage illegal instruction: 4
when I run this code:
from matplotlib import rc
g=Graph({1:[2,3], 2:[1,3], 3:[1,2]});
latex(g.plot(figsize=[2,2],vertex_size=450,layout='spring',color_by_label=True));
It used to run. This is not new code. The versions I'm running are:
Mac OS X El Capitan 10.11.6 (15G22010)
XCode Version 8.0 (8A218a)
SageMath version 8.3, Release Date: 2018-08-03
GNU Emacs 27.0.50 (build 1, x86_64-apple-darwin15.6.0, NS appkit-1404.47 Version 10.11.6 (Build 15G22010))
ob-sagemath 0.4
sage-shell-mode 0.3ufoppThu, 01 Nov 2018 01:50:54 -0500http://ask.sagemath.org/question/44135/Cna't run sage on my mac mini.http://ask.sagemath.org/question/39109/cnat-run-sage-on-my-mac-mini/ I have a 2010 Mac mini running El Capitan (OSX 10.11.6). I downloaded and installed sage-8.0-OSX_10.11.6-x86_64.app.dmg. The MD5 checksum was correct. When I first tried to run the app, it failed to run because it was "from an unknown developer." I followed the procedure to override this, and now, when I click on the icon in launchpad, nothing happens. Have I downloaded the wrong file? Is there a way to run the app from the command line so that I might at least get an error message? saulTue, 10 Oct 2017 18:57:35 -0500http://ask.sagemath.org/question/39109/Cannot get Maxima to run in terminal in OS10.11.6http://ask.sagemath.org/question/36239/cannot-get-maxima-to-run-in-terminal-in-os10116/I downloaded Sage-math-7.4.app for MacOSX (running El Capitan on 2016 Mac Book). Double clicked SageMath-7.4.app. I selected Terminal Session>Math>maxima . A terminal window appears with the following text:
Last login: Mon Jan 9 19:09:51 on ttys001 /Users/unlmath/Desktop/SAGE/SageMath-7.4.app/Contents/Resources/sage/sage --maxima; exit MacBook-Pro:~ unlmath$ /Users/unlmath/Desktop/SAGE/SageMath-7.4.app/Contents/Resources/sage/sage --maxima; exit ;;; Loading #P"/Users/unlmath/Desktop/SAGE/SageMath-7.4.app/Contents/Resources/sage/local/lib/ecl/sb-bsd-sockets.fas" ;;; Loading #P"/Users/unlmath/Desktop/SAGE/SageMath-7.4.app/Contents/Resources/sage/local/lib/ecl/sockets.fas"
Condition of type: END-OF-FILE Unexpected end of file on #<sequence-input stream="" 000000010b9691e0="">. No restarts available.
Top level.
>
As far as I can tell Maxima is not running. I'm not sure what is running at the ">" prompt. I haven't found anything on-line describing this problem. If I select Terminal Session>Math>gap it runs gap in the terminal, and if I select Terminal Session>sage it runs sage. Maxima behaves differently. I'd like to get it working.PastaMon, 09 Jan 2017 18:59:03 -0600http://ask.sagemath.org/question/36239/Sage fails to install on OSX El Capitanhttp://ask.sagemath.org/question/36044/sage-fails-to-install-on-osx-el-capitan/I am trying to install from sage-7.4-OSX_10.11.6-x86_64.app . I get a long terminal message about python errors. After that, whenever I try to open a terminal or notebook in Sage, I again get long terminal messages about moved directories. I did not move anything.
peterbacsiSat, 17 Dec 2016 12:00:49 -0600http://ask.sagemath.org/question/36044/how can I speed up latexmk (sagetex) on a Mac?http://ask.sagemath.org/question/34362/how-can-i-speed-up-latexmk-sagetex-on-a-mac/I'm running latexmk on a Mac with sage 7.2 installed.
I'm confused about why the compilation process with tex files that use sagetex seem to take either 15-20 seconds or less than a second. I understand that there may be previously-generated files (plots, etc), but I have controlled for that by removing those files before each compilation.
Is there any way I can get consistent (and hopefully fast) compile times for my sagetex documents?crucalculusSat, 06 Aug 2016 22:18:23 -0500http://ask.sagemath.org/question/34362/Is it possible to install sage 7.1 on OSX 10.11?http://ask.sagemath.org/question/32916/is-it-possible-to-install-sage-71-on-osx-1011/I can't get the binary app (7.1) to install on OSX 10.11 -- the same error appears with 7.2 beta0.
The install fails at the setting up the paths stage when the app is clicked for the first time.
The error is shown below. Is this fixable? Switching SIP off has no effect.
Dess-MacBook:~ des$ '/Applications/SageMath-7.1.app/Contents/Resources/sage/sage' --notebook
File "/Applications/SageMath-7.1.app/Contents/Resources/sage/relocate-once.py", line 12
print "relocate-once.py -d <destination>"
^
SyntaxError: Missing parentheses in call to 'print'
Traceback (most recent call last):
File "/Applications/SageMath-7.1.app/Contents/Resources/sage/src/bin/sage-notebook", line 7, in <module>
import argparse
File "/Applications/SageMath-7.1.app/Contents/Resources/sage/local/lib/python/argparse.py", line 85, in <module>
import collections as _collections
File "/Applications/SageMath-7.1.app/Contents/Resources/sage/local/lib/python/collections.py", line 9, in <module>
from operator import itemgetter as _itemgetter, eq as _eq
ImportError: dlopen(/Applications/SageMath-7.1.app/Contents/Resources/sage/local/lib/python2.7/lib-dynload/operator.so, 2): Symbol not found: __PyUnicodeUCS4_AsDefaultEncodedString
Referenced from: /Applications/SageMath-7.1.app/Contents/Resources/sage/local/lib/python2.7/lib-dynload/operator.so
Expected in: flat namespace
in /Applications/SageMath-7.1.app/Contents/Resources/sage/local/lib/python2.7/lib-dynload/operator.so
Dess-MacBook:~ des$
professordesWed, 30 Mar 2016 14:38:18 -0500http://ask.sagemath.org/question/32916/What is the status of Sage on OS X 10.11 (El Capitan)?http://ask.sagemath.org/question/31422/what-is-the-status-of-sage-on-os-x-1011-el-capitan/ The binary page for OS X says that Sagemath doesn't work on OS X 10.11, then lists a workaround that involves temporarily disabling System Integrity Protection. The trac page for the problem, #19370, lists the problem as "fixed". What's the correct status? Is the "fix" just to disable SIP? And is this necessary to run Sagemath itself or just the installer?jsdTue, 08 Dec 2015 18:44:14 -0600http://ask.sagemath.org/question/31422/