Skip to content

Dockerfile partially broken. Nonexistant python3 #40867

@DagurB

Description

@DagurB

Steps To Reproduce

$docker run -it sagemath/sagemath:10.7 /bin/bash
sage@7f620c268e9a:~$ sage
/usr/bin/env: ‘python3’: No such file or directory
sage@7f620c268e9a:~$ sage -pip install pycryptodome
/home/sage/sage/src/bin/sage: line 599: exec: python3: not found

Notice that sage doesn't work due to python3 apparently not existing. Running the image normally (i.e. without /bin/bash) works though.

Expected Behavior

For sage to launch, and for sage -pip to work

Actual Behavior

Sage throws an error, stating that python3 doesn't exist.

Additional Information

Some discussion in Cryptohack's #sagemath-dev-chat lead to speculations about 97d834b being the culprit, but I don't really know how to verify that.

Environment

  • OS: Void Linux
  • Sage Version: 10.7 (docker)

Checklist

  • I have searched the existing issues for a bug report that matches the one I want to file, without success.
  • I have read the documentation and troubleshoot guide

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions