Re: [sage-support] Uninstalling SageMath

2020-12-19 Thread Karima Shahzad
Thank you very much, the folder is SageMath and was downloaded on Ubuntu
20.04 from the source code.

On Sat, Dec 19, 2020, 5:22 PM Jan Groenewald  wrote:

> Hi
>
> On Sat, 19 Dec 2020 at 10:32, Karima Shahzad 
> wrote:
>
>> Hello,
>>
>> I want to safely uninstall Sage (all the packages), I tried running "sudo
>> apt-get remove sagemath-upstream-binary" as I had installed from the
>> source code binary, and it worked. Sage is inaccessible now via the
>> terminal, but the directory is yet there including all the contents. Should
>> I assume that it emptied all the occupied space? Can I move the folder
>> directly to the trash?
>>
>
> sagemath-upstream-binary is from a PPA that was discontinued in 2017, and
> last available on Ubuntu 14.04 Trusty (which is end of life since April
> 2019). The apt-get command you used would have removed it.
>
> If you also downloaded source or a binary, perhaps for a newer sage
> version, that would not be affected by apt. If you have no personal files,
> documents, for example notebooks in there, you can safely delete it. The
> folder might be called SageMath if it is a newer version or something
> sage-7.4-ubuntu-14.04.  You can move that directly to Trash.
>
> Regards,
> Jan
>
>
>
> --
>   .~.
>   /V\ Jan Groenewald
>  /( )\www.aims.ac.za
>  ^^-^^
>
> --
> You received this message because you are subscribed to the Google Groups
> "sage-support" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to sage-support+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/sage-support/CAAg%3Dp_2o7pr8ZBp4qHN6G0rsKPbHpwSmGhSNEXk1iWNT%2BPn%2B3g%40mail.gmail.com
> <https://groups.google.com/d/msgid/sage-support/CAAg%3Dp_2o7pr8ZBp4qHN6G0rsKPbHpwSmGhSNEXk1iWNT%2BPn%2B3g%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>
Karima

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/CADp1E_pqGgEOZrMeUo-cLdSVhk34MvU9PeNaxS3CiSSNbgfiQA%40mail.gmail.com.


[sage-support] Uninstalling SageMath

2020-12-19 Thread Karima Shahzad
Hello,

I want to safely uninstall Sage (all the packages), I tried running "sudo
apt-get remove sagemath-upstream-binary" as I had installed from the source
code binary, and it worked. Sage is inaccessible now via the terminal, but
the directory is yet there including all the contents. Should I assume that
it emptied all the occupied space? Can I move the folder directly to the
trash?

Thank you,

Karim S

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/CADp1E_r8-%3D1pFVW2rg4VuSZUDbeAiNS2hn3AduEsY2JS%2Bs3yoA%40mail.gmail.com.


Re: [sage-support] Effect of deleting zip file

2020-12-18 Thread Karima Shahzad
Thank you, William Stein.

Karima

On Fri, Dec 18, 2020, 11:17 PM William Stein  wrote:

> Yes.
>
> On Fri, Dec 18, 2020 at 9:58 AM Karima Shahzad 
> wrote:
> >
> > Hi every one,
> > I have the simplest question,
> > I want to free up some space, Can I delete the Sage zip file
> (sage-9.1.tar.bz2) after installation, if it has no effect?
> >
> > Thank you,
> >
> > Best
> > Karim S
> >
> > --
> > You received this message because you are subscribed to the Google
> Groups "sage-support" group.
> > To unsubscribe from this group and stop receiving emails from it, send
> an email to sage-support+unsubscr...@googlegroups.com.
> > To view this discussion on the web visit
> https://groups.google.com/d/msgid/sage-support/CADp1E_p70pUX4%2BfWe6THrDCsZMO8GV7PKkTT%3DXkd3JxnnG9rhA%40mail.gmail.com
> .
>
>
>
> --
> William (http://wstein.org)
>
> --
> You received this message because you are subscribed to the Google Groups
> "sage-support" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to sage-support+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/sage-support/CACLE5GAypMEYcM63m1CMW7YsOO1OAxz2DuOmuK363rzjfLOaCQ%40mail.gmail.com
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/CADp1E_o9GjGutg%2BTDajM-T_6GYr6iU7vDy9%2BPYwWGcyqZiWWfA%40mail.gmail.com.


[sage-support] Effect of deleting zip file

2020-12-18 Thread Karima Shahzad
Hi every one,
I have the simplest question,
I want to free up some space, Can I delete the Sage zip file
(sage-9.1.tar.bz2) after installation, if it has no effect?

Thank you,

Best
Karim S

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/CADp1E_p70pUX4%2BfWe6THrDCsZMO8GV7PKkTT%3DXkd3JxnnG9rhA%40mail.gmail.com.


Re: [sage-support] Re: integrating sin(t)/t

2020-09-29 Thread Karima Shahzad
Do you recommend Sage-9.2 for the users if they're working with Sage-9.1?

On Tue, Sep 29, 2020 at 12:54 PM Eric Gourgoulhon 
wrote:

> I confirm the issue with the Taylor series with Sage 9.1. Fortunately, the
> bug seems to have been fixed for Sage 9.2. As Emmanuel, I get the correct
> Taylor series with Sage 9.2.beta13.
>
> Le mardi 29 septembre 2020 à 09:36:09 UTC+2, Emmanuel Charpentier a écrit :
>
>> I can’t reproduce your problem :
>>
>> sage: sage.version.version
>> '9.2.beta13'
>> sage: var('t')
>> t
>> sage: assume(x>0)
>> sage: f(x)=integrate(sin(t)/t,t,0,x)
>> sage: f
>> x |--> sin_integral(x)
>> sage: taylor(f(x),x,0,10)
>> 1/3265920*x^9 - 1/35280*x^7 + 1/600*x^5 - 1/18*x^3 + x
>>
>> My platform is Debian testing running on core i7 + 16 GB RAM ; sage is
>> built to use as much system packages as possible. hat are your platforms ?
>>
>> HTH,
>> ​
>> Le lundi 28 septembre 2020 à 22:03:56 UTC+2, fqgo...@colby.edu a écrit :
>>
>>> I am trying to see how to do a standard calculus exercise in Sage. I
>>> want a power series for the integral of sin(x)/x. I tried:
>>>
>>> sage: var('t')
>>> t
>>> sage: assume(x>0)
>>> sage: f(x)=integrate(sin(t)/t,t,0,x)
>>> sage: f
>>> x |--> sin_integral(x)
>>> sage: taylor(f(x),x,0,10)
>>> 73/466560*x^9 - 127/35280*x^7 + 31/600*x^5 - 7/18*x^3 + x
>>>
>>> The first weirdness is that Sage can't compute the integral unless I add
>>> the "assume(x>0)"; I'm not sure why.
>>>
>>> The second weirdness is that the Taylor series is wrong!
>>> Taylor(Si(x),x,0,10) gives the same answer.
>>>
>>> Fernando
>>>
>>>
>>> --
>>> ==
>>> Fernando Q. Gouvea
>>> Carter Professor of Mathematics
>>> Colby College
>>> Mayflower Hill 5836
>>> Waterville, ME 04901   fqgo...@colby.edu   
>>> http://www.colby.edu/~fqgouvea
>>>
>>> The object of opening the mind, as of opening the mouth, is to shut it
>>> again on something solid.
>>>   -- G. K. Chesterton, Autobiography.
>>>
>>>
>>> --
> You received this message because you are subscribed to the Google Groups
> "sage-support" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to sage-support+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/sage-support/fa8ad53c-16e3-46ad-8d73-c2b7a28224acn%40googlegroups.com
> 
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/CADp1E_qu9WCnDnGZ3ExUTovfzkQO6_5Pyc6nLFamGNEfaNGRpA%40mail.gmail.com.


Re: [sage-support] SageMath doesn't pass all tests

2020-09-09 Thread Karima Shahzad
I have TeXstudio, I get the same issue of all test not passed. May I should
also try for reinstalling Texstudio, right?

On Wed, Sep 9, 2020 at 1:27 PM Taj Jankovic  wrote:

> Hi all,
>
> building Sage from the source was also unsuccessful. However, I resolved
> the issue by uninstalling tex-live and all related packages. Then I was
> able to normally extract the SageMath binary and all tests passed without
> errors.
>
> Thanks again for all the help!
>
> Best,
> Taj
>
> On Tue, Sep 8, 2020 at 11:45 AM Dima Pasechnik  wrote:
>
>> it might be quicker to build Sage from source on your system than to try
>> to fix this.
>>
>> On Tue, 8 Sep 2020, 10:23 Taj Jankovic,  wrote:
>>
>>> Also, if it helps, if I follow these steps
>>>
>>> cd /home/taj/SageMath
>>> ./sage
>>>
>>> and run the command
>>> sage: assume(x<1)
>>>
>>> I get a similar error
>>>
>>> ImportError   Traceback (most recent call
>>> last)
>>>  in ()
>>> > 1 assume(x>>
>>> /home/taj/SageMath/local/lib/python3.7/site-packages/sage/symbolic/assumptions.py
>>> in assume(*args)
>>> 625 assume(*x)
>>> 626 else:
>>> --> 627 x.assume()
>>> 628
>>> 629
>>>
>>> /home/taj/SageMath/local/lib/python3.7/site-packages/sage/symbolic/expression.pyx
>>> in sage.symbolic.expression.Expression.assume
>>> (build/cythonized/sage/symbolic/expression.cpp:13564)()
>>>1875 raise TypeError("self (=%s) must be a relational
>>> expression" % self)
>>>1876 if not self in _assumptions:
>>> -> 1877 m = self._maxima_init_assume_()
>>>1878 s = maxima.assume(m)
>>>1879 pynac_assume_rel(self._gobj)
>>>
>>> /home/taj/SageMath/local/lib/python3.7/site-packages/sage/symbolic/expression.pyx
>>> in sage.symbolic.expression.Expression._maxima_init_assume_
>>> (build/cythonized/sage/symbolic/expression.cpp:14329)()
>>>1951 m = 'notequal(%s, %s)'%(l, r)
>>>1952 else:
>>> -> 1953 m = '(%s)%s(%s)' % (l,
>>> maxima._relation_symbols()[op], r)
>>>1954 return m
>>>1955
>>>
>>> /home/taj/SageMath/local/lib/python3.7/site-packages/sage/misc/lazy_import.pyx
>>> in sage.misc.lazy_import.LazyImport.__getattr__
>>> (build/cythonized/sage/misc/lazy_import.c:3536)()
>>> 319 True
>>> 320 """
>>> --> 321 return getattr(self.get_object(), attr)
>>> 322
>>> 323 # We need to wrap all the slot methods, as they are not
>>> forwarded
>>>
>>> /home/taj/SageMath/local/lib/python3.7/site-packages/sage/misc/lazy_import.pyx
>>> in sage.misc.lazy_import.LazyImport.get_object
>>> (build/cythonized/sage/misc/lazy_import.c:2347)()
>>> 186 if likely(self._object is not None):
>>> 187 return self._object
>>> --> 188 return self._get_object()
>>> 189
>>> 190 cpdef _get_object(self):
>>>
>>> /home/taj/SageMath/local/lib/python3.7/site-packages/sage/misc/lazy_import.pyx
>>> in sage.misc.lazy_import.LazyImport._get_object
>>> (build/cythonized/sage/misc/lazy_import.c:2586)()
>>> 218 elif self._at_startup and not startup_guard:
>>> 219 print('Option ``at_startup=True`` for lazy import
>>> {0} not needed anymore'.format(self._name))
>>> --> 220 self._object = getattr(__import__(self._module, {}, {},
>>> [self._name]), self._name)
>>> 221 name = self._as_name
>>> 222 if self._deprecation is not None:
>>>
>>> /home/taj/SageMath/local/lib/python3.7/site-packages/sage/interfaces/maxima_lib.py
>>> in ()
>>>  90 from sage.symbolic.ring import SR
>>>  91
>>> ---> 92 from sage.libs.ecl import EclObject, ecl_eval
>>>  93
>>>  94 from .maxima_abstract import (MaximaAbstract,
>>> MaximaAbstractFunction,
>>>
>>> ImportError:
>>> /home/taj/SageMath/local/lib/python3.7/site-packages/sage/libs/
>>> ecl.cpython-37m-x86_64-linux-gnu.so: undefined symbol: cl_env_p
>>>
>>>
>>>
>>> Best,
>>> Taj
>>>
>>> On Tue, Sep 8, 2020 at 10:44 AM Taj Jankovic 
>>> wrote:
>>>
 Hi,

 thanks for the quick response! If I run

 *./sage*

 then close sage and run

 *./sage -tp --long src/sage/manifolds*

 the errors remain the same...

 Best,
 Taj





 On Tue, Sep 8, 2020 at 10:21 AM Dima Pasechnik 
 wrote:

> On Tue, Sep 8, 2020 at 8:41 AM Taj Jankovic 
> wrote:
> >
> > Hi everyone,
> >
> > I am having trouble with the SageMath.
> >
> > 1/ I've downloaded the binary tar file
> sage-9.1-Ubuntu_18.04-x86_64.tar.bz2 from
> > https://www.sagemath.org/download-linux.html
> >
> > 2/ Then
> > tar jxvf sage-9.1-Ubuntu_18.04-x86_64.tar.bz2
> > cd SageMath
>
> at this point one should run
>
> ./sage
>
> without parameters.
> Only then it should be ready (the 1st run is a kind of bootstrap)
>
> > ./sage -tp --long src/sage/ma

Re: [sage-support] Re: numerical simplification

2020-07-28 Thread Karima Shahzad
Thank you, but the issue is solved using different command


On Tue, Jul 28, 2020 at 2:27 PM Vincent Delecroix <20100.delecr...@gmail.com>
wrote:

> One solution is to map the expression into
> polynomial expressions with variable 'a' and
> 'r' over the floating point numbers
>
> sage: a,r = SR.var('a,r');
> sage: expr = ((sqrt(2)*a-2*r)/(2+2*sqrt(2)))
> sage: RDF['a,r'](expr)
> 0.2928932188134525*a - 0.4142135623730951*r
>
> (this is not very robust as it would fail for something
> like cos(sqrt(2) + r))
>
> Vincent
>
> Le 28/07/2020 à 11:24, Bert Henry a écrit :
> >
> >
> > Am Dienstag, 28. Juli 2020 11:13:49 UTC+2 schrieb JJS137:
> >>
> >> Have you tried canonicalize_radical() ?
> >> Cheers,
> >> John
> >>
> >>
> > Yes, but it doesn't solve the problem
> >
>
> --
> You received this message because you are subscribed to the Google Groups
> "sage-support" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to sage-support+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/sage-support/30d1f609-279f-4e76-8115-7959f381e536%40gmail.com
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/CADp1E_phUcedQF%2BVMmcX0tBPFsmWh7fqPO36uByLvh%3DusTbKRg%40mail.gmail.com.


Re: [sage-support] Re: numerical simplification

2020-07-28 Thread Karima Shahzad
sudo update-alternatives --install /usr/bin/python python
/usr/bin/python3.7
The above command solved my problem, and I installed Sage successfully,
Thanks to your support team and special thanks to Dima Pasechnik.

On Tue, Jul 28, 2020 at 2:13 PM John Spitzer  wrote:

> Have you tried canonicalize_radical() ?
> Cheers,
> John
>
>
> On Tue, 28 Jul 2020 at 18:17, Karima Shahzad 
> wrote:
>
>> I am sorry, what is it?
>>
>>
>> On Tue, Jul 28, 2020 at 11:12 AM Bert Henry  wrote:
>>
>>> Sorry for writing uncomplete formula. Here it is better
>>>
>>> (sqrt(2)*a-2*r)/(2+2*sqrt(2))
>>>
>>> Thanks
>>> Bert
>>>
>>> Am Montag, 27. Juli 2020 20:28:14 UTC+2 schrieb Bert Henry:
>>>>
>>>> How can I get from
>>>>
>>>> 2(2​+1)2​a−a​
>>>>
>>>>
>>>> the numerical term
>>>>
>>>> 0.2929a - 0.4142r
>>>>
>>>> Thanks in advance
>>>> Bert
>>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "sage-support" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to sage-support+unsubscr...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/sage-support/5d3e501e-4d7b-4c7c-a501-ed08c3d80bd8o%40googlegroups.com
>>> <https://groups.google.com/d/msgid/sage-support/5d3e501e-4d7b-4c7c-a501-ed08c3d80bd8o%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "sage-support" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to sage-support+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/sage-support/CADp1E_pMTuLujb8JZDW2yXz1zwkUVKu244CpwOdsbNogbMeFxA%40mail.gmail.com
>> <https://groups.google.com/d/msgid/sage-support/CADp1E_pMTuLujb8JZDW2yXz1zwkUVKu244CpwOdsbNogbMeFxA%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>>
>
>
> --
> John Spitzer
> Independent  Researcher Emeritus
>
> PO Box 211
> Elsternwick 3185
> Victoria
> Australia
>
> P +61 3 9528 6775
> M +61 478 634 239 
>
> <http://www.ennoble.com.au>
>
> --
> You received this message because you are subscribed to the Google Groups
> "sage-support" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to sage-support+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/sage-support/CABNZosHHRhn_LkVVaHpzQ%2BM%2BR2hYh5Zs-mB0MWjjCdR3sR0aEg%40mail.gmail.com
> <https://groups.google.com/d/msgid/sage-support/CABNZosHHRhn_LkVVaHpzQ%2BM%2BR2hYh5Zs-mB0MWjjCdR3sR0aEg%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/CADp1E_ofSWdd_WDaKA6kLeoSJjyVZ7%2Boxh%2BiqgNxjG4LoKwC%2Bw%40mail.gmail.com.


Re: [sage-support] Re: numerical simplification

2020-07-28 Thread Karima Shahzad
I am sorry, what is it?


On Tue, Jul 28, 2020 at 11:12 AM Bert Henry  wrote:

> Sorry for writing uncomplete formula. Here it is better
>
> (sqrt(2)*a-2*r)/(2+2*sqrt(2))
>
> Thanks
> Bert
>
> Am Montag, 27. Juli 2020 20:28:14 UTC+2 schrieb Bert Henry:
>>
>> How can I get from
>>
>> 2(2​+1)2​a−a​
>>
>>
>> the numerical term
>>
>> 0.2929a - 0.4142r
>>
>> Thanks in advance
>> Bert
>>
> --
> You received this message because you are subscribed to the Google Groups
> "sage-support" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to sage-support+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/sage-support/5d3e501e-4d7b-4c7c-a501-ed08c3d80bd8o%40googlegroups.com
> 
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/CADp1E_pMTuLujb8JZDW2yXz1zwkUVKu244CpwOdsbNogbMeFxA%40mail.gmail.com.


Re: [sage-support] make command Error 127

2020-07-28 Thread Karima Shahzad
Sir, great
it worked, thank you so much for the support

On Tue, Jul 28, 2020 at 12:02 PM Dima Pasechnik  wrote:

>
>
> On Tue, 28 Jul 2020, 07:13 Karima Shahzad, 
> wrote:
>
>> Hello,
>>  I am Installing SageMath from the source code on my Ubuntu20.04. I had
>> installed it successfully but, due to some issues in my system, I
>> reinstalled Ubuntu, and now following the same step for sage installation I
>> get an Error in the Installation of  'tar.bz2' file. I give the 'make -j4'
>> command but get the error
>> '/usr/bin/env: ‘python’: No such file or directory
>> make: *** [Makefile:31: base-toolchain] Error 127'
>>
>> I have installed all the prerequisites of SageMath. I have Python3 as
>> well. Please do help me out in fixing the issue. Is it like python should
>> be on the path of Sage? if so, how could I bring it there? Or either 'make'
>> should be on the path, if so, then again how can I bring it there?  Your
>> support would give me a big relief, as it has been my headache for three
>> days.
>>
>
> What is the full name of the tarfile you are using? Are you by any chance
> trying to build from a binary distribution?
>
> The standard Ubuntu's way to deal with the python problem seems to be to
> use
> update-alternatives command, something like this:
>
> sudo update-alternatives --install /usr/bin/python python
> /usr/bin/python3.7 10
>
>
>
> Note: I have 'GNU make 4.2.1'.
>>
>> Thank you
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "sage-support" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to sage-support+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/sage-support/111c1197-ccc2-47fa-948f-8c08b297cb53o%40googlegroups.com
>> <https://groups.google.com/d/msgid/sage-support/111c1197-ccc2-47fa-948f-8c08b297cb53o%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
> --
> You received this message because you are subscribed to the Google Groups
> "sage-support" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to sage-support+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/sage-support/CAAWYfq37H_LVVYHfdn%2ByAvHZ1kB8oNo_hEvvGUi5AyxEc0Y1KQ%40mail.gmail.com
> <https://groups.google.com/d/msgid/sage-support/CAAWYfq37H_LVVYHfdn%2ByAvHZ1kB8oNo_hEvvGUi5AyxEc0Y1KQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/CADp1E_ryvO%2B7e57eLr2VrGZPBTK82XJhfUTk2T_XqtFb3utSTw%40mail.gmail.com.


Re: [sage-support] make command Error 127

2020-07-28 Thread Karima Shahzad
Thank you for the prompt response.
The same has been suggested to me, may you explicitly tell me that how to
create a bin directory and a soft link to my path, n this case sage-9.1.
Thank you

On Tue, Jul 28, 2020 at 11:37 AM Jose Garcia  wrote:

> I had a similar problem. Python3 should be in your path. A workaround I
> did was to create a soft link named ‘python’ that points to your python3
> (put it in a directory that’s already in your path). Although I’m not 100%
> sure where the ideal place to put this soft link is. Maybe someone else has
> better advice on that.
>
> Best
>
> On Tue, Jul 28, 2020 at 00:13 Karima Shahzad 
> wrote:
>
>> Hello,
>>  I am Installing SageMath from the source code on my Ubuntu20.04. I had
>> installed it successfully but, due to some issues in my system, I
>> reinstalled Ubuntu, and now following the same step for sage installation I
>> get an Error in the Installation of  'tar.bz2' file. I give the 'make -j4'
>> command but get the error
>> '/usr/bin/env: ‘python’: No such file or directory
>> make: *** [Makefile:31: base-toolchain] Error 127'
>>
>> I have installed all the prerequisites of SageMath. I have Python3 as
>> well. Please do help me out in fixing the issue. Is it like python should
>> be on the path of Sage? if so, how could I bring it there? Or either 'make'
>> should be on the path, if so, then again how can I bring it there?  Your
>> support would give me a big relief, as it has been my headache for three
>> days.
>> Note: I have 'GNU make 4.2.1'.
>>
>> Thank you
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "sage-support" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to sage-support+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/sage-support/111c1197-ccc2-47fa-948f-8c08b297cb53o%40googlegroups.com
>> <https://groups.google.com/d/msgid/sage-support/111c1197-ccc2-47fa-948f-8c08b297cb53o%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
> --
> Jose J Garcia
> Math Alliance F-GAP Alumn
> Ronald E. McNair Alumn
> Grand Valley State University
> garci...@mail.gvsu.edu
>
> --
> You received this message because you are subscribed to the Google Groups
> "sage-support" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to sage-support+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/sage-support/CALoid47b-wayqA1nW4P-GMDAdRupdcxcD58Q4kqB8NO-CpxtJw%40mail.gmail.com
> <https://groups.google.com/d/msgid/sage-support/CALoid47b-wayqA1nW4P-GMDAdRupdcxcD58Q4kqB8NO-CpxtJw%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/CADp1E_rZdqxjM0Z3_cgBOK7q%3D3BdVCVWnBXzkXZpRw%3DsBbepcg%40mail.gmail.com.


Re: [sage-support] make command Error 127

2020-07-28 Thread Karima Shahzad
http://mirror.hust.edu.cn/sagemath/linux/64bit/sage-9.1-Ubuntu_18.04-x86_64.tar.bz2

This is the tar file and yes from the binary source I am downloading. I am
not clear where to use the above command you have suggested. Does it matter
if I choose any source nearer to me? I have chosen Asia.
May you kindly give some more guidance

On Tue, Jul 28, 2020 at 12:02 PM Dima Pasechnik  wrote:

>
>
> On Tue, 28 Jul 2020, 07:13 Karima Shahzad, 
> wrote:
>
>> Hello,
>>  I am Installing SageMath from the source code on my Ubuntu20.04. I had
>> installed it successfully but, due to some issues in my system, I
>> reinstalled Ubuntu, and now following the same step for sage installation I
>> get an Error in the Installation of  'tar.bz2' file. I give the 'make -j4'
>> command but get the error
>> '/usr/bin/env: ‘python’: No such file or directory
>> make: *** [Makefile:31: base-toolchain] Error 127'
>>
>> I have installed all the prerequisites of SageMath. I have Python3 as
>> well. Please do help me out in fixing the issue. Is it like python should
>> be on the path of Sage? if so, how could I bring it there? Or either 'make'
>> should be on the path, if so, then again how can I bring it there?  Your
>> support would give me a big relief, as it has been my headache for three
>> days.
>>
>
> What is the full name of the tarfile you are using? Are you by any chance
> trying to build from a binary distribution?
>
> The standard Ubuntu's way to deal with the python problem seems to be to
> use
> update-alternatives command, something like this:
>
> sudo update-alternatives --install /usr/bin/python python
> /usr/bin/python3.7 10
>
>
>
> Note: I have 'GNU make 4.2.1'.
>>
>> Thank you
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "sage-support" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to sage-support+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/sage-support/111c1197-ccc2-47fa-948f-8c08b297cb53o%40googlegroups.com
>> <https://groups.google.com/d/msgid/sage-support/111c1197-ccc2-47fa-948f-8c08b297cb53o%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
> --
> You received this message because you are subscribed to the Google Groups
> "sage-support" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to sage-support+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/sage-support/CAAWYfq37H_LVVYHfdn%2ByAvHZ1kB8oNo_hEvvGUi5AyxEc0Y1KQ%40mail.gmail.com
> <https://groups.google.com/d/msgid/sage-support/CAAWYfq37H_LVVYHfdn%2ByAvHZ1kB8oNo_hEvvGUi5AyxEc0Y1KQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/CADp1E_oYrve4JW9AU_mzUZDDiYsz8tbQr_R6jXmJURnLoW9rkA%40mail.gmail.com.


[sage-support] make command Error 127

2020-07-27 Thread Karima Shahzad
Hello,
 I am Installing SageMath from the source code on my Ubuntu20.04. I had 
installed it successfully but, due to some issues in my system, I 
reinstalled Ubuntu, and now following the same step for sage installation I 
get an Error in the Installation of  'tar.bz2' file. I give the 'make -j4'  
command but get the error  
'/usr/bin/env: ‘python’: No such file or directory
make: *** [Makefile:31: base-toolchain] Error 127'

I have installed all the prerequisites of SageMath. I have Python3 as well. 
Please do help me out in fixing the issue. Is it like python should be on 
the path of Sage? if so, how could I bring it there? Or either 'make' 
should be on the path, if so, then again how can I bring it there?  Your 
support would give me a big relief, as it has been my headache for three 
days.
Note: I have 'GNU make 4.2.1'.

Thank you

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/111c1197-ccc2-47fa-948f-8c08b297cb53o%40googlegroups.com.