ASKSAGE: Sage Q&A Forum - RSS feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Fri, 05 Feb 2016 18:16:24 +0100sage 7 installation failed through ppa on ubuntu 14.04https://ask.sagemath.org/question/32467/sage-7-installation-failed-through-ppa-on-ubuntu-1404/ Selecting previously unselected package sagemath-upstream-binary.
(Reading database ... 1399948 files and directories currently installed.)
Preparing to unpack .../sagemath-upstream-binary_7.0~aimsppa1~qa201602031255151_amd64.deb ...
Unpacking sagemath-upstream-binary (7.0~aimsppa1~qa201602031255151) ...
Processing triggers for mime-support (3.54ubuntu1.1) ...
Processing triggers for gnome-menus (3.10.1-0ubuntu2) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu1) ...
Processing triggers for bamfdaemon (0.5.1+14.04.20140409-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Setting up sagemath-upstream-binary (7.0~aimsppa1~qa201602031255151) ...
Running Sage once as root to set paths
Rewriting paths for your new installation directory
===================================================
This might take a few minutes but only has to be done once.
patching /usr/lib/sagemath/src/build/cythonized/sage/rings/real_arb.c
Traceback (most recent call last):
File "/usr/lib/sagemath/relocate-once.py", line 85, in <module>
p('src/build/cythonized/sage/rings/real_arb.c').substitute().save()
File "/usr/lib/sagemath/relocate-once.py", line 70, in __call__
return FilePatch(self, filename)
File "/usr/lib/sagemath/relocate-once.py", line 21, in __init__
self.st = os.stat(filename)
OSError: [Errno 2] No such file or directory: '/usr/lib/sagemath/src/build/cythonized/sage/rings/real_arb.c'
┌────────────────────────────────────────────────────────────────────┐
│ SageMath Version 7.0, Release Date: 2016-01-19 │
│ Type "notebook()" for the browser-based notebook interface. │
│ Type "help()" for help. │
└────────────────────────────────────────────────────────────────────┘
ERROR: The Sage installation tree has moved
from /mnt/highperf/buildbot/slave/binary_pkg/build/source/SageMath/jc4b6yulaujayb9sr94ia88eourzeqip0oidma
to /usr/lib/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")
dpkg: error processing package sagemath-upstream-binary (--configure):
subprocess installed post-installation script returned error exit status 1
E: Sub-process /usr/bin/dpkg returned an error code (1)
karteek.yvFri, 05 Feb 2016 18:16:24 +0100https://ask.sagemath.org/question/32467/Jupyter doesn't use the built-in MathJaxhttps://ask.sagemath.org/question/31542/jupyter-doesnt-use-the-built-in-mathjax/I have two copies of MathJax. One in /usr/lib/sagemath/local/share/mathjax, another in /usr/share/javascript/mathjax.
I open up the jupyter notebook: `sage -n jupyter`. I open a notebook and what I get is
> Math/LaTeX rendering will be disabled.
>
> If you have administrative access to
> the notebook server and a working
> internet connection, you can install a
> local copy of MathJax for offline use
> with the following command on the
> server at a Python or Jupyter prompt:
>
> >>> from Jupyter.external import mathjax; mathjax.install_mathjax()
But I don't want a third (sic!) copy of MathJax on my computer! How can I make Jupyter use the existing ones?
I'm using Linux Mint 17.2, used the sagemath-upstream-binary package from the PPA.marmistrzSun, 13 Dec 2015 09:18:10 +0100https://ask.sagemath.org/question/31542/MathJax stopped workinghttps://ask.sagemath.org/question/31404/mathjax-stopped-working/I created a couple of commands and realized they produce no output. If typesetting is turned to false, then the output is produced. When I go to the print tab, I get the following error:
File failed to load: localhost:8080/javascript/mathjax/jax/output/SVG/config.js
Why did it suddenly stop working?
I'm using Linux Mint 17.2, used the sagemath-upstream-binary package from the PPA. I'm using the Sage notebook. My commands are
x = var('x')
w = x^4 - (1+3*i)*x^3 - (2-4*i)*x^2 + (6-2*i)*x - 4 - 4*i
p = x^4 + (1-3*i)*x^3 - (4+3*i)*x^2 - (4-2*i)*x + 2*i
solve(w,x)
I tried using Jupyter but I get the following error while creating a notebook in Jupyter:
Failed to retrieve MathJax from '../nbextensions/mathjax/MathJax.js'
although I have MathJax installed locally in /usr/share/javascript/mathjax and in /usr/lib/sagemath/local/share/mathjaxmarmistrzTue, 08 Dec 2015 09:00:37 +0100https://ask.sagemath.org/question/31404/Debian PPA is missing the sagemath-upstearm-binary packagehttps://ask.sagemath.org/question/24148/debian-ppa-is-missing-the-sagemath-upstearm-binary-package/ The package is missing from the PPA, any ideas why?ventsyvTue, 16 Sep 2014 15:33:41 +0200https://ask.sagemath.org/question/24148/Ubuntu PPA not updatinghttps://ask.sagemath.org/question/10991/ubuntu-ppa-not-updating/I'm using Ubuntu and have previously had my sage automatically update to the latest version. It's now stalled at 5.13 and didn't upgrade to 6.0 or 6.1.
I followed the instructions on [http://sagemath.org/download-linux.html](http://sagemath.org/download-linux.html) which says to give these commands.
apt-add-repository -y ppa:aims/sagemath
apt-get update
apt-get install sagemath-upstream-binary
This used to work but has stopped. Any ideas?Ed ScheinermanTue, 04 Feb 2014 20:17:52 +0100https://ask.sagemath.org/question/10991/does ubuntu ppa update 32-bit version ??https://ask.sagemath.org/question/10853/does-ubuntu-ppa-update-32-bit-version/ I have installed sage from ubuntu ppa into my 32-bit ubuntu as described at http://www.sagemath.org/download-linux.html but it did not update since 5.8.
How regularly this repository is updated? Will 6.0 be there?
ADuC812Thu, 26 Dec 2013 06:23:14 +0100https://ask.sagemath.org/question/10853/