Ask Your Question

Annavw's profile - activity

2023-08-08 20:44:31 +0200 received badge  Popular Question (source)
2023-07-30 11:35:24 +0200 received badge  Popular Question (source)
2022-07-21 09:24:57 +0200 marked best answer saving animation problem
sines = [plot(c*sin(x), (-2*pi,2*pi), color=Color(c,0,0), ymin=-1, ymax=1) for c in srange(0,1,.1)]
a = animate(sines)
a.save('animations/sines')

When running this code I get the following error:

Error: Cannot generate GIF animation. The convert command (ImageMagick) is present but does not seem to be functional. Verify that the objects passed to the animate command can be saved in PNG image format. See www.imagemagick.org more information.

I can find the .gif in .sage/tmp/mymachine/44754 and move it, but using the save command would be much easier. I am on Sagemath 9.5 and Ubuntu 22.04

2022-07-20 08:56:09 +0200 asked a question saving animation problem

saving animation problem sines = [plot(c*sin(x), (-2*pi,2*pi), color=Color(c,0,0), ymin=-1, ymax=1) for c in srange(0,1,

2022-04-25 19:08:44 +0200 asked a question Inappropriate ioctl for device

Inappropriate ioctl for device I am trying to run %display unicode_art Partitions(5).list() In the terminal, this

2020-07-20 11:38:32 +0200 asked a question python dependency TLS/SSL error

I am trying to install a python package for use with sage (version 9.0) on Mac OS Catalina. The command

sage -pip install <package name>

yields the following error: "pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available." The problem persists for any other package.

2019-10-16 15:33:28 +0200 received badge  Scholar (source)
2019-10-14 14:43:30 +0200 received badge  Student (source)
2019-10-14 14:34:13 +0200 asked a question multivariate polynomials, libsingular and polydict

When defining mutlivariate polynomial in two different ways, I cannot compare them because they seem to have a different type. On the one hand I have

R = PolynomialRing(QQ,'x', 3); x = R.gens()
f = x[0] + x[1] + x[2]
type(f)

which gives <πšπš’πš™πšŽ'𝚜𝚊𝚐𝚎.πš›πš’πš—πšπšœ.πš™πš˜πš•πš’πš—πš˜πš–πš’πšŠπš•.πš–πšžπš•πšπš’βŽ―πš™πš˜πš•πš’πš—πš˜πš–πš’πšŠπš•βŽ―πš•πš’πš‹πšœπš’πš—πšπšžπš•πšŠπš›.π™Όπ™Ώπš˜πš•πš’πš—πš˜πš–πš’πšŠπš•βŽ―πš•πš’πš‹πšœπš’πš—πšπšžπš•πšŠπš›'>. On the other hand I define what is (to me) the same polynomial:

SF = SymmetricFunctions(F); SF.inject_shorthands(verbose=False)
g = h[1].expand(3, alphabet = R.gens())
type(g)

which gives <πšŒπš•πšŠπšœπšœ'𝚜𝚊𝚐𝚎.πš›πš’πš—πšπšœ.πš™πš˜πš•πš’πš—πš˜πš–πš’πšŠπš•.πš–πšžπš•πšπš’βŽ―πš™πš˜πš•πš’πš—πš˜πš–πš’πšŠπš•βŽ―πšŽπš•πšŽπš–πšŽπš—πš.π™Όπ™Ώπš˜πš•πš’πš—πš˜πš–πš’πšŠπš•βŽ―πš™πš˜πš•πš’πšπš’πšŒπš'>

Thus when comparing f == g it gives false. How can get these two modules to talk to each other?