Ask Your Question

Sagemath 8.8 crash on startup on windows 10

asked 2019-10-07 10:51:28 +0200

Hassan Mostafa gravatar image

updated 2020-09-01 15:31:53 +0200

slelievre gravatar image

i've just installed sagemath 8.8 on windows 10 with trendmicro office scan installed. after installation and when double click on SageMath icon it is launched and then crash and closed without any error messages. i've tried to add SageMath paths to be excluded from antivirus and doesn't work also ..

edit retag flag offensive close merge delete



Please, tell us more:

  • What is "trendmicro office scan "
  • When you open the "Sagemath 8.8" application (i. e. "console" Sagemath),, do you see the initial message "Sagemath version 8.8..." ?
  • What happens when you open the "Sagemath 8.8 Notebook ?
  • What happens when you open the "Sagemath 8.8 Shell" ?

This question might get faster answers if asked on the Sage support mailing list, available as the "sage support" Google group.

Emmanuel Charpentier gravatar imageEmmanuel Charpentier ( 2019-10-07 13:04:31 +0200 )edit

Trend Micro is a cyber security company, and Trend Micro office scan is likely an anti-virus scanner by that company.

slelievre gravatar imageslelievre ( 2019-10-08 12:41:16 +0200 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2019-10-08 12:45:12 +0200

slelievre gravatar image

updated 2019-10-08 14:58:53 +0200

The SageMath installer works by installing a "Linux-like" layer for Windows called Cygwin. This operates at a rather low level, and various anti virus scanners tend to consider this low-level activity as "virus-like", and as a consequence they tend to get in the way of the SageMath installer, or of the Cygwin it installs. Depending on the antivirus software and how one configures it, it might just raise an alert, or block the software it thinks is virus-like, or try to destroy it.


  • download the SageMath installer for Windows
  • tell all antivirus software to ignore the SageMath installer for Windows
  • run the installer; this installs SageMath
  • tell the antivirus software to ignore SageMath
  • run SageMath

If one runs the installer, or SageMath, before having told antivirus software to ignore it, and if antivirus software considers some of the low-level activity by the installer or by SageMath as virus-like, then such antivirus software might decide not only to block the installer or SageMath, but to remove it, or parts of it, making it non-working later on, even if one later tells the antivirus software to ignore it.

This applies not only to "trend micro" but also to "windows defender", "kaspersky", etc.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2019-10-07 10:51:28 +0200

Seen: 624 times

Last updated: Oct 08 '19