Ask Your Question

enzotib's profile - activity

2024-05-12 11:04:33 +0200 received badge  Notable Question (source)
2024-05-06 08:52:06 +0200 received badge  Enthusiast
2024-03-03 13:15:56 +0200 received badge  Popular Question (source)
2023-08-15 13:01:32 +0200 commented question Plot spines show in middle of graph

I don't understand what do you mean by "spines", maybe the axes? You would like to remove axes?

2023-08-15 12:49:29 +0200 commented question Instructions for installing SAGE from source on MacOS are hard to follow.

It is not critical to use the terminal, in macOS you can expand the archive from Finder.

2023-08-09 08:53:47 +0200 received badge  Nice Question (source)
2023-08-06 08:18:49 +0200 marked best answer Simple trigonometric equation

I am a beginner and I am reading the page Basic Algebra and Calculus of the Tutorial where there is the following example

theta = var('theta')
solve(cos(theta)==sin(theta), theta)

and there is no solution, but a human being and other systems, like Mathematica, are able to solve this simple equation. So I suppose there is a way to solve it with Sage. Can you show me how?

2023-08-05 17:38:24 +0200 commented answer Simple trigonometric equation

Very interesting suggestions. When I use Mathematica (which I have) it results in the following errror: ValueError: The

2023-08-05 17:38:04 +0200 commented answer Simple trigonometric equation

Very interesting suggestions. When I use Mathematica (which I have) it result in the following errror: ValueError: The

2023-08-05 15:54:50 +0200 received badge  Nice Question (source)
2023-08-05 14:10:37 +0200 commented answer Cannot start jupyterlab notebook

finally, it works, thank you again

2023-08-05 14:10:21 +0200 marked best answer Cannot start jupyterlab notebook

I am on Ubuntu 22.04 and installed sage through the package manager. It works when I run sage, but I am not able to start jupyterlab notebook:

enzotib@ubuntu-enzo:~$ sage -n jupyterlab
Traceback (most recent call last):
  File "/usr/bin/sage-notebook", line 57, in __init__
    from jupyterlab.labapp import main
ModuleNotFoundError: No module named 'jupyterlab'
Jupyterlab is not installed (at least not in this Sage installation).
You can install it by running
  sage -i jupyterlab_widgets
which includes support for interacts and the ability to download and
install other Jupyterlab extensions. For a minimal installation, run
  sage -i jupyterlab
Alternatively, you can follow the instructions at
  https ://doc.sagemath.org/html/en/installation/launching.html#setting-up-sagemath-as-a-jupyter-kernel-in-an-existing-jupyter-notebook-or-jupyterlab-installation
to use Sage with an existing Jupyterlab installation.

I tried to follow the suggestion

enzotib@ubuntu-enzo:~$ sage -i jupyterlab_widgets
make: *** No rule to make target 'all-toolchain'.  Stop.

and the same for sage -i jupyterlab.

I tried to enter the sage shell and check SAGE_ROOT, but it is not defined

enzotib@ubuntu-enzo:~$ sage -sh

Starting subshell with Sage environment variables set.  Don't forget
to exit when you are done.  Beware:
 * Do not do anything with other copies of Sage on your system.
 * Do not use this for installing Sage packages using "sage -i" or for
   running "make" at Sage's root directory.  These should be done
   outside the Sage shell.

Bypassing shell configuration files...

Note: SAGE_ROOT=
(sage-sh) enzotib@ubuntu-enzo:~$ exit
exit
Exited Sage subshell.

Finally, I checked that the right packages are installed

enzotib@ubuntu-enzo:~$ dpkg --get-selections sage* | expand
sagemath                                        install
sagemath-database-conway-polynomials            install
sagemath-database-elliptic-curves               install
sagemath-database-graphs                        install
sagemath-database-mutually-combinatorial-designs        install
sagemath-database-polytopes                     install
sagemath-doc                                    install
sagemath-jupyter                                install
sagetex                                         install

What can I do?

2023-08-05 14:10:21 +0200 received badge  Scholar (source)
2023-08-05 12:49:55 +0200 received badge  Supporter (source)
2023-08-05 12:49:52 +0200 commented answer Cannot start jupyterlab notebook

Thank you, I'll try

2023-08-05 11:53:15 +0200 received badge  Student (source)
2023-08-05 09:56:13 +0200 asked a question Cannot start jupyterlab notebook

Cannot start jupyterlab notebook I am on Ubuntu 22.04 and installed sage through the package manager. It works when I ru

2023-08-05 09:56:13 +0200 asked a question Simple trigonometric equation

Simple trigonometric equation I am a beginner and I am reading the page Basic Algebra and Calculus of the Tutorial wher