[sage-support] Re: search_def(), search_src() are not working in Sage
Hi, Le mercredi 23 mars 2022 à 20:52:08 UTC+1, adarsh.k...@gmail.com a écrit : > I tried running > ``` > make sagemath_doc_html > ``` > as instructed. Unfortunately, it does not solve the error. > > You are still running SageMath 9.0, which the version shipped with Ubuntu 20.04. It is outdated. To fix this, 1/ remove the Ubuntu package "sagemath" 2/ Install SageMath 9.5 by following these simple instructions: https://sagemanifolds.obspm.fr/install_ubuntu.html Then search_src, search_def and search_doc will work. Eric. -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-support/6bfbaa0b-47dc-4646-bd08-37fdbe880e1an%40googlegroups.com.
[sage-support] Re: search_def(), search_src() are not working in Sage
So you installed two versions of Sage, one via the Ubuntu package manager, the other one built from source. When you start Sage, it probably starts the one installed via the package manager, likely Sage 9.0. The one you built from source is likely either Sage 9.5 (the latest stable version) or Sage 9.6.beta5 (the latest development version) if you used the develop branch. If you want the Sage built from source to be started rather than the system one, run this command, assuming you cloned Sage in your home folder using the default name `sage`: ``` sudo ln -sf $HOME/sage/sage /usr/local/bin ``` -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-support/2ddd158f-0e0e-4014-afaf-22606d0f328dn%40googlegroups.com.
[sage-support] Re: search_def(), search_src() are not working in Sage
Sorry for not mentioning earlier. My platform is Ubuntu 20.04 LTS and my Sage version is 'SageMath version 9.0, Release Date: 2020-01-01'. I used 'sudo apt install sagemath sagemath-jupyter sagemath-doc-en' to install sage along with sagemath-jupyter and sagemath-doc-en I also cloned the GitHub repository of sage for developers and built it from source. On Wednesday, March 23, 2022 at 2:40:28 PM UTC+5:30 slelievre wrote: > From the screenshot it looks like Ubuntu? > > In which case, did you install Sage as an Ubuntu package? > or by building it from source? or via Conda? or in some > other way? > > If you installed Sage using Ubuntu's package manager, > by selecting the package `sagemath`, you may also > want to install `sagemath-doc` (and maybe also, though > unrelated to your question here, `sagemath-jupyter`). > > If you built Sage from source, the documentation should > have been built, but if it was not, try to build it by running > ``` > make sagemath_doc_html > ``` > from the root folder of your Sage installation. > > -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-support/38351f96-c46d-47d1-aa94-f3d2419e6ae5n%40googlegroups.com.
[sage-support] Re: search_def(), search_src() are not working in Sage
>From the screenshot it looks like Ubuntu? In which case, did you install Sage as an Ubuntu package? or by building it from source? or via Conda? or in some other way? If you installed Sage using Ubuntu's package manager, by selecting the package `sagemath`, you may also want to install `sagemath-doc` (and maybe also, though unrelated to your question here, `sagemath-jupyter`). If you built Sage from source, the documentation should have been built, but if it was not, try to build it by running ``` make sagemath_doc_html ``` from the root folder of your Sage installation. -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-support/7b836993-910d-4a5d-9c8e-bd7256cf39fdn%40googlegroups.com.
[sage-support] Re: search_def(), search_src() are not working in Sage
How did you install Sage ? And on what platform ? Le mercredi 23 mars 2022 à 06:37:20 UTC+1, adarsh.k...@gmail.com a écrit : > Hello everyone, > I was going through some of the Sage functions and I wanted to look it up > in the source file definitions. For this I tried search_def() and then > search_src(). In both cases it gave a warning "that the Sage documentation > is not available". > > [image: Screenshot from 2022-03-23 10-05-04.png] > > I have tried to look up the official Sage developer's manual, > StackOverflow questions and GitHub issues. However, it has not worked out > for me, unfortunately. > > On the other hand, the search_doc() command works fine for me. This is the > output for > search_doc("add_edges()") > [image: Screenshot from 2022-03-23 10-07-35.png] > > Is there any documentation that I have to build before I can use these > commands? I would appreciate it if someone can give pointers to some > helpful links or online documentation where this issue has been addressed. > -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-support/5197146a-c0f3-4ff9-9dd3-6261f368eb49n%40googlegroups.com.