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.Mon, 25 Mar 2019 14:58:00 -0500How does one install Sage in windows?http://ask.sagemath.org/question/26763/how-does-one-install-sage-in-windows/ Can someone help me with the process?
I downloaded a .ova and a .vmdk file from the mirror
Now what? phoenixFri, 08 May 2015 11:55:48 -0500http://ask.sagemath.org/question/26763/How do I install a GAP package in Sage?http://ask.sagemath.org/question/45902/how-do-i-install-a-gap-package-in-sage/ I would like to install the package DiGraphs (https://www.gap-system.org/Packages/digraphs.html) into the GAP version that is part of Sage. I just installed the latest version of Sage, Sage 8.6, on a Mac. There is a page about doing this here: https://wiki.sagemath.org/InstallingGapPackages but you will notice that at the top it says "Since GAP 4.10 release, in Sage 8.6 (Jan 2019), you should not use the following instructions!" Of course it offers no alternatives. The readme for the DiGraphs says that you should have the GAP packages IO and orb installed. I am not able to install the IO package, which I downloaded from here: https://www.gap-system.org/Packages/io.html and then put in the folder where the other GAP packages are, namely Applications/SageMath/local/share/gap/pkg/
The readme file for the IO package says to change directories to the folder containing the IO package and then run "./configure", which I have done. Next it says to run "make", but this gives me the following error:
src/io.c:14:10: fatal error: 'src/compiled.h' file not found
\#include "src/compiled.h" /* GAP headers */
Can anyone help me with this? I have had the DiGraphs package installed within GAP inside of Sage previously, but I recently got a new computer and had to reinstall everything, and it seems certain things have changed with the new version of Sage. David E. RobersonMon, 25 Mar 2019 14:58:00 -0500http://ask.sagemath.org/question/45902/Is there a package for sagecell ?http://ask.sagemath.org/question/45697/is-there-a-package-for-sagecell/ I was trying to install sagecell on an ubuntu 18.04 machines for few days now... very frustrating...
sagecell install seems to reinstall the entire sage suit and then fails on this or that.
Is there another way? Some pre-prepared apt/pip package that only installs sagecell on top of the already existing cell installation?
Thanks,
Orenorenshani7Thu, 07 Mar 2019 04:03:41 -0600http://ask.sagemath.org/question/45697/Cannot install SageMath on Ubuntu 16.04: "Maximum recursion depth exceeded"http://ask.sagemath.org/question/44785/cannot-install-sagemath-on-ubuntu-1604-maximum-recursion-depth-exceeded/I have Ubuntu 16.04.
I downloaded the binary file "sage-8.4-Ubuntu_16.04-x86_64.tar.bz2",
extracted it with:
tar jxf sage-8.4-Ubuntu_16.04-x86_64.tar.bz2
then went into the folder and ran sage:
cd SageMath
./sage
I got the following error:
RecursionError: maximum recursion depth exceeded during compilation
************************************************************************
It seems that you are attempting to run Sage from an unpacked source
tarball, but you have not compiled it yet (or maybe the build has not
finished). You should run `make` in the Sage root directory first.
If you did not intend to build Sage from source, you should download
a binary tarball instead. Read README.txt for more information.
************************************************************************
I don't think I should run make, since I downloaded a binary version, but I tried anyway and got a similar error:
RecursionError: maximum recursion depth exceeded during compilation
Makefile:31: recipe for target 'base-toolchain' failed
make: *** [base-toolchain] Error 1
I found some notes saying that it might be related to the Python version. I have both 3.7 and 2.7. Should I somehow tell SageMath to use 2.7? How?
Alternatively, is there another possible source for this error?Erel Segal-HaleviWed, 26 Dec 2018 11:56:46 -0600http://ask.sagemath.org/question/44785/Installing Sagemath 8.4 on WSL Ubuntu 18.04http://ask.sagemath.org/question/44399/installing-sagemath-84-on-wsl-ubuntu-1804/I've been having troubles doing this. I tried to download sources install the necessary deps and compile it from source, but make errored and I'd prefer installing sagemath otherwise too. `sudo apt-get install sagemath` seems like a good way to install it, however the latest version I get by doing `sudo apt-get install sagemath` on WSL 18.04 is `sagemath 8.1-7ubuntu1`. I also tried to do `sudo apt-get install sagemath=8.4`, but I received the following error:
E: Version '8.4' for 'sagemath' was not found.
How do I install the latest sagemath on Ubuntu 18.04 with `apt-get install` command?rijndaelxyzFri, 23 Nov 2018 15:16:07 -0600http://ask.sagemath.org/question/44399/Problem installing packagehttp://ask.sagemath.org/question/43179/problem-installing-package/ I am trying to download the database of reflexive 4d lattice polytopes using the command !sage -i polytopes_db_4d, but I get the error: make: *** No rule to make target 'all-toolchain'. Stop.
Not sure what this means or how to get around it, so any help or explanation would be welcome. I am relatively new to SAGE so sorry if it is something obvious!
NDaultryBallFri, 27 Jul 2018 16:04:23 -0500http://ask.sagemath.org/question/43179/problem installing sage on ubuntu18.04http://ask.sagemath.org/question/44110/problem-installing-sage-on-ubuntu1804/As written on the download page, I wanted to get the linux binaries. I can't find them.
I've obtained the source tarball for ubuntu18.4 (64bits).
I've unarchived the directory `Sagemath` and cd'ed there. I type `make` as explained.
This is the message I obtain:
> RecursionError: maximum recursion
> depth exceeded during compilation
> Makefile:31: recipe for target
> 'base-toolchain' failed make: ***
> [base-toolchain] Error 1
I've tried to install sage via apt with `sudo apt install sagemath-common`
all goes well, no error message. Then try to run sage and obtain the following message:
> │ SageMath version 8.1, Release Date:
> 2017-12-07 │ │
> Type "notebook()" for the
> browser-based notebook interface.
> │ │ Type "help()" for help.
> │ Traceback (most recent call last):
> File "/usr/share/sagemath/bin/sage-ipython", line 7, in <module>
> from sage.repl.interpreter import SageTerminalApp
> ImportError: No module named 'sage'
I had a working sage (7.?) on the same machine under ubuntu16.04 which stopped working under ubuntu18.04.
I've deleted the Sage and also the .sage directories before trying all the above.
I am at my wit's end and would greatly appreciate any help.
Le TeXnicien de surfaceMon, 29 Oct 2018 06:33:36 -0500http://ask.sagemath.org/question/44110/Windows 10: SageMath crashes on start with permission errors, but seems to work if I run "as administrator"http://ask.sagemath.org/question/41671/windows-10-sagemath-crashes-on-start-with-permission-errors-but-seems-to-work-if-i-run-as-administrator/I think I have a workaround, at least, but thought I'd post this in case there's something I can fix or if someone else comes across the same problem, because I couldn't find any mention of these errors myself.
I'm using the Windows installer 0.3 for SageMath 8.1. It appears to install without issues but when I initially opened it I got this sequence of messages:
/etc/profile: line 111: cd: /home/user: Permission denied
WARNING: Failed attempt to cd into /home/user!
mkdir: cannot create directory ‘/home/user/.sagemath-8.1’: Permission denied
cp: cannot create directory '/home/user/.sagemath-8.1': Permission denied
┌────────────────────────────────────────────────────────────────────┐
│ SageMath version 8.1, Release Date: 2017-12-07 │
│ Type "notebook()" for the browser-based notebook interface. │
│ Type "help()" for help. │
└────────────────────────────────────────────────────────────────────┘
mkdir: cannot create directory ‘/dot_sage’: Permission denied
/opt/sagemath-8.1/local/lib/python2.7/site-packages/IPython/paths.py:69: UserWarning: IPython parent '/dot_sage' is not a writable location, using a temp directory.
" using a temp directory.".format(parent))
It goes on to say Sage crashed, and asks me to email in the crash report. When I tried opening the shell or Notebook I got similar errors.
Then while groping for something to try I right-clicked and ran "as an administrator" and everything appears to resolve.
I'm not the most savvy at high-level IT stuff but I thought this was strange, as I haven't had to use that feature with anything else I've installed, and there's no shortage of crap I've installed. There's only one account on my computer, there shouldn't be administrator permission issues.cretinsgaccountWed, 21 Mar 2018 06:59:32 -0500http://ask.sagemath.org/question/41671/Sagemath on Windows 10?http://ask.sagemath.org/question/32930/sagemath-on-windows-10/ Hello all. Today, I could come up with the following news(you can google "microsoft-canonical-bring-ubuntu-linux-on-windows-10". Sorry for not writing the link, since my karma is low...)
As far as I understand, I guess it means that one can install sagemath in windows 10, directly - not using virtualbox.
In fact, in earlier versions of MS windows, like windows 7, it seemed that one should run virtualbox to run sagemath
on one's computer.
Maybe using cloud computing in sagemath homepage would be better, but I don't prefer that.
When only considering using sagemath, it would be more convenient to use Linux.
So, if the news is true, then I can directly download and install sagemath in windows 10.
Is my understanding correct?
Or is there anybody who already tried this?prosolverThu, 31 Mar 2016 10:03:59 -0500http://ask.sagemath.org/question/32930/problem on startup with illegal instructionshttp://ask.sagemath.org/question/35997/problem-on-startup-with-illegal-instructions/ hello guys,i 've just installed sage 7.0 in virtual-box 5.1.10 ,and it crushes on startup with "illegal instructions".
When i type "rm spkg/installed/mpir* spkg/installed/atlas* " which is the suggested solution i receive this anwser :
-bash: spkg/installed/mpir* No such file or directory.
Can you provide me some solutions and help me out?please help. thanks for your time. sorry for my bad english.
my os is windows 7 64-bitalexia24Tue, 13 Dec 2016 07:05:11 -0600http://ask.sagemath.org/question/35997/How to install cantera on SAGE (OS X)?http://ask.sagemath.org/question/38990/how-to-install-cantera-on-sage-os-x/ Cantera installation use brew for Mac os x, www.cantera.org/docs/sphinx/html/install.html#mac-os-x
installing brew on SAGE:
sage -sh (& ruby brews formula)
does not use SAGE pythons path.
What can I do? Of course I can get out from Jupyter sage kernel and select python kernel, but....
FilipeqgfreireThu, 28 Sep 2017 02:19:41 -0500http://ask.sagemath.org/question/38990/Installing Optional Packagehttp://ask.sagemath.org/question/8152/installing-optional-package/I have downloaded an optional package from SAGE website namely database_kohel-20060803.spkg. How to install in my SAGE 4.6 (Windows user)? I do check the website but I still cannot figure out.
Besides, I do encounter a problem to use.dbz file such as pol.001.dbz
I glad if someone can help me.Thanks.KenjiMon, 06 Jun 2011 23:32:49 -0500http://ask.sagemath.org/question/8152/Using the small group library in Sage notebookhttp://ask.sagemath.org/question/38129/using-the-small-group-library-in-sage-notebook/Is there any way to import groups from the GAP small group library into Sage notebook?
I've tried importing the library using the terminal, but I haven't been able to. When I run
sage -i database_gap
while running sage in the terminal, I get an invalid syntax error.
I am running Mac OS X 10.12.5
When I run `sage -i database_gap` in the notebook, I get the following error
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "_sage_input_9.py", line 10, in <module>
exec compile(u'open("___code___.py","w").write("# -*- coding: utf-8 -*-\\n" + _support_.preparse_worksheet_cell(base64.b64decode("c2FnZSAtaSBkYXRhYmFzZV9nYXA="),globals())+"\\n"); execfile(os.path.abspath("___code___.py"))
File "", line 1, in <module>
File "/private/var/folders/hn/_c_yl0fj0zlfwvzcy0f5138w0000gp/T/tmpEaYQvh/___code___.py", line 2
sage -i database_gap
^
SyntaxError: invalid syntaxvukovThu, 29 Jun 2017 13:46:35 -0500http://ask.sagemath.org/question/38129/why wont sage build?http://ask.sagemath.org/question/37969/why-wont-sage-build/attempting to install sage (7.6) from source on fresh ubuntu (16.04 lts) install. attempting to build in /usr/local/sage-7.6. when i try make with sudo, it says i dont have privileges to move some file. when i try with sudo, it says i can build as root... not encountered this problemo before. pretty sure i have installed on pre-requisites and repositories...
*********@**********-ThinkPad-W541:~$ cd /usr/local/sage-7.6
*********@**********-ThinkPad-W541:/usr/local/sage-7.6$ make
make build/make/Makefile
make[1]: Entering directory '/usr/local/sage-7.6'
rm -f config.log
rm: cannot remove 'config.log': Permission denied
Makefile:24: recipe for target 'build/make/Makefile' failed
make[1]: *** [build/make/Makefile] Error 1
make[1]: Leaving directory '/usr/local/sage-7.6'
Makefile:16: recipe for target 'all' failed
make: *** [all] Error 2
*********@**********-ThinkPad-W541:/usr/local/sage-7.6$ sudo make
[sudo] password for mkaepernik:
make build/make/Makefile
make[1]: Entering directory '/usr/local/sage-7.6'
rm -f config.log
mkdir -p logs/pkgs
ln -s logs/pkgs/config.log config.log
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether to enable maintainer-specific portions of Makefiles... yes
checking for root user... yes
configure: error: You cannot build Sage as root, switch to an unpriviledged user
If you would like to try to build Sage anyway (to help porting),
export the variable 'SAGE_PORT' to something non-empty.
Makefile:24: recipe for target 'build/make/Makefile' failed
make[1]: *** [build/make/Makefile] Error 1
make[1]: Leaving directory '/usr/local/sage-7.6'
Makefile:16: recipe for target 'all' failed
make: *** [all] Error 2
also, i know everything is compatible, because i just had to re-install ubuntu on my machine, so i had sage, on this same machine and same os, working fine. i might have downloaded a binary originally thoughalienfetuseaterFri, 16 Jun 2017 12:28:41 -0500http://ask.sagemath.org/question/37969/Unable to find remote helper for 'https'http://ask.sagemath.org/question/36942/unable-to-find-remote-helper-for-https/I am trying to work with github in the jupyter notebook in sage 7.3 on a debian linux machine and did:
%%sh
sage -sh
pip install --upgrade gitpython
GIT_PYTHON_GIT_EXECUTABLE='/usr/bin/git'
Then:
import git
git_url = 'https://github.com/schymans/summa.git'
repo_dir = 'summa_code'
try:
repo = git.Repo.clone_from(git_url, repo_dir)
except Exception, e:
print e
However, whenever I use any git_url with https, I get the error message `fatal: Unable to find remote helper for 'https'`
On my system-wide python, this works without problems. Did anyone experience similar problems before? Thanks for your help already!stanTue, 14 Mar 2017 04:52:50 -0500http://ask.sagemath.org/question/36942/Use system-wide installation of graphviz in sage?http://ask.sagemath.org/question/37188/use-system-wide-installation-of-graphviz-in-sage/ I am trying to install pygraphviz in sage 7.3 on a Debian jessy machine, but it already fails at:
`sage -i graphviz`
================================ WARNING =================================
You are about to download and install an unmaintained experimental
package. This probably won't work at all for you! There is no guarantee
that it will build correctly, or behave as expected. Use at your own risk!
This package will be removed in future versions of SageMath. If you care
about this package, you should make a proper new-style package instead.
For more information about making Sage packages, see
http://doc.sagemath.org/html/en/developer/packaging.html
==========================================================================
I don't want to break sage, so I am wondering if there is a way to make sage use the system-wide installation of pygraphviz instead.
stanThu, 06 Apr 2017 03:13:45 -0500http://ask.sagemath.org/question/37188/Where can I find a Windows binary for Sage 7.5 or 7.5.1?http://ask.sagemath.org/question/36601/where-can-i-find-a-windows-binary-for-sage-75-or-751/ I can only find 7.4.KaelMon, 13 Feb 2017 08:35:05 -0600http://ask.sagemath.org/question/36601/How do I solve this installation problem?http://ask.sagemath.org/question/35132/how-do-i-solve-this-installation-problem/ Hi, I'm trying to get Sage installed on my Mac, which is running the OS X El Capitan V10.11.6 , I've downloaded the .dmg file named sage-7.3-OSX_10.11.6-x86_64.dmg and extracted its contents to /Applications, opened this folder named SageMath and there I opened the sage file in the terminal as it was written on the README file.
I keep getting this error:
RecursionError: maximum recursion depth exceeded during compilation
(Some text about sage)
ERROR : The Sage installation tree has moved
from /Users/buildslave-sage/slave/binary_pkg/build/source/SageMath/jc4b6yulaujayb9sr94ia88eourzeqip0oidma
to /Applications/SageMath
(More text)
I've searched around a bit, and found out it might have something to do with having anaconda installed, which I have, but from there I really can't progress much, as I am fairly new to UNIX systems.
I really appreciate any help you guys can give me!JAlxPWed, 12 Oct 2016 09:38:30 -0500http://ask.sagemath.org/question/35132/Install sage-live on Hard-disk?http://ask.sagemath.org/question/35049/install-sage-live-on-hard-disk/Hi everybody,
I want to install sage-live-USB to my desktop hard disk but when I booting from that, I selected Install in its boot menu but no event has been occured!
How can I install sage-live on my desktop hard disk?
Can I install sage-live on my hard-disk while I boot in to the sage-live envirounment?
Thanks in advance.
mbzadeganMon, 03 Oct 2016 15:50:42 -0500http://ask.sagemath.org/question/35049/Where is sage installed?http://ask.sagemath.org/question/34337/where-is-sage-installed/ This seems like a simple question, but I am looking for an in-depth answer.
I did a manual installation on OSX by downloading the sage tar file and running `make`. I now have a sage-7.2 folder which seems to contain all of sage.
For example, sage doesn't seem to use any python libraries on my computer, but instead installs all python libraries locally in `sage-7.2/local/lib/python2.7`.
Are there any large libraries/files that sage installs that are NOT in the sage-7.2 folder? About how much space do these external files take up?
ml9nnFri, 05 Aug 2016 10:27:27 -0500http://ask.sagemath.org/question/34337/can't install lrslibhttp://ask.sagemath.org/question/34322/cant-install-lrslib/I'm on OSX 10.11.6.
sage -version
SageMath version 7.2, Release Date: 2016-05-15
I'm trying to install the package lrslib using
sage -i lrslib
real 0m10.849s
user 0m9.633s
sys 0m0.907s
Successfully installed lrslib-051
Running the test suite for lrslib-051...
lrs ext/test/cut16_11.ext > testout1
echo `grep -G Volume testout1` > testout1
echo "*Volume= 32768/14175" > testout2
diff testout1 testout2
lrs ine/test/cyclic17_8.ine > testout1
echo `grep -G Totals testout1` > testout1
echo "*Totals: vertices=935 rays=0 bases=935 integer_vertices=0" > testout2
diff testout1 testout2
rm testout1
rm testout2
real 0m0.101s
user 0m0.065s
sys 0m0.027s
Deleting temporary build directory
/Applications/SageMath-7.2.app/Contents/Resources/sage/local/var/tmp/sage/build/lrslib-051
Finished installing lrslib-051.spkg
real 1m20.160s
user 0m55.896s
sys 0m19.371s
Sage build/upgrade complete!
It seems to install successfully, however when I go to run sage I get the following error and crashlog:
***************************************************************************
IPython post-mortem report
{'commit_hash': u'44136e4',
'commit_source': 'installation',
'default_encoding': 'UTF-8',
'ipython_path': '/Applications/SageMath-7.2.app/Contents/Resources/sage/local/lib/python2.7/site-packages/IPython',
'ipython_version': '4.1.2',
'os_name': 'posix',
'platform': 'Darwin-15.6.0-x86_64-i386-64bit',
'sys_executable': '/Applications/SageMath-7.2.app/Contents/Resources/sage/local/bin/python',
'sys_platform': 'darwin',
'sys_version': '2.7.10 (default, Jun 9 2016, 11:40:29) \n[GCC 4.9.3]'}
***************************************************************************
***************************************************************************
Crash traceback:
---------------------------------------------------------------------------
---------------------------------------------------------------------------
ImportErrorPython 2.7.10: /Applications/SageMath-7.2.app/Contents/Resources/sage/local/bin/python
Wed Aug 3 12:05:41 2016
A problem occurred executing Python code. Here is the sequence of function
calls leading up to the error, with the most recent (innermost) call last.
/Applications/SageMath-7.2.app/Contents/Resources/sage/src/bin/sage-ipython in <module>()
1 #!/usr/bin/env python
2 # -*- coding: utf-8 -*-
3 """
4 Sage IPython startup script.
5 """
6
7 # Install extra readline commands before IPython initialization
8 from sage.repl.readline_extra_commands import *
9
10 from sage.repl.interpreter import SageTerminalApp
11
12 app = SageTerminalApp.instance()
---> 13 app.initialize()
global app.initialize = <bound method SageTerminalApp.initialize of <sage.repl.interpreter.SageTerminalApp object at 0x1032dc390>>
14 app.start()
<decorator-gen-111> in initialize(self=<sage.repl.interpreter.SageTerminalApp object>, argv=None)
/Applications/SageMath-7.2.app/Contents/Resources/sage/local/lib/python2.7/site-packages/traitlets/config/application.py in catch_config_error(method=<function initialize>, app=<sage.repl.interpreter.SageTerminalApp object>, *args=(None,), **kwargs={})
59
....
....
....
/Applications/SageMath-7.2.app/Contents/Resources/sage/local/lib/python2.7/site-packages/sage/misc/functional.py in <module>()
15 #*****************************************************************************
16 # Copyright (C) 2004 William Stein <------------->
17 #
18 # This program is free software: you can redistribute it and/or modify
19 # it under the terms of the GNU General Public License as published by
20 # the Free Software Foundation, either version 2 of the License, or
21 # (at your option) any later version.
22 # -------------
23 #*****************************************************************************
24
25 import sage.misc.latex
26 import sage.interfaces.expect
27 import sage.interfaces.mathematica
28
29
---> 30 from sage.rings.complex_double import CDF
global sage.rings.complex_double = undefined
global CDF = undefined
31 from sage.rings.real_double import RDF, RealDoubleElement
32
33 import sage.rings.real_mpfr
34 import sage.rings.complex_field
35 import sage.rings.integer
36
37 import __builtin__
38
39 LOG_TEN_TWO_PLUS_EPSILON = 3.321928094887363 # a small overestimate of log(10,2)
40
41 ##############################################################################
42 # There are many functions on elements of a ring, which mathematicians
43 # usually write f(x), e.g., it is weird to write x.log() and natural
44 # to write log(x). The functions below allow for the more familiar syntax.
45 ##############################################################################
ImportError: dlopen(/Applications/SageMath-7.2.app/Contents/Resources/sage/local/lib/python2.7/site-packages/sage/rings/complex_double.so, 2): Symbol not found: _gsl_complex_abs
Referenced from: /Applications/SageMath-7.2.app/Contents/Resources/sage/local/lib/python2.7/site-packages/sage/rings/complex_double.so
Expected in: flat namespace
in /Applications/SageMath-7.2.app/Contents/Resources/sage/local/lib/python2.7/site-packages/sage/rings/complex_double.so
***************************************************************************
This happens even after a clean install (from binary) of Sage. Any help would be greatly appreciated. Thanks!jwaltersWed, 03 Aug 2016 11:08:03 -0500http://ask.sagemath.org/question/34322/problem installing sage on mac os x 10.11.5http://ask.sagemath.org/question/34201/problem-installing-sage-on-mac-os-x-10115/I am running a mac os x 10.11.5 and would like to use sage locally.
1) I first tried to install from source code. I checked that all the prerequisites were satisfied, then proceeded to download the sources, follow the steps and 'make'. it took some 10 hours; unfortunately when it finished it said it did not compile successfully.
2) so i removed the source folder from step 1, and tried the installation from binaries. I downloaded the sage-7.2-OSX_10.11.4-x86_64.dmg , then paste the folder SageMath into /Applications. When opening the sage executable, I get this error message:
ERROR: The Sage installation tree has moved from /Users/buildslave-sage/slave/binary_pkg/build/source/SageMath/jc4b6yulaujayb9sr94ia88eourzeqip0oidma to /Applications/SageMath This is not supported, and Sage will not work. To install Sage from a binary package: (....)
1. Open the .tar.bz2 archive (or .dmg on OSX)
2. Move the SageMath folder/app to where you want it to be. You can
also rename the directory now.
3. Start sage for the first time. This will then automatically patch
paths in binaries.
After starting Sage for the first time you cannot change the
installation any more. To install Sage elsewhere, start over from the
binary package. Or recompile Sage from scratch in the new location
("make distclean && make") here
Maybe [this thread](https://groups.google.com/forum/#!topic/sage-devel/OBv5x1v3_6M) is related, but I didn't understand what's going on. I tried the `csrutil disable` (after step 2), but nothing changed.
mforetsSun, 24 Jul 2016 04:17:15 -0500http://ask.sagemath.org/question/34201/When installing SageMath in Ubuntu 16.04 64 bit, I get the following error message after entering sudo make install:http://ask.sagemath.org/question/34179/when-installing-sagemath-in-ubuntu-1604-64-bit-i-get-the-following-error-message-after-entering-sudo-make-install/ echo "Experimental use only!"
Experimental use only!
if [ "" = "" ]; then \
echo >&2 "Set the environment variable DESTDIR to the install path."; \
exit 1; \
fi
Set the environment variable DESTDIR to the install path.
Makefile:133: recipe for target 'install' failed
make: *** [install] Error 1
EoinThu, 21 Jul 2016 23:04:09 -0500http://ask.sagemath.org/question/34179/can not use pre-built binaryhttp://ask.sagemath.org/question/33007/can-not-use-pre-built-binary/I am trying to use the pre-built binary for Ubuntu 15.10, sage-7.1-Ubuntu_15.10-x86_64.tar.bz2. I have extracted it with tar -xvf sage-7.1-Ubuntu_15.10-x86_64.tar.bz2. And it creates the folder SageMath. When I try to run ./sage for the first time from the extracted folder I have the result below. Is it normal? What can I do to run sage?
.../SageMath$ ./sage
File "/home/ste/Downloads/SageMath/relocate-once.py", line 12
print "relocate-once.py -d <destination>"
^
SyntaxError: Missing parentheses in call to 'print'
┌────────────────────────────────────────────────────────────────────┐
│ SageMath Version 7.1, Release Date: 2016-03-20 │
│ Type "notebook()" for the browser-based notebook interface. │
│ Type "help()" for help. │
└────────────────────────────────────────────────────────────────────┘
ERROR: The Sage installation tree has moved
from /home/buildbot/slave/binary_pkg/build/source/SageMath/jc4b6yulaujayb9sr94ia88eourzeqip0oidmas391yaj2
to /home/ste/Downloads/SageMath
...
Solved: I use python 3.5, but apparently, in order to run sage for the first time, you should use python 2.7 ioTue, 05 Apr 2016 10:33:39 -0500http://ask.sagemath.org/question/33007/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/how to produce graphics from clihttp://ask.sagemath.org/question/32151/how-to-produce-graphics-from-cli/i have just installed sage to ubuntu 15.10, and have been following along the 'tour of sage' and have been trying to get graphics to be produced from different functions, for example
sage: show(plot(sin(x) + sin(1.6*x), 0, 40))
Launched png viewer for Graphics object consisting of 1 graphics primitive
but not png viewer was launched. am i missing something?alienfetuseaterMon, 11 Jan 2016 12:57:10 -0600http://ask.sagemath.org/question/32151/Installing Sage 6.8 on OSX 10.10http://ask.sagemath.org/question/28822/installing-sage-68-on-osx-1010/After several days of attempting to install Sage on my MacBook (mid 2010) I'm about to give up.
First, I tried the binaries. Both the traditional version **sage-6.8-x86_64-Darwin-OSX_10.10_x86_64.dmg** and the app version **sage-6.8-x86_64-Darwin-OSX_10.10_x86_64-app.dmg** gave me an `Unhandled SIGILL` error when I attempted to run the simple expression `1.1+1.0` . The `sage --testall` failed with the same error in many tests.
I then attempted to build sage from the source code. The default Xcode clang compiler didn't work. Maybe because it doesn't have fortran and other prerequisites. I then downloaded and built the GNU gcc compiler. After several failed attempts to build sage with that I finally tried building sage with it's internal gcc compiler [`export SAGE_INSTALL_GCC=yes`] ... and that failed too. Both my built GNU gcc and sage's internal gcc compilers gave me the same error:
configure: Configuring included Boehm GC library:
/Users/<myid>/sage-6.8/local/var/tmp/sage/build/ecl-13.5.1.p0/src/src/configure: line 5963: /Users/<myid>/sage-6.8/local/var/tmp/sage/build/ecl-13.5.1.p0/src/src/gc-unstable/configure: No such file or directory
configure: error: Unable to configure Boehm-Weiser GC
Error - Failed to configure ECL ... exiting
Before I quit, can anyone offer any advice on what I should do?jox58Tue, 11 Aug 2015 23:49:21 -0500http://ask.sagemath.org/question/28822/Error installing sage from git on Cygwin64http://ask.sagemath.org/question/27266/error-installing-sage-from-git-on-cygwin64/ The error message is:
**FIND: Invalid switch
/sage/src/bin/sage-env: line 434: /sage/local/lib/R/share/Makevars.site: No such file or directory**
It seems that the packages ecm-6.4.4 and ncurses-5.9.20131221 failed to build. Does anyone know how to circumvent this?
R AltmanMon, 06 Jul 2015 12:03:58 -0500http://ask.sagemath.org/question/27266/Compilation problem from GIThttp://ask.sagemath.org/question/26863/compilation-problem-from-git/ Hello! I've been trying for a while to install `sagemath` from the git repo, but it continues to fail.
I'm doing the following:
$ mkdir Software
$ cd Software git clone
$ git://github.com/sagemath/sage.git
$ cd sage
$ export MAKE="make -j6"
$ make
Everything seems OK, but at some point (for details see the [log file](http://www.filedropper.com/flintqs-20070817p8))
***************************************************************
Error building Sage.
The following package(s) may have failed to build:
package: flintqs-20070817.p8
log file: /home/oscar/Software/sage/sage/logs/pkgs/flintqs-20070817.p8.log
build directory: /home/oscar/Software/sage/sage/local/var/tmp/sage/build/flintqs-20070817.p8
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.
Makefile:19: recipe for target 'build' failed
make: *** [build] Error 1
-------
**Can anyone what is the problem?**
By the way I'm running Debian (testing) on a Samsung laptop with i7 processor.DoxMon, 18 May 2015 12:37:36 -0500http://ask.sagemath.org/question/26863/Error installing package r-3.1.2.p0http://ask.sagemath.org/question/26468/error-installing-package-r-312p0/
I want to install sage-6.5 from source code, but I encounter the message "Error installing package r-3.1.2.p0".
I have tried to use "SAGE_INSTALL_GCC=yes make", it fails too.
My platform is **Ubuntu 14.04 x86_64**.
I find the error message in the log file:
*/home/steven/Documents/Softwares/sage-6.5/local/var/tmp/sage/build/r-3.1.2.p0/src/bin/exec/R: /usr/lib/x86_64-linux-gnu/libgomp.so.1: version `GOMP_4.0' not found (required by /home/steven/Documents/Softwares/sage-6.5/local/var/tmp/sage/build/r-3.1.2.p0/src/lib/libR.so)*
I don't know how to fix it. Can someone be helpful?goldenratioWed, 08 Apr 2015 11:57:42 -0500http://ask.sagemath.org/question/26468/