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, 21 May 2016 09:38:51 +0200Problems with the darmonpoints package/Error: No module named utilhttps://ask.sagemath.org/question/32857/problems-with-the-darmonpoints-packageerror-no-module-named-util/I am a first-time user of sage, so please excuse me if the following question appears stupid to you more experienced users:
I want to do some calculations on Darmon points, and for that purpose, I want to use the following package on sagecloud: https: // github.com / mmasdeu / darmonpoints
I installed it, but I cannot do any calculations with it.
For instance, if I type the following command
sage: darmon_point(7,EllipticCurve('35a1'),41,20)
it answers:
Error: No module named 'util'.
Thanks in advance.Tue, 22 Mar 2016 19:41:03 +0100https://ask.sagemath.org/question/32857/problems-with-the-darmonpoints-packageerror-no-module-named-util/Comment by kcrisman for <p>I am a first-time user of sage, so please excuse me if the following question appears stupid to you more experienced users:
I want to do some calculations on Darmon points, and for that purpose, I want to use the following package on sagecloud: https: // http://github.com / mmasdeu / darmonpoints</p>
<p>I installed it, but I cannot do any calculations with it.
For instance, if I type the following command</p>
<p>sage: darmon_point(7,EllipticCurve('35a1'),41,20)</p>
<p>it answers:
Error: No module named 'util'.
Thanks in advance.</p>
https://ask.sagemath.org/question/32857/problems-with-the-darmonpoints-packageerror-no-module-named-util/?comment=32858#post-id-32858I concur that there are no obvious instructions on the site. Probably you just download the whole thing and then run in that directory.Wed, 23 Mar 2016 01:21:42 +0100https://ask.sagemath.org/question/32857/problems-with-the-darmonpoints-packageerror-no-module-named-util/?comment=32858#post-id-32858Comment by slelievre for <p>I am a first-time user of sage, so please excuse me if the following question appears stupid to you more experienced users:
I want to do some calculations on Darmon points, and for that purpose, I want to use the following package on sagecloud: https: // http://github.com / mmasdeu / darmonpoints</p>
<p>I installed it, but I cannot do any calculations with it.
For instance, if I type the following command</p>
<p>sage: darmon_point(7,EllipticCurve('35a1'),41,20)</p>
<p>it answers:
Error: No module named 'util'.
Thanks in advance.</p>
https://ask.sagemath.org/question/32857/problems-with-the-darmonpoints-packageerror-no-module-named-util/?comment=32875#post-id-32875In general, do not check the "community wiki" box when asking questions. The "community wiki" feature is for questions about ask-sage itself, rather than questions about Sage.Thu, 24 Mar 2016 07:13:23 +0100https://ask.sagemath.org/question/32857/problems-with-the-darmonpoints-packageerror-no-module-named-util/?comment=32875#post-id-32875Answer by John Palmieri for <p>I am a first-time user of sage, so please excuse me if the following question appears stupid to you more experienced users:
I want to do some calculations on Darmon points, and for that purpose, I want to use the following package on sagecloud: https: // http://github.com / mmasdeu / darmonpoints</p>
<p>I installed it, but I cannot do any calculations with it.
For instance, if I type the following command</p>
<p>sage: darmon_point(7,EllipticCurve('35a1'),41,20)</p>
<p>it answers:
Error: No module named 'util'.
Thanks in advance.</p>
https://ask.sagemath.org/question/32857/problems-with-the-darmonpoints-packageerror-no-module-named-util/?answer=32894#post-id-32894I agree with @kcrisman: you download it and run Sage from that directory. Then you do
%runfile darmonpoints.sage
darmon_point(7,EllipticCurve('35a1'),41,20)
and if you're me, you get
RuntimeError: unable to start magma
Looking at the `README.rst` file, I see
For most operations one does need to have Magma installed, although we do hope that in the future Sage will include the required functionality.
Sun, 27 Mar 2016 17:17:20 +0200https://ask.sagemath.org/question/32857/problems-with-the-darmonpoints-packageerror-no-module-named-util/?answer=32894#post-id-32894Comment by hlmencken for <p>I agree with <a href="/users/41/kcrisman/">@kcrisman</a>: you download it and run Sage from that directory. Then you do</p>
<pre><code>%runfile darmonpoints.sage
darmon_point(7,EllipticCurve('35a1'),41,20)
</code></pre>
<p>and if you're me, you get</p>
<pre><code>RuntimeError: unable to start magma
</code></pre>
<p>Looking at the <code>README.rst</code> file, I see</p>
<pre><code>For most operations one does need to have Magma installed, although we do hope that in the future Sage will include the required functionality.
</code></pre>
https://ask.sagemath.org/question/32857/problems-with-the-darmonpoints-packageerror-no-module-named-util/?comment=33488#post-id-33488I have Magma installed.Sat, 21 May 2016 09:38:51 +0200https://ask.sagemath.org/question/32857/problems-with-the-darmonpoints-packageerror-no-module-named-util/?comment=33488#post-id-33488