New comment by tornaria on void-packages repository https://github.com/void-linux/void-packages/issues/19090#issuecomment-913038650 Comment: > I've build Sage-9.4 using the pending PR. Now I would like to be able to call sage from python, for example using > > ``` > from sage.all import * > ``` > > but I get `ModuleNotFoundError: No module named 'sage'` > What can I do? That's not expected to work, because sage installs python packages (in particular sagelib) into its own python venv (should be in SAGE_LOCAL). I think the simplest way for you is to run `sage -python` which will run your system python but with sage venv. Then your `from sage.all import *` should work. Note that you won't have access to other python packages installed in your system. If you need python packages that are not installed in sage venv, you can use `sage -pip` to run pip in sage venv and install whatever you need there. When we get around to make a sage package, we will install sagelib in the system python venv as any other python package in void (in fact, I think sage will be just a python package with lots of dependencies).