Ask Your Question

installing the kohel database

asked 2019-05-24 19:43:09 +0200

JRHales gravatar image

I'm trying to work with modular polynomials and Hilbert class polynomials in sage, and I would try the code

Phi = ClassicalModularPolynomialDatabase()

The resulting error is a "LookupError: filename /opt/sagemath-8.6/local/share/kohel/PolMod/Cls/pol.002.dbz does not exist"

Okay, no big deal, I just need to download the right database follow the path that sage is looking for the file at and put it there right? The problem is, when I went to download the database, from the sage website ( I get a strange .gz document, that doesn't let me use the classical modular polynomial database like I need to. I'm I doing this right? If not, where can I download the required package, and if I am, what's the next step to be able to use this database in sage? I'm using version 8.6.

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted

answered 2019-05-24 20:39:14 +0200

FrédéricC gravatar image

Tio find the correct package

sage --package list | grep kohel


sage -i database_kohel
edit flag offensive delete link more


Thank you, this worked perfectly once I realized I needed to run this in the sage shell! thanks a ton!

JRHales gravatar imageJRHales ( 2019-05-24 21:22:15 +0200 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2019-05-24 19:43:09 +0200

Seen: 399 times

Last updated: May 24 '19