Bug#866508: sagemath: sage fail at starting with: ImportError: No module named 'sage'

Ximin Luo infinity0 at debian.org
Mon Jul 3 21:33:38 UTC 2017


Package: sagemath
Followup-For: Bug #866508
Control: tags -1 + moreinfo unreproducible
Control: severity -1 important

Sorry, I can't reproduce this, even from a clean sid schroot. What does it say
when you run each of the following:

$ dpkg -S /usr/lib/python2.7/dist-packages/sage/__init__.py
$ dpkg -L sagemath | xargs -rn1 test -e; echo $?
$ dpkg -L sagemath-common | xargs -rn1 test -e; echo $?
$ python -c 'import numpy'; echo $?

Expected outputs are:

sagemath-common: /usr/lib/python2.7/dist-packages/sage/__init__.py
0
0
0

X

-- System Information:
Debian Release: 9.0
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'buildd-unstable'), (300, 'unstable'), (100, 'experimental'), (1, 'experimental-debug')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.9.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8), LANGUAGE=en_GB:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages sagemath depends on:
ii  cysignals-tools                              1.3.2+ds-1
ii  cython                                       0.25.2-1+sage1
ii  ecl                                          16.1.2-2
ii  eclib-tools                                  20170330-1
ii  f2c                                          20100827-3
ii  fflas-ffpack                                 2.2.2-4
ii  flintqs                                      1:1.0-1+b1
ii  gap-core                                     4r8p6-2
ii  gfan                                         0.5+dfsg-6
ii  gmp-ecm                                      7.0.4+ds-1
ii  ipython                                      5.1.0-3
ii  iso-codes                                    3.75-1
ii  jmol                                         14.6.4+2016.11.05+dfsg1-3
ii  lcalc                                        1.23+dfsg-6+b1
ii  less                                         481-2.1
ii  libatlas3-base [liblapack.so.3]              3.10.3-1+b1
ii  libblas3 [libblas.so.3]                      3.7.0-2
ii  libbrial-groebner0                           0.8.7-1
ii  libbrial0                                    0.8.7-1
ii  libc6                                        2.24-12
ii  libcdd-tools                                 094h-1+b1
ii  libcliquer1                                  1.21-1+b2
ii  libec3                                       20170330-1
ii  libecm1                                      7.0.4+ds-1
ii  libflint-2.5.2                               2.5.2-15
ii  libflint-arb1                                2.8.1-3
ii  libgap-sage-4                                4.8.6+3+20160327g69a66f0+dsx-2
ii  libgcc1                                      1:7.1.0-7
ii  libgd3                                       2.2.4-2
ii  libgivaro9                                   4.0.2-5
ii  libglpk40                                    4.62-1
ii  libgmp10                                     2:6.1.2+dfsg-1
ii  libgmpxx4ldbl                                2:6.1.2+dfsg-1
ii  libgsl2                                      2.3+dfsg-1
ii  libiml0                                      1.0.4-1+b2
ii  libjs-mathjax                                2.7.0-2
ii  libjs-three                                  80+dfsg2-1
ii  liblapack3 [liblapack.so.3]                  3.7.0-2
ii  liblfunction0                                1.23+dfsg-6+b1
ii  liblinbox-1.4.2-0                            1.4.2-3
ii  liblinboxsage-1.4.2-0                        1.4.2-3
ii  liblrcalc1                                   1.2-2+b1
ii  libm4ri-0.0.20140914                         20140914-2+b1
ii  libm4rie-0.0.20150908                        20150908-1
ii  libmpc3                                      1.0.3-1+b2
ii  libmpfi0                                     1.5.1+ds-4
ii  libmpfr4                                     3.1.5-1
ii  libntl27                                     9.9.1-3
ii  libopenblas-base [liblapack.so.3]            0.2.19-3
ii  libpari-gmp-tls5                             2.9.1-1
ii  libplanarity0                                3.0.0.5-1+b1
ii  libpng16-16                                  1.6.29-3
ii  libppl14                                     1:1.2-1
ii  libpynac10                                   0.7.5-2
ii  libratpoints-2.1.3                           1:2.1.3-1+b2
ii  libreadline7                                 7.0-3
ii  librw0                                       0.8+ds-1
ii  libsingular4                                 1:4.1.0-p3+ds-2
ii  libsingular4-dev                             1:4.1.0-p3+ds-2
ii  libstdc++6                                   7.1.0-7
ii  libsymmetrica2                               2.0+ds-4
ii  libzn-poly-0.9                               0.9-3+b2
ii  maxima-sage                                  5.39.0+ds-3
ii  maxima-sage-doc                              5.39.0+ds-3
ii  maxima-sage-share                            5.39.0+ds-3
ii  nauty                                        2.6r7+ds-1
ii  octave                                       4.0.3-3
ii  palp                                         2.1-3+b1
ii  pari-doc                                     2.9.1-1
ii  pari-galdata                                 0.20080411-2
ii  pari-gp                                      2.9.1-1
ii  pari-seadata                                 0.20090618-1
ii  python                                       2.7.13-2
ii  python-alabaster                             0.7.8-1
ii  python-babel                                 2.4.0+dfsg.1-2
ii  python-backports-abc                         0.5-1
ii  python-backports-shutil-get-terminal-size    1.0.0-3
ii  python-backports.ssl-match-hostname          3.5.0.1-1
ii  python-brial                                 0.8.7-1
ii  python-configparser                          3.3.0r2-2
ii  python-crypto                                2.6.1-7
ii  python-cvxopt                                1.1.4-1.5
ii  python-cycler                                0.10.0-1
ii  python-cysignals-pari                        1.6.4+ds-1
ii  python-decorator                             4.0.11-1
ii  python-docutils                              0.13.1+dfsg-2
ii  python-enum34                                1.1.6-1
ii  python-flask                                 0.12.2-1
ii  python-flask-autoindex                       0.6-1
ii  python-flask-babel                           0.11.2-2
ii  python-flask-oldsessions                     0.10+git20121007-1
ii  python-flask-openid                          1.2.5+dfsg-2
ii  python-flask-silk                            0.2-6
ii  python-fpylll                                0.2.4+ds-1~sage1
ii  python-functools32                           3.2.3.2-3
ii  python-future                                0.15.2-4
ii  python-gd                                    0.59-1
ii  python-gnutls                                3.0.0-1
ii  python-imagesize                             0.7.1-1
ii  python-ipython-genutils                      0.1.0-2
ii  python-itsdangerous                          0.24+dfsg1-2
ii  python-jsonschema                            2.5.1-6
ii  python-matplotlib                            2.0.0+dfsg1-2
ii  python-mistune                               0.7.3-1
ii  python-moinmoin                              1.9.9-1
ii  python-mpmath                                0.19-3
ii  python-networkx                              1.11-2
ii  python-numpy [python-numpy-abi9]             1:1.12.1-3
ii  python-openid                                2.2.5-6
ii  python-path                                  10.1-1
ii  python-pathlib2                              2.2.1-1
ii  python-pexpect                               4.2.1-1
ii  python-pickleshare                           0.7.4-1
ii  python-pil                                   4.0.0-4
ii  python-pip                                   9.0.1-2
ii  python-pkgconfig                             1.2.2-1
ii  python-ply                                   3.9-1
ii  python-prompt-toolkit                        1.0.14-1
ii  python-psutil                                5.0.1-1
ii  python-ptyprocess                            0.5.1-1
ii  python-pygments                              2.2.0+dfsg-1
ii  python-rpy2                                  2.8.5-1
ii  python-sagenb                                1.0.1+ds1-1
ii  python-sagenb-export                         3.2-1
ii  python-scipy                                 0.18.1-2
ii  python-setuptools                            36.0.1-1
ii  python-setuptools-scm                        1.15.0-1
ii  python-simplegeneric                         0.8.1-1
ii  python-singledispatch                        3.4.0.3-2
ii  python-snowballstemmer                       1.2.1-1
ii  python-sphinx                                1.5.6-1
ii  python-sympy                                 1.0-3
ii  python-terminado                             0.6-1
ii  python-tk                                    2.7.13-1
ii  python-tornado                               4.5.1-2
ii  python-traitlets                             4.3.1-1
ii  python-twisted                               16.6.0-2
ii  python-tz                                    2017.2-2
ii  python-vcversioner                           2.16.0.0-1
ii  python-wcwidth                               0.1.7+dfsg1-1
ii  python-werkzeug                              0.12.2+dfsg1-2
ii  python-zmq                                   16.0.2-2
ii  python-zope.interface                        4.3.2-1
ii  python2.7                                    2.7.13-2
ii  python3-dev                                  3.5.3-1
ii  r-base-dev                                   3.3.3-1
ii  r-cran-lattice                               0.20-35-1
ii  rubiks                                       20070912-2+b1
ii  sagemath-common                              7.6-2
ii  sagemath-database-conway-polynomials         0.5-2
ii  sagemath-database-elliptic-curves            0.8-1
ii  sagemath-database-graphs                     20161026+dfsg-1
ii  sagemath-database-mutually-combinatorial-de  20140630-2
ii  sagemath-database-polytopes                  20120220+dfsg-2
ii  singular                                     1:4.1.0-p3+ds-2
ii  singular-doc                                 1:4.1.0-p3+ds-2
ii  sqlite3                                      3.16.2-5
ii  sympow                                       1.023-8
ii  tachyon                                      0.99~b6+dsx-8
ii  xcas                                         1.2.3.25+dfsg1-4
ii  zlib1g                                       1:1.2.8.dfsg-5

Versions of packages sagemath recommends:
ii  sagemath-doc-en     7.6-2
ii  sagemath-jupyter    7.6-2
ii  sagetex             3.0+ds-4
ii  texlive-latex-base  2016.20170123-5

sagemath suggests no packages.

-- no debconf information



More information about the debian-science-maintainers mailing list