ASKSAGE: Sage Q&A Forum - Individual question feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Thu, 12 May 2016 08:22:08 -0500qepcad failing to replicate exampleshttps://ask.sagemath.org/question/26771/qepcad-failing-to-replicate-examples/ I was attempting to replicate the examples seen here (http://www.sagemath.org/doc/reference/interfaces/sage/interfaces/qepcad.html), but I keep getting errors.
Given
︠482004e5-daf3-4312-b5d7-a61b41d210a4s︠
var('a,b,c,d,x,y,z')
qf = qepcad_formula;
ellipse = 3*x^2 + 2*x*y + y^2 - x + y - 7
F = qf.exists(y, ellipse == 0); F
qepcad(F)
︡202e02ca-ac90-4b34-afab-7d6ceb6d41f5︡{"stdout":"(a, b, c, d, x, y, z)\n"}︡{"stdout":"(E y)[3 x^2 + 2 x y + y^2 - x + y - 7 = 0]\n"}︡{"stderr":"Error in lines 5-5\n"}︡{"stderr":"Traceback (most recent call last):\n File \"/projects/45572f4b-6bd1-49bd-9d46-5f340788b465/.sagemathcloud/sage_server.py\", line 879, in execute\n exec compile(block+'\\n', '', 'single') in namespace, locals\n File \"\", line 1, in <module>\n File \"/usr/local/sage/sage-6.5/local/lib/python2.7/site-packages/sage/interfaces/qepcad.py\", line 1431, in qepcad\n qe = Qepcad(formula, vars=vars, **kwargs)\n File \"/usr/local/sage/sage-6.5/local/lib/python2.7/site-packages/sage/interfaces/qepcad.py\", line 777, in __init__\n qex._send('[ input from Sage ]')\n File \"/usr/local/sage/sage-6.5/local/lib/python2.7/site-packages/sage/interfaces/expect.py\", line 212, in _send\n self._start()\n File \"/usr/local/sage/sage-6.5/local/lib/python2.7/site-packages/sage/interfaces/expect.py\", line 445, in _start\n raise RuntimeError(\"unable to start %s\" % self.name())\nRuntimeError: unable to start QEPCAD\n"}︡
︠5c912bc8-cd8b-495c-9fa3-eda33c34530e︠
Fri, 08 May 2015 19:08:34 -0500https://ask.sagemath.org/question/26771/qepcad-failing-to-replicate-examples/Comment by pang for <p>I was attempting to replicate the examples seen here (<a href="http://www.sagemath.org/doc/reference/interfaces/sage/interfaces/qepcad.html">http://www.sagemath.org/doc/reference...</a>), but I keep getting errors.</p>
<p>Given
︠482004e5-daf3-4312-b5d7-a61b41d210a4s︠
var('a,b,c,d,x,y,z')
qf = qepcad_formula;</p>
<p>ellipse = 3<em>x^2 + 2</em>x*y + y^2 - x + y - 7
F = qf.exists(y, ellipse == 0); F
qepcad(F)</p>
<p>︡202e02ca-ac90-4b34-afab-7d6ceb6d41f5︡{"stdout":"(a, b, c, d, x, y, z)\n"}︡{"stdout":"(E y)[3 x^2 + 2 x y + y^2 - x + y - 7 = 0]\n"}︡{"stderr":"Error in lines 5-5\n"}︡{"stderr":"Traceback (most recent call last):\n File \"/projects/45572f4b-6bd1-49bd-9d46-5f340788b465/.sagemathcloud/sage_server.py\", line 879, in execute\n exec compile(block+'\n', '', 'single') in namespace, locals\n File \"\", line 1, in <module>\n File \"/usr/local/sage/sage-6.5/local/lib/python2.7/site-packages/sage/interfaces/qepcad.py\", line 1431, in qepcad\n qe = Qepcad(formula, vars=vars, **kwargs)\n File \"/usr/local/sage/sage-6.5/local/lib/python2.7/site-packages/sage/interfaces/qepcad.py\", line 777, in __init__\n qex._send('[ input from Sage ]')\n File \"/usr/local/sage/sage-6.5/local/lib/python2.7/site-packages/sage/interfaces/expect.py\", line 212, in _send\n self._start()\n File \"/usr/local/sage/sage-6.5/local/lib/python2.7/site-packages/sage/interfaces/expect.py\", line 445, in _start\n raise RuntimeError(\"unable to start %s\" % self.name())\nRuntimeError: unable to start QEPCAD\n"}︡
︠5c912bc8-cd8b-495c-9fa3-eda33c34530e︠</p>
https://ask.sagemath.org/question/26771/qepcad-failing-to-replicate-examples/?comment=33383#post-id-33383Can we mark this question as outdated? qepcad installs just fine, and I can think of no reason why anyone would want to read it now.Thu, 12 May 2016 08:22:08 -0500https://ask.sagemath.org/question/26771/qepcad-failing-to-replicate-examples/?comment=33383#post-id-33383Comment by slelievre for <p>I was attempting to replicate the examples seen here (<a href="http://www.sagemath.org/doc/reference/interfaces/sage/interfaces/qepcad.html">http://www.sagemath.org/doc/reference...</a>), but I keep getting errors.</p>
<p>Given
︠482004e5-daf3-4312-b5d7-a61b41d210a4s︠
var('a,b,c,d,x,y,z')
qf = qepcad_formula;</p>
<p>ellipse = 3<em>x^2 + 2</em>x*y + y^2 - x + y - 7
F = qf.exists(y, ellipse == 0); F
qepcad(F)</p>
<p>︡202e02ca-ac90-4b34-afab-7d6ceb6d41f5︡{"stdout":"(a, b, c, d, x, y, z)\n"}︡{"stdout":"(E y)[3 x^2 + 2 x y + y^2 - x + y - 7 = 0]\n"}︡{"stderr":"Error in lines 5-5\n"}︡{"stderr":"Traceback (most recent call last):\n File \"/projects/45572f4b-6bd1-49bd-9d46-5f340788b465/.sagemathcloud/sage_server.py\", line 879, in execute\n exec compile(block+'\n', '', 'single') in namespace, locals\n File \"\", line 1, in <module>\n File \"/usr/local/sage/sage-6.5/local/lib/python2.7/site-packages/sage/interfaces/qepcad.py\", line 1431, in qepcad\n qe = Qepcad(formula, vars=vars, **kwargs)\n File \"/usr/local/sage/sage-6.5/local/lib/python2.7/site-packages/sage/interfaces/qepcad.py\", line 777, in __init__\n qex._send('[ input from Sage ]')\n File \"/usr/local/sage/sage-6.5/local/lib/python2.7/site-packages/sage/interfaces/expect.py\", line 212, in _send\n self._start()\n File \"/usr/local/sage/sage-6.5/local/lib/python2.7/site-packages/sage/interfaces/expect.py\", line 445, in _start\n raise RuntimeError(\"unable to start %s\" % self.name())\nRuntimeError: unable to start QEPCAD\n"}︡
︠5c912bc8-cd8b-495c-9fa3-eda33c34530e︠</p>
https://ask.sagemath.org/question/26771/qepcad-failing-to-replicate-examples/?comment=26787#post-id-26787Seems cut-and paste went slightly wrong. To display lines of code, select them and click the 'code' button (the one with '010 101'). Try editing your question and doing that.Sun, 10 May 2015 08:10:31 -0500https://ask.sagemath.org/question/26771/qepcad-failing-to-replicate-examples/?comment=26787#post-id-26787Answer by tmonteil for <p>I was attempting to replicate the examples seen here (<a href="http://www.sagemath.org/doc/reference/interfaces/sage/interfaces/qepcad.html">http://www.sagemath.org/doc/reference...</a>), but I keep getting errors.</p>
<p>Given
︠482004e5-daf3-4312-b5d7-a61b41d210a4s︠
var('a,b,c,d,x,y,z')
qf = qepcad_formula;</p>
<p>ellipse = 3<em>x^2 + 2</em>x*y + y^2 - x + y - 7
F = qf.exists(y, ellipse == 0); F
qepcad(F)</p>
<p>︡202e02ca-ac90-4b34-afab-7d6ceb6d41f5︡{"stdout":"(a, b, c, d, x, y, z)\n"}︡{"stdout":"(E y)[3 x^2 + 2 x y + y^2 - x + y - 7 = 0]\n"}︡{"stderr":"Error in lines 5-5\n"}︡{"stderr":"Traceback (most recent call last):\n File \"/projects/45572f4b-6bd1-49bd-9d46-5f340788b465/.sagemathcloud/sage_server.py\", line 879, in execute\n exec compile(block+'\n', '', 'single') in namespace, locals\n File \"\", line 1, in <module>\n File \"/usr/local/sage/sage-6.5/local/lib/python2.7/site-packages/sage/interfaces/qepcad.py\", line 1431, in qepcad\n qe = Qepcad(formula, vars=vars, **kwargs)\n File \"/usr/local/sage/sage-6.5/local/lib/python2.7/site-packages/sage/interfaces/qepcad.py\", line 777, in __init__\n qex._send('[ input from Sage ]')\n File \"/usr/local/sage/sage-6.5/local/lib/python2.7/site-packages/sage/interfaces/expect.py\", line 212, in _send\n self._start()\n File \"/usr/local/sage/sage-6.5/local/lib/python2.7/site-packages/sage/interfaces/expect.py\", line 445, in _start\n raise RuntimeError(\"unable to start %s\" % self.name())\nRuntimeError: unable to start QEPCAD\n"}︡
︠5c912bc8-cd8b-495c-9fa3-eda33c34530e︠</p>
https://ask.sagemath.org/question/26771/qepcad-failing-to-replicate-examples/?answer=26774#post-id-26774This is because QEPCAD is an experimental package, see [this page](http://sagemath.org/packages/experimental/). So you will have to install it first. The way to install it is to type, from a terminal:
sage -i qepcad
Note that since qemcad is an experimental, and looking at trac tickets [16642](http://trac.sagemath.org/ticket/16642) and [10224](http://trac.sagemath.org/ticket/10224), it is very unlikely that you will succeed to install it (i did not succeed myself).
**EDIT** I am happy to say that qepcad has been repackaged so that [10224](http://trac.sagemath.org/ticket/10224) is fixed and you should be able to install it now.
Sat, 09 May 2015 03:11:05 -0500https://ask.sagemath.org/question/26771/qepcad-failing-to-replicate-examples/?answer=26774#post-id-26774Comment by rws for <p>This is because QEPCAD is an experimental package, see <a href="http://sagemath.org/packages/experimental/">this page</a>. So you will have to install it first. The way to install it is to type, from a terminal:</p>
<pre><code>sage -i qepcad
</code></pre>
<p>Note that since qemcad is an experimental, and looking at trac tickets <a href="http://trac.sagemath.org/ticket/16642">16642</a> and <a href="http://trac.sagemath.org/ticket/10224">10224</a>, it is very unlikely that you will succeed to install it (i did not succeed myself).</p>
<p><strong>EDIT</strong> I am happy to say that qepcad has been repackaged so that <a href="http://trac.sagemath.org/ticket/10224">10224</a> is fixed and you should be able to install it now.</p>
https://ask.sagemath.org/question/26771/qepcad-failing-to-replicate-examples/?comment=30256#post-id-30256qepcad did install here on 6.10.p1 after I set my MAKE to `make -j1`.Sat, 24 Oct 2015 09:24:08 -0500https://ask.sagemath.org/question/26771/qepcad-failing-to-replicate-examples/?comment=30256#post-id-30256