Re: [sage-devel] question on Python version when installing 9.6 beta 7

2022-04-08 Thread ph h
>> sudo apt-get install libffi-dev > Thanks, that works. But ... $ python --version Python 3.10.4 $ python3 --version Python 3.10.4 $ sudo apt-get install python3.10-dev Reading package lists... Done Building dependency tree Reading state information... Done python3.10-dev is already the n

Re: [sage-devel] question on Python version when installing 9.6 beta 7

2022-04-08 Thread ph h
Hi, > sudo apt-get install libffi-dev Thanks, that works. phiho On Fri, Apr 8, 2022 at 5:18 PM Dima Pasechnik wrote: > > > On Fri, 8 Apr 2022, 22:06 ph h, wrote: > >> Hi, >> >> > Yes, this is needed for Python headers, but still >> > sudo apt-get libffi-dev libbz2-dev bzip2 xz-utils li

Re: [sage-devel] question on Python version when installing 9.6 beta 7

2022-04-08 Thread Dima Pasechnik
On Fri, 8 Apr 2022, 22:06 ph h, wrote: > Hi, > > > Yes, this is needed for Python headers, but still > > sudo apt-get libffi-dev libbz2-dev bzip2 xz-utils liblzma-dev openssl > libssl-dev > > ~/sage-9.6$ sudo apt-get libffi-dev libbz2-dev bzip2 xz-utils liblzma-dev > openssl libssl-dev > E: Inval

Re: [sage-devel] question on Python version when installing 9.6 beta 7

2022-04-08 Thread ph h
Hi, > Yes, this is needed for Python headers, but still > sudo apt-get libffi-dev libbz2-dev bzip2 xz-utils liblzma-dev openssl libssl-dev ~/sage-9.6$ sudo apt-get libffi-dev libbz2-dev bzip2 xz-utils liblzma-dev openssl libssl-dev E: Invalid operation libffi-dev Is something missing on this WSL

Re: [sage-devel] question on Python version when installing 9.6 beta 7

2022-04-08 Thread ph h
Dear All, In following this thread, it was found out, on this WSL system: ~/sage-9.6$ python --version Command 'python' not found, did you mean: command 'python3' from deb python3 command 'python' from deb python-is-python3 ~/sage-9.6$ python3 --version Python 3.8.10 ~/sage-9.6$ python3.1

[sage-devel] integrate() doesn't respect "real_part"

2022-04-08 Thread John Schneeloch
Here's my code: var('phi, A') assume(phi, 'real', A, 'complex') y = real_part y The output is (cos(phi)*real_part(A) - imag_part(A)*sin(phi))^2 But if I integrate: integrate(y, (phi,0,2*pi)) I get this error message Help file /Applications/usr/share/giac/doc/fr/aide_cas not found Added 0 synon

Re: [sage-devel] question on Python version when installing 9.6 beta 7

2022-04-08 Thread Dima Pasechnik
On Fri, Apr 8, 2022 at 2:39 PM Vincent Delecroix <20100.delecr...@gmail.com> wrote: > > You could install the python3-dev Ubuntu package to fix the issue. Yes, this is needed for Python headers, but still sudo apt-get libffi-dev libbz2-dev bzip2 xz-utils liblzma-dev openssl libssl-dev might be n

Re: [sage-devel] question on Python version when installing 9.6 beta 7

2022-04-08 Thread Vincent Delecroix
You could install the python3-dev Ubuntu package to fix the issue. Le 08/04/2022 à 05:32, 'Nasser M. Abbasi' via sage-devel a écrit : looking at config.log, it rejected the python version Python 3.10.4 I had because of this ## ## ## Check

[sage-devel] Re: Needed to downgrade markupsafe from 2.1.1 to 2.0.1 to let sage -n jupyterlab work

2022-04-08 Thread Sébastien Labbé
On Thursday, April 7, 2022 at 8:00:26 PM UTC+2 Matthias Koeppe wrote: > Are you sure jupyterlab was not installed with an earlier version of Sage? > For my Student computer: it was not installed earlier. For my computer on which I reproduced the issue: probably jupyterlab was installed before

Re: [sage-devel] Trouble with SSH access

2022-04-08 Thread Antoine Leudière
Thanks to both of you! Dima, unfortunately, I still have the issue. I checked the permissions, they seem okay: `-rw-r--r--` for the public key and `-rw---` for the private one. My other working pairs of keys have exactly the same privileges. Attached to this message is the log (3 levels) of `