ASKSAGE: Sage Q&A Forum  Latest question feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Tue, 05 Jan 2021 05:11:47 0600What is the latest version of SageMath that would still run on windowsXPhttps://ask.sagemath.org/question/55111/whatisthelatestversionofsagemaththatwouldstillrunonwindowsxp/What is the latest version of SageMath that would still run on windowsXP (or rather: windows server 2003/64)?bollekeTue, 05 Jan 2021 05:11:47 0600https://ask.sagemath.org/question/55111/How do you load a file to the SageMath 9.1 Console?https://ask.sagemath.org/question/54419/howdoyouloadafiletothesagemath91console/ I am trying to follow the Loading and Attaching Sage files tutorial. I am working on Windows 10. I created an `example.sage` file by simply writing a .txt file and changing the extension to .sage, and put it on my desktop, located at
`C:/Users/vika/Desktop/example.sage`.
In the SageMath 9.1 Console, I get the following issues depending on the type of slash
sage: load("C:/Users/vika/Desktop/example.sage")
OSError: did not find file 'C:/Users/vika/Desktop/example.sage' to load or attach
sage: load("C:\Users\vika\Desktop\example.sage")
SyntaxError: (unicode error) 'unicodeescape' codec can't decode bytes in position 23: truncated \UXXXXXXXX escape
Where am I supposed to put this file in order to load it? I know that sage is installed at `C:/Users/vika/AppData/Local/SageMath 9.1` if that matters.vikahdv@gmail.comFri, 27 Nov 2020 22:57:44 0600https://ask.sagemath.org/question/54419/Unknown installation error in Windowshttps://ask.sagemath.org/question/54244/unknowninstallationerrorinwindows/ I installed Sagemath 9.1 from the executable. Almost nothing works: when I execute from desktop icon it just crashes, if I do from icon that says Notebook it crashes after saying
"Use ControlC to stop ...."
If I execute the shell, I can use without problem "sage python", "sage gap", etc, but if I execute
sage c
then it says

Unhandled SIGSEGV: A segmentation fault occurred.
This probably occurred because a *compiled* module has a bug
in it and is not properly wrapped with sig_on(), sig_off().
Python will now terminate.

/opt/sagemath9.1/src/bin/sagepython line 2: 1615 Segmentation fault (overflow memory)sage python "$@"
Do you have any suggestions about how to solve the problem? I reinstalled Sagemath several times, but everytime there is the same problem. X1729Sun, 15 Nov 2020 07:29:14 0600https://ask.sagemath.org/question/54244/Sage Math 9.1 crashes after downloadhttps://ask.sagemath.org/question/54255/sagemath91crashesafterdownload/Hey guys,
I just downloaded Sage Math 9.1, because I need it for university and evey time I try to open it it crashes. This happenes with Sage as well as with the Notebook and the Shell. The error message in Sage Math 9.1 is over 200 lines and doesn't seem to make any sense to me. The Notebook crashes and terminates itself, I never saw the error message. In the Shell there is always the same message produced if I press 'enter'. I read on another FAQ that my device needs to have a processor with at least 2.0 GHz, mine only has 1.7GHz. The point is that idk if thats a reliable source because it only depicts 'Sage for Ireland' and 'Sage for UK' and it just might be something else. My device is a Microsoft Surface Go 2, if that matters.
I would be very happy if anyone can help me :)PattyTue, 17 Nov 2020 00:52:31 0600https://ask.sagemath.org/question/54255/Sagemath 9.1 Forhttps://ask.sagemath.org/question/53520/sagemath91for/How do I get started? I am stuck at the 3 cmd windows. Where do I go from here? Is there a tutorial for absolute beginners? How do I get to GUI interfaces?old_math_guySun, 20 Sep 2020 15:24:21 0500https://ask.sagemath.org/question/53520/SageMath 9.1 for Windowshttps://ask.sagemath.org/question/51741/sagemath91forwindows/ Hi All,
Where can I get SageMath 9.1 for Windows?
It does not appear in download mirrors.
Daniel Volinski
danielvolinskiWed, 03 Jun 2020 14:51:41 0500https://ask.sagemath.org/question/51741/How can I get the Sage version 9 on ubuntu?https://ask.sagemath.org/question/49530/howcanigetthesageversion9onubuntu/ Hi,
I used 'sudo aptget install sagemath' in the ubuntu shell to get Sage. However, it installed version 8.1 of Sage.
I would like to install a version of Sage that has automatic syntax highlighting/coloring like version 9 has.
Anyone know how I can do this? I need to do it using the command line only (see below).

Some additional context:
I installed sage on ubuntu 18.04 on windows 10 using its Linux bash shell . I'm able to access the Sage running on Ubuntu (on Windows) by going to localhost:8080 on chrome (in Windows).eodMon, 13 Jan 2020 07:12:58 0600https://ask.sagemath.org/question/49530/"UserWarning: Matplotlib is building the font cache using fclist." never resolveshttps://ask.sagemath.org/question/49517/userwarningmatplotlibisbuildingthefontcacheusingfclistneverresolves/ Hi,
I just downloaded and installed Sage 9.0 on windows. Typing the following:
plot(x^3, (x,0,5))
Gives the following error:
/opt/sagemath9.0/local/lib/python3.7/sitepackages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fclist. This may take a moment.
'Matplotlib is building the font cache using fclist. '
The kernel is running and nothing happens, even after waiting for a long time.
I did some googling. [This stackexchange answer](https://stackoverflow.com/questions/35734074/problemswithmatplotlibisbuildingthefontcacheusingfclistthismaytak) suggesting using
import matplotlib as mpl
print mpl.get_cachedir()
To get the directory of matplotlib, in order to (as suggested [here](https://stackoverflow.com/questions/34771191/matplotlibtakingtimewhenbeingimported)) delete these files:
fontList.cache
fontList.py3k.cache
tex.cache
I did this, the folder I got was:
/home/sage/.sage/matplotlib1.5.1
But this folder is empty (according to the Sage shell). There are no files to delete there.
Any suggestions for how to get plot to work?
Thanks.eodSun, 12 Jan 2020 09:40:25 0600https://ask.sagemath.org/question/49517/Running sage (8.9) from command line (Windows)https://ask.sagemath.org/question/49071/runningsage89fromcommandlinewindows/I want to run sage in the cmd. I heard the command is ("nearly")
C:\Programme\SageMath8.9\runtime\bin\bash l
C:/Programme/SageMath8.9/runtime/opt/sagemath8.9/sage
C:/Users/ccc/Desktop/Test/SageTeX/sagebsp01.sagetex.sage
But this gives me several errors
What have I to do?
**€dit**: Anyway...
C:\Programme\SageMath8.9\runtime\bin\bash l C:/Programme/SageMath8.9/runtime/opt/sagemath8.9/sage
starts Sage in the Windows cmd!
Proof:
![image description](https://matheplanet.de/matheplanet/nuke/html/uploads/b/52143_3_56555555.png)
*So I think, the rest should be trivial. Could sb. say me, how the correct command should look like?*
**Note, that the problem is not my file *.sage, but to set the home directory for that file correctly.**
Anyway, in detail:
The errors I get:
C:\WINDOWS\system32>C:\Programme\SageMath8.9\runtime\bin\bash l C:/Programme/Sa
geMath8.9/runtime/opt/sagemath8.9/sage 2+2
python2: can't open file '2+2': [Errno 2] No such file or directory
C:\WINDOWS\system32>C:\Programme\SageMath8.9\runtime\bin\bash l C:/Programme/Sa
geMath8.9/runtime/opt/sagemath8.9/sage C:/Users/ccc/Desktop/Test/SageTeX/sagebs
p01.sagetex.sage
Traceback (most recent call last):
File "/opt/sagemath8.9/src/bin/sagepreparse", line 299, in <module>
do_preparse(f)
File "/opt/sagemath8.9/src/bin/sagepreparse", line 147, in do_preparse
with atomic_write(fname) as f:
File "/opt/sagemath8.9/local/lib/python2.7/sitepackages/sage/misc/temporary_
file.py", line 422, in __enter__
fd, name = tempfile.mkstemp(dir=self.tmpdir)
File "/opt/sagemath8.9/local/lib/python2.7/tempfile.py", line 314, in mkstemp
return _mkstemp_inner(dir, prefix, suffix, flags)
File "/opt/sagemath8.9/local/lib/python2.7/tempfile.py", line 244, in _mkstem
p_inner
fd = _os.open(file, flags, 0600)
OSError: [Errno 2] No such file or directory: '/home/sage/Desktop/Test/SageTeX;/
C:/Users/ccc/Desktop/Test/SageTeX/tmpnnGeqR'
The sageexample (from the standard sagtexexample) I use:
## * encoding: utf8 *
## This file (sagebsp01.sagetex.sage) was *autogenerated* from sagebsp01.tex with sagetex.sty version 2019/01/09 v3.3.
import sagetex
_st_ = sagetex.SageTeXProcessor('sagebsp01', version='2019/01/09 v3.3', version_check=True)
try:
_st_.current_tex_line = 11
_st_.inline(0, latex(number_of_partitions(1269)))
except:
_st_.goboom(11)
_st_.current_tex_line = 17
_st_.blockbegin()
try:
f(x) = exp(x) * sin(2*x)
except:
_st_.goboom(19)
_st_.blockend()
try:
_st_.current_tex_line = 24
_st_.inline(1, latex(f(x)))
except:
_st_.goboom(24)
try:
_st_.current_tex_line = 25
_st_.inline(2, latex(diff(f, x, 2)(x)))
except:
_st_.goboom(25)
try:
_st_.current_tex_line = 30
_st_.plot(0, format='notprovided', _p_=plot(f, 1, 1))
except:
_st_.goboom(30)
try:
_st_.current_tex_line = 33
_st_.inline(3, latex(2^123))
except:
_st_.goboom(33)
_st_.endofdoc()geroyxWed, 18 Dec 2019 14:03:47 0600https://ask.sagemath.org/question/49071/Ho do I uninstall sagemath in Windowshttps://ask.sagemath.org/question/48115/hodoiuninstallsagemathinwindows/I installed sagemath 8.8 in Windows using the .exe installer from
https://github.com/sagemath/sagewindows/releases/download/0.5.18.8/SageMath8.8Installerv0.5.1.exe
There does not seem to be an uninstaller.
I accidentally installed it in the wrong folder, and I want to repeat the process, but first I need to uninstall it.
Any suggestions?Adrian sotoMon, 30 Sep 2019 23:02:11 0500https://ask.sagemath.org/question/48115/SageAppliance not more maintained after 8.1?https://ask.sagemath.org/question/47860/sageappliancenotmoremaintainedafter81/ Hi all.
I am coming back to Sage after a long time. Working under Windows, I used Sage under VirtualBox without particular problems. Now I see that there exist direct Windows binaries, but with some limitations (e.g. it is not possible to install further packages). So I tried to also download the latest SageAppliance, but I noticed that, while completely absent in many mirrors, in some of them there is still at maximum the old 8.1.ova. So I would like to ask if the virtual appliances are not more maintained, and if for Windows it is mandatory to use the binaries, with the present limitations.
Thanks.AntlabThu, 12 Sep 2019 14:49:45 0500https://ask.sagemath.org/question/47860/How does one install Sage in windows?https://ask.sagemath.org/question/26763/howdoesoneinstallsageinwindows/ Can someone help me with the process?
I downloaded a .ova and a .vmdk file from the mirror
Now what? phoenixFri, 08 May 2015 11:55:48 0500https://ask.sagemath.org/question/26763/Chevie on Windowshttps://ask.sagemath.org/question/46418/chevieonwindows/Hello,
I am currently trying to install SageMath and gap3 (because I am in need of the Chevie package) on my Windows 7 computer. I am using Jean Michels gap3 for this, which I found at his website.
So I unpacked it to where my sage files are and tried "gap3 = Gap3(command='/usr/user/.sage/gap3jm/bin/gap3.cmd')" , because it says on the doc.sagemath site that this will lead sage to the version of gap3 that I want to use (it says in the ReadMe that the cmd file is the one for Windows).
But if I type in "gap3" in sage afterwards gap3 doesnt open and if I try something like "x=gap3(1+1)" sage just tells me, that I didn't install gap3 the right way.
I am not able to provide links because of the Karma system, but I hope that it became clear what sites I am referring to.
I would be very happy if anyone could provide a fix to this.
ErratisWed, 01 May 2019 01:19:54 0500https://ask.sagemath.org/question/46418/Sage Notebook crashes immediatelyhttps://ask.sagemath.org/question/46075/sagenotebookcrashesimmediately/New installation of Windows binaries, version 8.6 (Windows installer 0.4.2), on 64bit Windows 8.1 system with 8GB of RAM. Clicking on the "SageMath 8.6 Notebook" desktop icon opens a terminal window and displays the message "Please wait while the Sage Jupyter Notebook server starts", but the window closes within 2 or 3 seconds.
Would appreciate any guidance on troubleshooting  happy to study any relevant documentation if someone can point me in the right direction.
When running `sage notebook=jupyter` in the shell I get:
[I 17:51:21.659 NotebookApp] Using MathJax: nbextensions/mathjax/MathJax.js Traceback (most recent call last):
File "/opt/sagemath8.6/src/bin/sagenotebook", line 268, in <module> launcher(unknown)
File "/opt/sagemath8.6/src/bin/sagenotebook", line 100, in __init__ main(argv)
File "/opt/sagemath8.6/local/lib/python2.7/sitepackages/jupyter_core/application.py", line 266, in launch_instance return super(JupyterApp, cls).launch_instance(argv=argv, **kwargs)
File "/opt/sagemath8.6/local/lib/python2.7/sitepackages/traitlets/config/application.py", line 657, in launch_instance app.initialize(argv)
File "<decoratorgen7>", line 2, in initialize
File "/opt/sagemath8.6/local/lib/python2.7/sitepackages/traitlets/config/application.py", line 87, in catch_config_error return method(app, args, *kwargs)
File "/opt/sagemath8.6/local/lib/python2.7/sitepackages/notebook/notebookapp.py", line 1629, in initialize self.init_webapp()
File "/opt/sagemath8.6/local/lib/python2.7/sitepackages/notebook/notebookapp.py", line 1408, in init_webapp self.http_server.listen(port, self.ip)
File "/opt/sagemath8.6/local/lib/python2.7/sitepackages/tornado/tcpserver.py", line 142, in listen sockets = bind_sockets(port, address=address)
File "/opt/sagemath8.6/local/lib/python2.7/sitepackages/tornado/netutil.py", line 197, in bind_sockets sock.bind(sockaddr)
File "/opt/sagemath8.6/local/lib/python2.7/socket.py", line 230, in meth return getattr(self._sock,name)(*args)
socket.error: [Errno 1] Operation not permittedrixensoTue, 09 Apr 2019 23:57:42 0500https://ask.sagemath.org/question/46075/Why do I get the OSError: [Errno2] when I try to run a .sage filehttps://ask.sagemath.org/question/46116/whydoigettheoserrorerrno2whenitrytorunasagefile/Hello.
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/sagemath8.6/src/bin/sagepreparse", line 245, in <module>
do_preparse(f)
File "/opt/sagemath8.6/src/bin/sagepreparse", line 137, in do_preparse
with atomic_write(fname) as f:
File "/opt/sagemath8.6/local/lib/python2.7/sitepackages/sage/misc/temporary_file.py", line 422, in __enter__
fd, name = tempfile.mkstemp(dir=self.tmpdir)
File "/opt/sagemath8.6/local/lib/python2.7/tempfile.py", line 314, in mkstemp
return _mkstemp_inner(dir, prefix, suffix, flags)
File "/opt/sagemath8.6/local/lib/python2.7/tempfile.py", line 244, in _mkstemp_inner
fd = _os.open(file, 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.LilanarusFri, 12 Apr 2019 14:44:50 0500https://ask.sagemath.org/question/46116/loaded file not foundhttps://ask.sagemath.org/question/46157/loadedfilenotfound/I am trying to load a python script into sage notebook, with commands load('file.py'), and attach('file.py').
But I am getting the error: `IOError: did not find file`
The file is there! I am using sage 8.6 on Windows 10.
sage: load('C:\\Program Files (x86)\\MyJournal\\Images\\functions.py')
**UPDATE** Sage loads the file from my home directory.
I seems that Sage just does not have access to Program Files directory.

IOError Traceback (most recent call last)
<ipythoninput104057b25088154> in <module>()
> 1 load('C:\\Program Files (x86)\\MyJournal\\Images\\functions.py')
/opt/sagemath8.6/local/lib/python2.7/sitepackages/sage/misc/persist.pyx in sage.misc.persist.load (build/cythonized/sage/misc/persist.c:2470)()
134
135 if sage.repl.load.is_loadable_filename(filename):
> 136 sage.repl.load.load(filename, globals())
137 return
138
/opt/sagemath8.6/local/lib/python2.7/sitepackages/sage/repl/load.py in load(filename, globals, attach)
233 break
234 else:
> 235 raise IOError('did not find file %r to load or attach' % filename)
236
237 ext = os.path.splitext(fpath)[1].lower()
IOError: did not find file 'C:\\Program Files (x86)\\MyJournal\\Images\\functions.py' to load or attachMathF13Sun, 14 Apr 2019 07:16:06 0500https://ask.sagemath.org/question/46157/No output when documentation say it should behttps://ask.sagemath.org/question/45375/nooutputwhendocumentationsayitshouldbe/Hi all,
Consider http://doc.sagemath.org/html/en/reference/manifolds/sage/manifolds/differentiable/affine_connection.html
The very last command of this web page is
sage: for i in M.irange():
nab.torsion_form(i, e) == ef[i].exterior_derivative() + \
sum(nab.connection_form(i,j,e).wedge(ef[j]) for j in M.irange())
The output of this command should be: True, True, True, but I get no output at all.
In order to duplicate you should include also the previous commands beginning from the `torsion_form` definition, over all 3 cells.
DanieldanielvolinskiFri, 08 Feb 2019 13:36:30 0600https://ask.sagemath.org/question/45375/Make PyCharm recognise the Sage python interpreterhttps://ask.sagemath.org/question/39742/makepycharmrecognisethesagepythoninterpreter/How do I configure PyCharm so I can edit and run Sage scripts?
When I tried selecting Sage's python in `C:\Program Files\SageMath 8.0\runtime\opt\sagemath8.0\local\bin` PyCharm said 'cannot setup SDK'.
I am using SageMath 8 on Windows.
[Edit] Rephrased the question because it is partly solved (and is pretty difficult), asking new question for the remainder so it is more clear.PHPiratesThu, 23 Nov 2017 08:08:17 0600https://ask.sagemath.org/question/39742/Running Sagemath 8.2 natively in Windows, how to change the Jupyter default directory?https://ask.sagemath.org/question/42445/runningsagemath82nativelyinwindowshowtochangethejupyterdefaultdirectory/ With SageMath 8.2 running natively under Windows 10, the Jupyter dashboard opens by default in the directory `C:\Users\<me>`, so I then have to navigate to the desired directory that contains my Jupyter notebook .ipynb files.
***How can I cause Jupyter to open directly in the desired directory?***
The relevant Windows shortcut has the following Target Property:
`"C:\Program Files\SageMath 8.2\runtime\bin\mintty.exe" t 'SageMath 8.2 Notebook Server' i sagemath.ico /bin/bash login c '/opt/sagemath8.2/sage notebook jupyter'`
Can the `sage notebook jupyter` portion be adjusted somehow to specify the desired directory?res0001Sat, 26 May 2018 21:59:30 0500https://ask.sagemath.org/question/42445/libSingular issue windowshttps://ask.sagemath.org/question/43452/libsingularissuewindows/ hello, when i try to run sage i have got following response:
sage
Traceback (most recent call last):
File "/opt/sagemath8.3/src/bin/sageipython", line 9, in <module>
from sage.misc.banner import banner
File "/opt/sagemath8.3/local/lib/python2.7/sitepackages/sage/misc/banner.py", line 16, in <module>
from sage.env import (SAGE_VERSION, SAGE_DATE, SAGE_VERSION_BANNER,
File "/opt/sagemath8.3/local/lib/python2.7/sitepackages/sage/env.py", line 186, in <module>
"libSingular not founda working Singular install in $SAGE_LOCAL "
RuntimeError: libSingular not founda working Singular install in $SAGE_LOCAL is required for Sage to work
Maybe I am wrong but i think it is caused by environment variables. Is there any easy way to fix it? I didn't get any error or warning during installation.
Thanks for any reply!
alexx600Thu, 23 Aug 2018 03:33:02 0500https://ask.sagemath.org/question/43452/Installing 8.3https://ask.sagemath.org/question/43398/installing83/I'm using SageMath 8.2 on a Windows 10 Native with Jupyter Notebook.
I uninstalled SageMath 8.2 and installed SageMath 8.3. in a different folder.
There is still a lot of garbage left in the SageMath 8.2 folder, can I delete it?
Daniel
danielvolinskiFri, 17 Aug 2018 06:39:08 0500https://ask.sagemath.org/question/43398/When will a Windows cygwin version be available/stablehttps://ask.sagemath.org/question/8312/whenwillawindowscygwinversionbeavailablestable/I apologise if this question is not suitable for this site.
As the subject line suggests, I'm looking for any information on when people think a cygwin version of sage which can run on Windows in a reasonably stable way may be available. Any slightlyeducated guesses would be much appreciated!!
I've been trying to find a CAS to call home for some time now (after trying Maxima, Octave, Sympy/Scipy in Pythonxy, Spacetime... you get the idea :) ). For my needs, SAGE is superior to all of these in many ways, but the lack of a native port is a significant hurdle, and I've been tossing up buying a student version of Mathematica, which of course I wouldn't want to do if a SAGE port of sorts is around the corner.
Thanks!
Tom26Fri, 09 Sep 2011 01:09:29 0500https://ask.sagemath.org/question/8312/Unable to download to PDFhttps://ask.sagemath.org/question/43049/unabletodownloadtopdf/I'm using SageMath 8.2 on a Windows 10 Native with Jupyter Notebook.
When trying to download to PDF a Jupyter Notebook, I get the following message:
500 : Internal Server Error
nbconvert failed: PDF creating failed, captured latex output:
This is XeTeX, Version 3.141592652.60.99998 (MiKTeX 2.9.6500 64bit)
entering extended mode
! I can't find file `/home/danie_000/SageManifolds/test/notebook.tex'.
<*> ...e/danie_000/SageManifolds/test/notebook.tex
Please type another input file name:
! Emergency stop.
<*> ...e/danie_000/SageManifolds/test/notebook.tex
No pages of output.
Transcript written on texput.log.
It is looking for some file in `/home/danie_000` but I don't use that default directory to place my Jupyter files.
I've changed my fstab like this:
D:\Users\danie_000\Sage /home/danie_000 ntfs binary,posix=1,acl 0 0
So I use `D:\Users\danie_000\Sage` instead, a different directory and drive. If SageMath allows changing the default root directory via changing the fstab file, it should also change any command that needs that information!
Daniel
danielvolinskiTue, 17 Jul 2018 11:45:03 0500https://ask.sagemath.org/question/43049/How can I get R graphics to work with the Windows binary install of Sage 8.2?https://ask.sagemath.org/question/42343/howcanigetrgraphicstoworkwiththewindowsbinaryinstallofsage82/I installed Sage 8.2 with the Windows binary. In a Sage notebook, I executed the following commands:
data = [2, 3, 7, 8, 10, 11]
print median(data)
print r.quantile(data,.5)
r.boxplot(data)
This works in SageMathCell (lines 2 and 3 returning 15/2 and line 4 returning an object that includes a displayed boxplot); however, in Sage 8.2 Notebook on my Windows machine, line 4 returns [1] 2, and the command
r.png()
returns a Python traceback that includes "...\SageMath8.2.exe is not a valid Win32 application."

RuntimeError Traceback (most recent call last)
<ipythoninput35d43610b342f> in <module>()
> 1 r.png()
/opt/sagemath8.1/local/lib/python2.7/sitepackages/sage/interfaces/r.py in png(self, *args, **kwds)
445 t = r.eval('capabilities("aqua")')
446 if "TRUE" not in s+t:
> 447 raise RuntimeError("R was not compiled with PNG support")
448
449 from sage.server.support import EMBEDDED_MODE
RuntimeError: R was not compiled with PNG support
When I searched on various words, I kept coming upon information from about 68 years ago dealing with different headers in the compile phase and the presence or absence of an X11 server. Do I really need to install an X11 server, download the SageMath source, make a variety of compiler choices, and compile myself?dhousmanMon, 14 May 2018 14:54:07 0500https://ask.sagemath.org/question/42343/Using sagemath on windows 10 : impossible to attach filehttps://ask.sagemath.org/question/42870/usingsagemathonwindows10impossibletoattachfile/Hi! I've installed sagemath on windows 10 and I'm going crazy. The problem it seems to be that all the program is runing in some kind of temporal directory . I leave here some feedback from my console:
sage: load_attach_path()
['.']
If I change the path,
sage: load_attach_path('C:\Users\Javier\Desktop\current\height1')
sage: load_attach_path()
['.', 'C:\\Users\\Javier\\Desktop\\current\\height1']
So we can confirm the new path was added. Inside the folder height1 I have a file "'heigth1.sage". Let's try to attach it:
sage: attach("height1.sage")

OSError Traceback (most recent call last)
<ipythoninput4cb4dd36405f2> in <module>()
> 1 sage.repl.load.load(sage.repl.load.base64.b64decode("aGVpZ2h0MS5zYWdl"),globals(),True)
/opt/sagemath8.2/local/lib/python2.7/sitepackages/sage/repl/load.py in load(filename, globals, attach)
252 # See Trac 11812.
253 if attach:
> 254 add_attached_file(fpath)
255 with open(preparse_file_named(fpath)) as f:
256 code = compile(f.read(), preparse_file_named(fpath), 'exec')
/opt/sagemath8.2/local/lib/python2.7/sitepackages/sage/repl/attach.py in add_attached_file(filename)
376 sage.repl.inputhook.install()
377 fpath = os.path.abspath(filename)
> 378 attached[fpath] = os.path.getmtime(fpath)
379
380
/opt/sagemath8.2/local/lib/python2.7/genericpath.py in getmtime(filename)
60 def getmtime(filename):
61 """Return the last modification time of a file, reported by os.stat()."""
> 62 return os.stat(filename).st_mtime
63
64
OSError: [Errno 2] No such file or directory: '/home/Javier/C:\\Users\\Javier\\Desktop\\current\\height1/height1.sage'

Recall the Error **No such file or directory: '/home/Javier/C:\\Users\\Javier\\Desktop\\current\\height1/height1.sage'**. What ?? Please, help me ! I will appreciate your feedback very much!JavidlgMon, 09 Jul 2018 10:26:08 0500https://ask.sagemath.org/question/42870/plot3d fail, win32 error 1114https://ask.sagemath.org/question/41062/plot3dfailwin32error1114/ Hi, This is the first time that I try to use plot3d function , It showed information as below:
Please give me some advice to fix the problem
sage: x, y = var('x,y')
sage: plot3d(x^2 + y^2, (x,2,2), (y,2,2))
0 [main] python2.7 1456 child_info_fork::abort: unable to map C:\Program Files\SageMath 8.1\runtime\opt\sagemath8.1\local\lib\python2.7\sitepackages\psutil\_psutil_cygwin.dll, Win32 error 1114
Graphics3d ObjectworaphonSun, 11 Feb 2018 04:18:09 0600https://ask.sagemath.org/question/41062/Add on other packageshttps://ask.sagemath.org/question/42129/addonotherpackages/ I wanted to be able to use the python "uncertainties" package in the sage notebooks. I have sage installed on windows. The sage terminal said pip and easy_install did not have necessary permissions. In fact, the sage terminal itself did not have write access to the packages folder.
How do I install packages like 'uncertainties'?ionsmeSun, 22 Apr 2018 21:12:35 0500https://ask.sagemath.org/question/42129/sagemath8.1 windowshttps://ask.sagemath.org/question/42120/sagemath81windows/ In sagemath8.1 windows native installation . Help files are poorly formatted, particularly in the Reference Documentation. They appear to not be accessing a .css file.
Do I have a faulty installation file, and if so how can I get a copy a nonfaulty one?NormekSat, 21 Apr 2018 22:50:45 0500https://ask.sagemath.org/question/42120/how to sage a .sage filehttps://ask.sagemath.org/question/41568/howtosageasagefile/ I am having sage installed on a windows 10. Sage file example.sage.sage which is generated by sagetex is situated in K:\sageexample folder. How to run sage on this file. All references are full of jargonism and don't explain anything at all or give examples.
I run sage shell and prompt:
run ('K:sageexample\example.sage.sage') but no result. I run load command load ('K:sageexample\example.sage.sage') no example.
I don't want to install linux for one program.
How to "sage" a file from notebook interface?kate_l196Thu, 15 Mar 2018 12:27:18 0500https://ask.sagemath.org/question/41568/sagemath windows 8.1 launching jupyter from another directory or drivehttps://ask.sagemath.org/question/41348/sagemathwindows81launchingjupyterfromanotherdirectoryordrive/ After installing sagemath 8.1 for windows, I try to launch jupyter from drive E:\ where the data are, instead of C:\ which is a SSD. It is not possible once in the browser to switch to another disk as reported in various places on internet.
What is the best work around?c05772Thu, 01 Mar 2018 18:17:09 0600https://ask.sagemath.org/question/41348/