2020-03-03 00:46:33 -0500 | received badge | ● Notable Question (source) |

2019-10-27 10:29:22 -0500 | received badge | ● Famous Question (source) |

2019-03-21 17:00:09 -0500 | received badge | ● Popular Question (source) |

2018-04-22 23:12:20 -0500 | received badge | ● Good Question (source) |

2017-12-01 07:59:30 -0500 | received badge | ● Taxonomist |

2017-04-10 02:13:38 -0500 | received badge | ● Notable Question (source) |

2017-04-10 02:13:38 -0500 | received badge | ● Popular Question (source) |

2016-09-15 07:10:17 -0500 | received badge | ● Notable Question (source) |

2016-07-20 04:05:38 -0500 | received badge | ● Necromancer (source) |

2015-11-05 10:50:21 -0500 | received badge | ● Popular Question (source) |

2015-10-28 09:40:32 -0500 | received badge | ● Notable Question (source) |

2015-10-27 04:02:48 -0500 | received badge | ● Nice Question (source) |

2015-03-20 05:29:14 -0500 | commented answer | /sage: line 334: path/sage-ipython: Permission denied Thank you! What a silly pitfall :(. I did it by reinstalling without sudo, but this would be faster. |

2015-03-19 17:37:42 -0500 | commented question | /sage: line 334: path/sage-ipython: Permission denied Reading related posts... does it matter that I did this: |

2015-03-19 17:32:14 -0500 | asked a question | /sage: line 334: path/sage-ipython: Permission denied I get an error like this one when I try to start sage. It does start (with related errors), however, when I run I might need help providing the right details, but here goes: I get a different error using sudo. I also tried it with sage in Same problems. and I also tried installing the Sage.app (in Applications), but this failed as well (Error 500, presumably for the same reasons as the above errors) The permissions in my home folder install are My /Applications folder additionally has (this motivated me to try it in the home folder) I have checked that I'm using the right sage install by using for my sage command and checking that I was not overriding this with something else in my path. Also, |

2014-12-21 14:50:54 -0500 | answered a question | running sage as an argument to ssh command causes interpreter shell to hang Looks like I forgot the -t flag to the second ssh. It works with |

2014-12-21 14:12:06 -0500 | received badge | ● Editor (source) |

2014-12-21 14:11:10 -0500 | asked a question | running sage as an argument to ssh command causes interpreter shell to hang I have sage on a remote server, and I can ssh to that server and then run sage to get the interpreter. But when I run sage from the ssh command, sage hangs before I get the sage: command prompt. Like this: I do not have admin rights on the server. Ultimately, what I want to do is run the command If you must know, it's because only host2 has sage and only host1 has screen. I have an unreliable connection to both, but they have a reliable connection between them. The question: How can I get this to work? |

2014-06-29 07:30:44 -0500 | received badge | ● Popular Question (source) |

2014-06-29 07:30:44 -0500 | received badge | ● Notable Question (source) |

2014-06-28 21:22:43 -0500 | received badge | ● Famous Question (source) |

2014-06-28 21:22:43 -0500 | received badge | ● Notable Question (source) |

2014-06-28 20:15:06 -0500 | marked best answer | How to do mul(function, i=1..n); like in Maple? I want to a product of polynomials which I define in Maple as The obvious choice, mimicking Sage's 'sum' command does not work. I can't do Instead I had to use Maybe my problem is another, so I'll post my whole problem and traceback: All advice is welcome. |

2014-06-28 20:14:25 -0500 | marked best answer | How do I install python modules, or use a different version of python? (with sage) I have several versions of python, as well as the one included with sage. I want to use the svgwrite module in /Library/Frameworks/Python.framework/Versions/2.7/bin/python , but sage does not have it. I want to run the following (combined with some output from sage) It runs fine with the calls But when I try to call it directly or with a system call in sage I have problems. Okay fine, sage's installation does not have the module. But now I try to force it to use the installation that does have it: How can I install svgwrite, or invoke a given python installation from sage? |

2014-06-18 11:00:27 -0500 | received badge | ● Popular Question (source) |

2014-06-11 02:37:03 -0500 | commented answer | Simple counting on restricted n-ary k-tuples they are a restricted class of integer vectors, since every vector would have the same number of coordinates, $k$, and the maximum in each coordinate is also fixed at $n$. edit: the biggest difference, however, is that I think IV computes all of the vectors with the given parameters, whilst I want algebraic answers for general parameters. |

2014-06-11 00:57:19 -0500 | asked a question | Simple counting on restricted n-ary k-tuples I have some simple counting problems, for example, how many n-ary k-tuples, i.e. $(v_0,v_1,\ldots, v_k)$ with $0\le v_i < n$, are there which have $v_0=1$, and $m$ non-zero coordinates. What sort of functionality is there is Sage or other computer algebra systems for answering such questions for general $n,k$ and $m$? |

2014-04-24 02:55:29 -0500 | marked best answer | built in cython integration [beginner] Yes. You can find much of this out by trying to read the code. Note that in this case the function itself is in a .py (uncompiled, though in byte code I think) file. But the line indicates it uses MILP, and this is indeed a compiled file (as you can see by doing where it indicates an .so file type. However, in truth this calls an outside program (which you can set, e.g. CPLEX) to do the LP, so the compiled piece is less relevant than the fact that it uses a dedicated library to do the LP. |

2014-04-24 01:54:25 -0500 | asked a question | built in cython integration [beginner] When I run a built-in sage function that is defined as cython code, does it automatically run compiled code, or do I have to activate cython or something? For example: When I run the code in a notebook, without anything else, the second command contains instances of 'MixedIntegerLinearProgram', which appears to be a cdef from a pyx file. I've learnt today that this means it is written in cython, and I would like to confirm that if MixedIntegerLinearProgram gets called in g.traveling_salesman_problem(), that it does indeed run compiled code, and that I don't have to do anything special to activate it. |

2014-04-01 04:18:32 -0500 | commented answer | graph vertex labels placement or alignment As of now it doesn't work on my installation, but I'll select it when it works for me. Thanks! |

2014-03-31 05:34:51 -0500 | commented answer | graph vertex labels placement or alignment The example is pretty. I think I might use the tikz graphs every time! |

2014-03-31 02:40:01 -0500 | asked a question | graph vertex labels placement or alignment I made a sage Graph() for visualizing a bibliography and found that there was no good way to align or change the placement of the vertex labels. I wanted some labels to align left and others to align right, but they were all centred on their vertex. I ended up doubling the length of the label string with spaces and adding a period with some code like the following I managed to get this (click for full sized image): Is there a way to manipulate the placement of the labels? |

2014-03-31 02:29:48 -0500 | answered a question | Graph theory: Make vertex labels in plots bigger One way is to use figsize to indirectly change the relative size of the labels. The output of this is: |

2014-03-31 02:16:32 -0500 | answered a question | Plotting Grid Graph You might want to adjust the spacing or label size with the figsize option: or store the positions as a property of the graph with |

2013-10-09 00:18:13 -0500 | received badge | ● Nice Question (source) |

2013-10-02 22:05:47 -0500 | received badge | ● Popular Question (source) |

2013-05-07 12:43:19 -0500 | marked best answer | How do I install python modules, or use a different version of python? (with sage) Download svgwrite and unpack the gzipped tar file or the zip file. From within the `svgwrite` directory, run`sage --python setup.py install` .Then run `sage` : now`import svgwrite` should work.
That should install svgwrite in Sage's copy of Python. Using a different copy of Python with Sage is difficult, but installing Python packages in Sage's Python should be pretty straightforward. |