Ask Your Question

Lilanarus's profile - activity

2021-10-31 20:13:54 +0200 received badge  Famous Question (source)
2021-05-23 03:30:29 +0200 received badge  Popular Question (source)
2021-02-19 22:07:00 +0200 received badge  Notable Question (source)
2021-02-19 22:07:00 +0200 received badge  Popular Question (source)
2019-04-17 08:20:15 +0200 received badge  Student (source)
2019-04-13 09:38:14 +0200 commented answer Why do I get the OSError: [Errno2] when I try to run a .sage file

Hello dseja, thank you for your Response. First of all, I removed the comma of the Folder Name. Unfortunately, Things still don't want to work and I am getting the same error as before. And I am sure that I've installed the Right binary because what you posted is the link from where I have the sage installer.

I have no Explanation why there is this Linux address… Maybe someone knows. Thank you anyways!

2019-04-12 21:44:50 +0200 asked a question Why do I get the OSError: [Errno2] when I try to run a .sage file


I'm new to SageMath and just installed it. Unfortunately I'm not too concerned with the importance of the information you might need to help me out - sorry for that.

So I have Windows 10 and I installed SageMath via These pre- built binaries if that's what it is called. I used the sagetex package to create a .sage file and I tried to run it with sage obviously. Therefore, I opened the Shell and typed

sage 'C:/Users/scheu/OneDrive/Desktop/sagetex.sage'

with sagetex.sage being my .sage file and I'm getting the following:

    Traceback (most recent call last):

  File "/opt/sagemath-8.6/src/bin/sage-preparse", line 245, in <module>


  File "/opt/sagemath-8.6/src/bin/sage-preparse", line 137, in do_preparse

    with atomic_write(fname) as f:

  File "/opt/sagemath-8.6/local/lib/python2.7/site-packages/sage/misc/", line 422, in __enter__

    fd, name = tempfile.mkstemp(dir=self.tmpdir)

  File "/opt/sagemath-8.6/local/lib/python2.7/", line 314, in mkstemp

    return _mkstemp_inner(dir, prefix, suffix, flags)

  File "/opt/sagemath-8.6/local/lib/python2.7/", line 244, in _mkstemp_inner

    fd =, flags, 0600)
OSError: [Errno 2] No such file or directory: '/home/sage/C:/Users/scheu/OneDrive/Desktop/Programme/LaTeX Files,Texmaker/Hilffiles/sagetex test/tmpfPP2mL'

By the way, I am sorry for putting the Code in my Question that way, I had just no idea how to Format this Code as one Code :(

Anyways, it says something I don't quite understand and I've already looked up the same Question, but it didn't help…

Thank you for your answers.

2019-04-08 20:45:44 +0200 asked a question Why does Sage Math crash instantly? / Running .sage files?

Hello. First of all, I need to Mention that I am completely new to Sage Math and I have no idea what causes my problem(s), like seriousely, no idea. When I start SageMath, it instantly crashes, I don't even touch anything. I'm running Windows 10 and I downloaded the binaries, a virtual box and this sage-8.6.tar.gz file. I am sure that I must be missing something but I don't know what. Yesterday, I managed to get Sage to work, so in the terminal i could write simple commands like sage:4+3 and later, I reinstalled python. Now it does not work anymore. My original aim was it to have sagetex in Latex, but for some reason running the .sage file which is created with every document using sagetex doesn't do anything and sage does not compile my document. And yes, I did follow the instructions how to make sagetex known to tex. I have no idea how to continue, so many problems and i'm desperately trying to get things to work. (Feel like I downloaded half the Internet...)