help stopped working

asked 2022-06-28 21:03:16 +0200

cybervigilante gravatar image

updated 2022-06-29 02:50:40 +0200

When I try to get help, as in sin? I get this error: cannot import name 'environmentfilter' from 'jinja2'

What is jinja and how do I fix it? Tks.

Sagemath 9.3 on Windows in Jupyter Lab

edit retag flag offensive close merge delete

Comments

The solution is to avoid 9.3 for W10 ( SageMath 9.3 is not a good upgrade!) look here

ortollj gravatar imageortollj ( 2022-06-29 08:14:13 +0200 )edit

Thanks. I had a feeling it was 9.3. I prefer using windows, which has a big user base, so it's odd that win upgrades are so neglected.. I wish sagemath would upgrade for windows like they do for linux. There only seems to be one maintainer for Windows.

cybervigilante gravatar imagecybervigilante ( 2022-07-01 03:16:13 +0200 )edit

But you are in W10 (for me W11 by the way) with WSL2 , I mean you just use the server SageMath which is in Linux with Jupiter notebook, but your files are also in W10, it's transparent for you. But if you don't want to use WSL2 , you are stuck to 9.2, last Windows Upgrade for the moment. it is easy just try the code here below EDITED 2022//23 after installing WSL2 , the only inconvenient is that the make command takes long time

ortollj gravatar imageortollj ( 2022-07-01 08:05:53 +0200 )edit

If you have 4 cores on your CPU, you can speed up the installation by typing MAKE="make -j8" make The flag -j8 tells to use 8 threads in parallel. Adapt to your CPU (typically use a number of threads that is twice the number of cores). (as Eric_G tells)

ortollj gravatar imageortollj ( 2022-07-01 08:25:22 +0200 )edit