This is only available in the development version of SymPy. It will be in the next release.
You can install the development version if you want to run that. See: http://docs.sympy.org/0.7.6/install.html for info. Jason moorepants.info +01 530-601-9791 On Sat, Oct 10, 2015 at 5:05 AM, Riku Kivelä <[email protected]> wrote: > Stupid question: How do I import this thing? > > I updated sympy using Anacondas command > conda update sympy > > and this installed me sympy > sympy.__version__ > Out[14]: '0.7.6.1' > > I cannot import or use linear_eq_to_matrix > > sympy.solveset.linear_eq_to_matrix > > AttributeError: 'module' object has no attribute 'solveset' > > import sympy.solvers.solveset > ImportError: No module named 'sympy.solvers.solveset' > > Then I went looking into Anacondas packages > (Anaconda3\pkgs\sympy-0.7.6.1-py34_0\Lib\site-packages\sympy\solvers) and > there is no such file as solveset.py. On the Github page this file exists > under the same version ( > https://github.com/sympy/sympy/tree/master/sympy/solvers). I also tried > downloading that solveset.py to the directory above and that did not help. > Doing that is a horrible way of doing things? > > > On Friday, October 9, 2015 at 7:58:41 PM UTC+3, Adam Leeper wrote: >> >> Yeah, It's linear_eq_to_matrix in sympy.solvers.solveset. >>> >> >> Looks like it's just sympy.solveset.linear_eq_to_matrix. >> >> Thanks! >> Adam >> > -- > You received this message because you are subscribed to the Google Groups > "sympy" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/sympy. > To view this discussion on the web visit > https://groups.google.com/d/msgid/sympy/5ce8c3de-728f-4791-8744-1922fd80f208%40googlegroups.com > <https://groups.google.com/d/msgid/sympy/5ce8c3de-728f-4791-8744-1922fd80f208%40googlegroups.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "sympy" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sympy. To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/CAP7f1Aiw266mzHA4iqfBnKJKKoFstoCVTCsPxVGB09ACsAnSrQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
