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.Sat, 13 Jun 2020 00:14:54 +0200sage 9.1 installation problemhttps://ask.sagemath.org/question/51887/sage-91-installation-problem/ I have downloaded **sage-9.1-Ubuntu_18.04-x86_64.tar.bz2** binary into a folder named Sage 9.1. Then from that location on terminal I typed:
./sage
A patching sequence started with the final mesagge:
Error: The path to the Sage directory ($SAGE_ROOT) MUST NOT contain spaces.
It is currently "/home/javi/Sage 9.1/SageMath".
Please correct this by moving Sage (or renaming one or more directories) first.
Exiting now...
Error setting environment variables by sourcing '/home/javi/Sage 9.1/SageMath/src/bin/sage-env';
possibly contact sage-devel (see http://groups.google.com/group/sage-devel).
Then I thought "this must be fixed by changing the directory name"...wroooong. **I changed the path to /home/javi/sage/sage-9.1** (changed "Sage 9.1" for "sage" and "SageMath" for "sage-9.1"). Then run again
./sage
and gave me:
It seems that you are attempting to run Sage from an unpacked source
tarball, but you have not compiled it yet (or maybe the build has not
finished). You should run `make` in the Sage root directory first.
If you did not intend to build Sage from source, you should download
a binary tarball instead. Read README.txt for more information.
Aditionally I have:
$python --version
Python 3.7.7
Would anybody help me? Thank you in advance.
Wed, 10 Jun 2020 13:53:25 +0200https://ask.sagemath.org/question/51887/sage-91-installation-problem/Comment by Javidlg for <p>I have downloaded <strong>sage-9.1-Ubuntu_18.04-x86_64.tar.bz2</strong> binary into a folder named Sage 9.1. Then from that location on terminal I typed:</p>
<pre><code>./sage
</code></pre>
<p>A patching sequence started with the final mesagge:</p>
<pre><code>Error: The path to the Sage directory ($SAGE_ROOT) MUST NOT contain spaces.
It is currently "/home/javi/Sage 9.1/SageMath".
Please correct this by moving Sage (or renaming one or more directories) first.
Exiting now...
Error setting environment variables by sourcing '/home/javi/Sage 9.1/SageMath/src/bin/sage-env';
possibly contact sage-devel (see http://groups.google.com/group/sage-devel).
</code></pre>
<p>Then I thought "this must be fixed by changing the directory name"...wroooong. <strong>I changed the path to /home/javi/sage/sage-9.1</strong> (changed "Sage 9.1" for "sage" and "SageMath" for "sage-9.1"). Then run again</p>
<pre><code>./sage
</code></pre>
<p>and gave me:</p>
<pre><code>It seems that you are attempting to run Sage from an unpacked source
tarball, but you have not compiled it yet (or maybe the build has not
finished). You should run `make` in the Sage root directory first.
If you did not intend to build Sage from source, you should download
a binary tarball instead. Read README.txt for more information.
</code></pre>
<p>Aditionally I have:</p>
<pre><code>$python --version
Python 3.7.7
</code></pre>
<p>Would anybody help me? Thank you in advance.</p>
https://ask.sagemath.org/question/51887/sage-91-installation-problem/?comment=51932#post-id-51932Thank you very much @eric_g for your response! indeed, It worked! Do I have to update my post??Sat, 13 Jun 2020 00:14:54 +0200https://ask.sagemath.org/question/51887/sage-91-installation-problem/?comment=51932#post-id-51932Comment by eric_g for <p>I have downloaded <strong>sage-9.1-Ubuntu_18.04-x86_64.tar.bz2</strong> binary into a folder named Sage 9.1. Then from that location on terminal I typed:</p>
<pre><code>./sage
</code></pre>
<p>A patching sequence started with the final mesagge:</p>
<pre><code>Error: The path to the Sage directory ($SAGE_ROOT) MUST NOT contain spaces.
It is currently "/home/javi/Sage 9.1/SageMath".
Please correct this by moving Sage (or renaming one or more directories) first.
Exiting now...
Error setting environment variables by sourcing '/home/javi/Sage 9.1/SageMath/src/bin/sage-env';
possibly contact sage-devel (see http://groups.google.com/group/sage-devel).
</code></pre>
<p>Then I thought "this must be fixed by changing the directory name"...wroooong. <strong>I changed the path to /home/javi/sage/sage-9.1</strong> (changed "Sage 9.1" for "sage" and "SageMath" for "sage-9.1"). Then run again</p>
<pre><code>./sage
</code></pre>
<p>and gave me:</p>
<pre><code>It seems that you are attempting to run Sage from an unpacked source
tarball, but you have not compiled it yet (or maybe the build has not
finished). You should run `make` in the Sage root directory first.
If you did not intend to build Sage from source, you should download
a binary tarball instead. Read README.txt for more information.
</code></pre>
<p>Aditionally I have:</p>
<pre><code>$python --version
Python 3.7.7
</code></pre>
<p>Would anybody help me? Thank you in advance.</p>
https://ask.sagemath.org/question/51887/sage-91-installation-problem/?comment=51889#post-id-51889Could you restart from scratch, i.e. untar `sage-9.1-Ubuntu_18.04-x86_64.tar.bz2` in a directory without any space in the name?Wed, 10 Jun 2020 14:16:09 +0200https://ask.sagemath.org/question/51887/sage-91-installation-problem/?comment=51889#post-id-51889