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.Sat, 12 Oct 2024 17:08:26 +0200Error during Configuration with WSLhttps://ask.sagemath.org/question/79640/error-during-configuration-with-wsl/Hi to everyone, i am trying to install SageMath with WSL
I'm following this guide: [doc.sagemath.org/html/en/installation/source.html#wsl-post-installation-notes](https://doc.sagemath.org/html/en/installation/source.html#wsl-post-installation-notes)
During the compilation i find this error:
make[4]: *** [Makefile:3425: giac-SAGE_LOCAL-no-deps] Error 1
make[3]: *** [Makefile:3425: /home/momo/sage/sage-10.4/local/var/lib/sage/installed/giac-1.9.0.15p0] Error 2
make[2]: *** [Makefile:3043: all-start] Error 2
make[2]: Leaving directory '/home/momo/sage/sage-10.4/build/make'
Here the log file:
alabaster-0.7.16.log ecl-24.5.10.time idna-3.7.log pari-2.15.4.log requests-*** 2.32.2.log
babel-2.14.0.log eclib-20231212.log imagesize-1.4.1.log pari-2.15.4.time *** setuptools-69.5.1.log
beniget-0.4.1.log eclib-20231212.time info-7.0.3.log pari_galdata-20080411.p0.log *** setuptools_scm-8.1.0.log
boost_cropped-1.66.0.p0.log ecm-7.0.5.log info-7.0.3.time pari_seadata_small-20090618.p0.log *** snowballstemmer-2.2.0.log
boost_cropped-1.66.0.p0.time ecm-7.0.5.time jinja2-3.1.4.log pathspec-0.12.1.log sphinx-7.2.6.log
brial-1.2.8.log editables-0.5.log libatomic_ops-7.8.2.log pip-24.0.log sphinxcontrib_applehelp-1.0.8.log
brial-1.2.8.time flit_core-3.9.0.log libgd-2.3.3.log pluggy-1.3.0.log sphinxcontrib_devhelp-1.0.6.log
calver-2022.6.26.log gap-4.12.2.log libgd-2.3.3.time ply-3.11.log sphinxcontrib_htmlhelp-2.0.5.log
certifi-2024.2.2.log gap-4.12.2.time m4ri-20200125.log ppl-1.2.p1.log sphinxcontrib_jsmath-1.0.1.log
charset_normalizer-3.3.2.log gast-0.5.4.log m4ri-20200125.time ppl-1.2.p1.time sphinxcontrib_qthelp-1.0.7.log
cliquer-1.22.log gc-8.2.6.log markupsafe-2.1.5.log pplpy-0.8.9.log sphinxcontrib_serializinghtml-1.1.10.log
config.log gc-8.2.6.time mpc-1.3.1.log pplpy-0.8.9.time sphinxcontrib_websupport-1.2.7.log
curl-7.84.0.log gf2x-1.3.0.log mpc-1.3.1.time pplpy_doc-0.8.9.log sqlite-3.36.0.log
curl-7.84.0.time gf2x-1.3.0.time mpfi-1.5.2.log pygments-2.18.0.log sqlite-3.36.0.time
cypari-2.1.5.log giac-1.9.0.15p0.log mpfi-1.5.2.time pyproject_hooks-1.0.0.log tomli-2.0.1.log
cypari-2.1.5.time glpk-5.0.p1.log ntl-11.5.1.log python3-3.12.4.log trove_classifiers-2024.4.10.log
cysignals-1.11.4.log glpk-5.0.p1.time ntl-11.5.1.time python3-3.12.4.time urllib3-2.1.0.log
cysignals-1.11.4.time gmpy2-2.2.0a1.log openblas-0.3.26.log python_build-1.2.1.log wheel-0.43.0.log
cython-3.0.10.log gmpy2-2.2.0a1.time openblas-0.3.26.time pythran-0.15.0.log
cython-3.0.10.time gsl-2.7.1.log openssl-3.2.2.log pythran-0.15.0.time
docutils-0.20.1.log gsl-2.7.1.time openssl-3.2.2.time pytz-2023.3.post1.log
ecl-24.5.10.log hatchling-1.22.5.log packaging-24.0.log pytz-2023.3.post1.time
Anyone have some idea for fix it?momo__tSat, 12 Oct 2024 17:08:26 +0200https://ask.sagemath.org/question/79640/Trouble installing the Kohel databasehttps://ask.sagemath.org/question/67192/trouble-installing-the-kohel-database/ I am trying to install the Kohel database but running into an error I don't understand.
From what I gathered online I should run `sage -i database_kohel` in my Linux terminal, but this is giving me the following error : `make: *** No rule to make target 'all-toolchain'. Stop.`
I am running Sage 9.5 in WSL using an Ubuntu terminal.
Any help would be appreciated!stillconfusedThu, 30 Mar 2023 22:24:32 +0200https://ask.sagemath.org/question/67192/New ways to install Sage failed ; Need helphttps://ask.sagemath.org/question/66844/new-ways-to-install-sage-failed-need-help/I am sorry to be obliged to ask this question. Until now, I was using the old Sagemath version with an automatic installation on Windows 10. But I would like to be update. Secondly, I use Sagemath in courses, and I need student to install it. Of course they can use Sagecell but I prefer to use Jupiter notebooks to interact with them. So if I understand correctly, there is two ways now to install Sagemath on my computer :
1) Docker Sagemath. So Docker has been installed on my computer (for two days it was installed but the start was non stopping so I supposed that a correction has been applied). Now I went in the site `https://hub.docker.com/r/sagemath/sagemath`, copy `docker pull sagemath/sagemath` and run it in PowerShell. Then inside Powershell running `docker run -it sagemath/sagemath:latest` I have a perfect version of a command line Sagemath.
Here comes my problem : running ` docker run -p8888:8888 sagemath/sagemath:latest sage-jupyter` returns the following error `docker: Error response from daemon: driver failed programming external connectivity on endpoint kind_kirch (58408cd6ac6e671d23cf5f9875de73bd013477b6ebb526ba499cc00d9e68c78f): Bind for 0.0.0.0:8888 failed: port is already allocated.`
Inside Docker I have closed all the containers and even if I worked from Docker, I could not have a jupiter notebooks. I have tried to search on internet to find what went wrong but I hav not founded any usefull information. Could some one help me.
2) the second way is to use wsl2 and install Ubuntu and then Sagemath in Ubuntu. But in that case, when installing sagemath inside Ubuntu I have always errors some comming from mathplot-lib.
I have constructed all my Operation Research on Sagemath and I need to have a simple way to install it. Not only for me but mainly for my students who are not computer scientists.CyrilleWed, 08 Mar 2023 19:20:47 +0100https://ask.sagemath.org/question/66844/make PB when installing from sourcehttps://ask.sagemath.org/question/63362/make-pb-when-installing-from-source/ I tried to upgrade from SageMath 9.5 to 9.6 without success.
because the code below generate error with 9.5:TypeError: unable to find a common ring for all elements
@interact
def _(v=('vector', input_grid(1, 3, default=[[1,2,3]], to_value=lambda x: vector(flatten(x))))):
print(v.norm())
HI
WSL2,W11,Ubuntu 20.04
I wanted to keep the old version 9.5 which is in the sage directory,so
I renamed sage to sage-9.5 and then rename the sage-9.6 directory to sage.
the compilation time was much lower than usual, moreover the make does not signal an error.
I had thought that maybe it was because I was using make -j32 ,so the compilation takes 30 minutes which is suspicious
but I got the same PB with make alone which take 111 min only !.
real 111m46.476s
user 114m7.313s
sys 5m34.121s
Sage build/upgrade complete!
make[1]: Leaving directory '/home/ortollj/sage-9.6'
there are some messages in configure process
config.status: creating convenience symlink venv -> local/var/lib/sage/venv-python3.8
configure:
notice: the following SPKGs did not find equivalent system packages:
4ti2 coxeter3 gp2c igraph libsemigroups lrslib pari_elldata pari_galpol pari_nftables pari_seadata polymake _recommended
checking for the package system in use... debian
configure:
hint: installing the following system packages, if not
already present, may provide additional optional features:
$ sudo apt-get update
$ sudo apt-get install 4ti2 pari-gp2c libigraph-dev lrslib polymake libpolymake-dev default-jdk libavdevice-dev
configure:
hint: After installation, re-run configure using:
$ ./config.status --recheck && ./config.status
but when i run the recommended commands I got :0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
ortolljSat, 23 Jul 2022 18:43:10 +0200https://ask.sagemath.org/question/63362/