ASKSAGE: Sage Q&A Forum - RSS feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Fri, 26 Feb 2021 16:29:04 +0100Updating Sage to python 3.8 or 3.9https://ask.sagemath.org/question/55925/updating-sage-to-python-38-or-39/I'm running an alogorithm that seems to work in sagecell but doesn't work in my version of Sage.
I think that maybe this has to do with the fact my version of Sage uses Python 3.7.7, in the last 2 days I tried everything I could to upgrade the Python version but nothing seems to work.
Also I find quite odd that it installs Python 3.7.7 given how on the release notes of Sage 9.2 it states that the program comes with its own copy of python 3.8.5.
Do you know how can I solve?Alain NgalaniFri, 26 Feb 2021 16:29:04 +0100https://ask.sagemath.org/question/55925/update package scipyhttps://ask.sagemath.org/question/51272/update-package-scipy/Hi! I would like to update the scipy package used by sage. It uses 1.2 while I would like to use 1.4 (which I have on my system, but don't mind installing in sage's python toolchain).
Is this possible? Thanks21er33Tue, 05 May 2020 13:39:38 +0200https://ask.sagemath.org/question/51272/Sage pip not compatible with PyPIhttps://ask.sagemath.org/question/38746/sage-pip-not-compatible-with-pypi/I want to make a PyPI package for sage, similar to
https://pypi.python.org/pypi/darmonpoints/
or
https://pypi.python.org/pypi/surface_dynamics/
that can be installed by anyone by typing one line. But trying these out, the installation instructions don't work! I get an error:
$~/SageMath/sage -pip install surface_dynamics
pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
Collecting surface_dynamics
Could not fetch URL https://pypi.python.org/simple/surface-dynamics/: There was a problem confirming the ssl certificate: Can't connect to HTTPS URL because the SSL module is not available. - skipping
Could not find a version that satisfies the requirement surface_dynamics (from versions: )
No matching distribution found for surface_dynamics
I believe that it is because sage is using pip 8.x, and a later version is required for PyPI. If I try installing surface_dynamics with using pip 9.01, it downloads it (but gives an error later because it is not in sage), so I do think the version is a problem.
I just updated to sage 8.0. Is this planning to be fixed soon? If there is a workaround for me, I guess that is nice, but it defeats the purpose of getting my code hosted on PyPI if I still have to give the users complicated instructions.
Or maybe my sage installation is broken? Do others get the same error?
EDIT:
In light of eric_g's answer, I tried installing the developer version of 8.1. Indeed the sage pip is now 9.01, but the same error persists. So I guess my theory about the versions is wrong. It must be something else funny with the sage pip?paragonThu, 07 Sep 2017 07:13:34 +0200https://ask.sagemath.org/question/38746/Updating Sagehttps://ask.sagemath.org/question/9135/updating-sage/I like to have the latest version of software. However, with Sage, it seems I need to re-download the entire application to get the latest version, which takes hundreds of megabytes and quite a long time.
Is there a less resource-intensive way to update Sage?
I'm running the "app" version on Mac OS X 10.7.4, for what it's worth.sflammiaWed, 11 Jul 2012 17:29:40 +0200https://ask.sagemath.org/question/9135/compiling problems with new versionshttps://ask.sagemath.org/question/24989/compiling-problems-with-new-versions/Hi, I've been developing a project on my university's computers (which unfortunately run a 4.7.1 version) and on the sagenb.org site, and everything went fine. But as soon as I tried to run the project on cloud.sagemath I ran into problems (like a "keyerror 0" message). After some work I think that these problems are somehow due to the .ngens() function, so I'd like to know if there are some known issues regarding versions update and/or with this particular function.
thanksspringfieldgionTue, 25 Nov 2014 10:19:58 +0100https://ask.sagemath.org/question/24989/Updating Sage-Mathhttps://ask.sagemath.org/question/9574/updating-sage-math/I am using Windows 7 and when I update SageMath I usually delete the old version (and the disk) and then update to the new .ova version. How do I save my worksheets or move them over?gjmTue, 27 Nov 2012 11:16:52 +0100https://ask.sagemath.org/question/9574/Updating to 5.4 from Ubuntu PPAhttps://ask.sagemath.org/question/9530/updating-to-54-from-ubuntu-ppa/Hello,
This morning, I had updated Sage to the recent version 5.4 from the Ubuntu PPA. The installation crashed but later I fixed with little help from the transcript of the Sage-Support mailing list to the following stage:
- Sage runs with `sudo` permissions but not otherwise.
- Without `sudo` privilege, the crash report is [here](http://pastebin.com/SY5Kzkh0).
The error I get is a name error: `sage_prompt` is not defined and a couple of inaccessible directories (I think the OS module is trying to access some directories which require `sudo` permissions.) There is also a warning: a config file is not getting created...
Hope someone can help me fix this. KnSWed, 14 Nov 2012 03:24:39 +0100https://ask.sagemath.org/question/9530/How to install patches? (Or should we?)https://ask.sagemath.org/question/8835/how-to-install-patches-or-should-we/Hi -
Hopefully this question is basic, but I haven't been able to find a clear answer online. (For the record, I am using the Sage notebook with the app version of Sage on a Mac.)
I consider myself a lowly and ignorant end user of Sage -- maybe one day I'll know enough to be able to contribute to development, but that day is not near. How do I (or should I, even) download and install patches, fixes and updates to Sage, short of doing a whole new installation from scratch?
More specifically: Suppose I encounter some bug or shortcoming with Sage, and I discover that there is already a ticket for that problem on the [Sage developer trac](http://trac.sagemath.org/sage_trac/). Suppose that that ticket is categorized as "fixed," and I see a link to some file (usually ending with .spkg, .patch, or .diff) near the top of the page. Is that file something that I, the lowly end user, am meant to download and install, hopefully fixing my problem? Or are those files on sage_trac really just meant for development work, and the fix will only trickle down to the end users once those fixes are incorporated into a future version of Sage?
If am I meant to be installing these patches myself, how exactly is that done? That is, where do I put the files, and what do I type where?
I feel like an idiot phrasing it in such basic terms. And I'm sure that the answers to my questions are already floating out there somewhere, but I haven't been able to find them. For example, the help stuff I've found out there for sage_trac is all about how to post or contribute to a trac ticket, rather than how to take advantage of the fixes found for that ticket.jdcThu, 29 Mar 2012 12:27:33 +0200https://ask.sagemath.org/question/8835/