First time here? Check out the FAQ!

Ask Your Question
1

installing the kohel database

asked 5 years ago

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.

Preview: (hide)

1 Answer

Sort by » oldest newest most voted
3

answered 5 years ago

FrédéricC gravatar image

Tio find the correct package

sage --package list | grep kohel
database_kohel

then

sage -i database_kohel
Preview: (hide)
link

Comments

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

JRHales gravatar imageJRHales ( 5 years ago )

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: 5 years ago

Seen: 1,895 times

Last updated: May 24 '19