Ask Your Question
1

installing the kohel database

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

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()
print(Phi[2])

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 (http://ftp.yz.yamagata-u.ac.jp/pub/ma...) 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
3

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

FrédéricC gravatar image

Tio find the correct package

sage --package list | grep kohel
database_kohel

then

sage -i database_kohel
edit flag offensive delete link more

Comments

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 +0100 )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

Stats

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

Seen: 1,699 times

Last updated: May 24 '19