help stopped working

asked 2 years ago

cybervigilante gravatar image

updated 2 years ago

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

Preview: (hide)

Comments

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

ortollj gravatar imageortollj ( 2 years ago )

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 ( 2 years ago )

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 ( 2 years ago )

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 ( 2 years ago )