Skip to content Skip to sidebar Skip to footer

No Module Named 'sage.all'

Im going to use sage module in my Django web application so in my python virtualenv v3.6 I installed sage using pip. when I run my script to use sage I get the following error:

Solution 1:

pip install sage installs a version 0.0.0 of a package that doesn't have any code inside, just an empty __init__.py. It's certainly not that sage you want to install. You have to find out which sage you really want. Do you mean SageMath?

Solution 2:

SageMath can be installed from several package managers, including the standard package managers of several operating systems.

In particular, SageMath is packaged for Arch Linux, Conda, Debian, Fedora, Gentoo, Nix.

For more details see the "Distribution" page on the SageMath wiki.

The Sage library currently cannot be pip-installed. Work on that is tracked at:

Post a Comment for "No Module Named 'sage.all'"