Sage already uses numpy, so the new code can just import it.
If in your project you need another Python library, perhaps pytorch,
you can just install it like this: "./sage -pip install torch". Then
code can import it.
Later it can be added to Sage by creating package metadata in
build/pkgs - see
https://doc.sagemath.org/html/en/developer/packaging.html