Re: [sage-support] Re: strange plot

2024-09-28 Thread Nils Bruin
On Saturday 28 September 2024 at 12:05:52 UTC-7 fqgo...@colby.edu wrote: I wonder whether the result of ?min might mention the existence of min_symbolic, and similarly for max. When the first attempt failed, I looked at what ?min said, and didn't get much out of it. Had it mentioned "see also m

Re: [sage-support] Re: strange plot

2024-09-28 Thread Fernando Gouvea
Thanks for the answers! Both plot3d(floor(min_symbolic(x, y)),(x,1,7),(y,1,7)) and plot3d(lambda a, b: floor(min(a, b)),(x,1,7),(y,1,7)) produce the right plot. I wonder whether the result of ?min might mention the existence of min_symbolic, and similarly for max. When the first attempt fail

Re: [sage-support] installation getting stuck

2024-09-28 Thread Dima Pasechnik
Please post here config.log and install.log It's next to impossible to guess what goes wrong without this info. On 28 September 2024 15:28:38 BST, A wrote: >Hi, >I am using the following sage installation guide - >https://sagemanifolds.obspm.fr/install_ubuntu.html > >Every time I tried to run

[sage-support] installation getting stuck

2024-09-28 Thread A
Hi, I am using the following sage installation guide - https://sagemanifolds.obspm.fr/install_ubuntu.html Every time I tried to run the build, at some point the terminal froze. It does not stop on a specific part of the installation, every time it stops in a different spot. I am using the new

[sage-support] Re: Support for schemdraw.logic.logic Module in Sage

2024-09-28 Thread Zunaid Ahmed
Yes, apparently I am getting time out errors [33mWARNING: The directory '/home/sc_work/.cache/pip' or its parent directory is not owned or is not writable by the current user. The cache has been disabled. Check the permissions and owner of that directory. If executing pip with sudo, you should

[sage-support] recommended shebang for python scripts based on sage.all lib

2024-09-28 Thread Laurent Faureytier
Hi, I maintain a bunch of standalone python scripts, some of which rely on sage python lib. I find very convenient to make it possible for users to invoke the scripts from the command line by simply typing e.g. from an Ubuntu 22.04 LTS bash prompt: $ ./myscript.py To do that, the scripts start