Zulip Chat Archive

Stream: lean4

Topic: quickstart fails


Bjørn Remseth (Feb 17 2023 at 13:25):

Hi. I'm trying to install lean4 using the instructions in https://leanprover.github.io/lean4/doc/quickstart.html, but it fails. First the "install Lean using Elan" dialogue failed to pop up. I then tried to install lean by copying a binary from the dristibution and pointing som e variables at it, but got image.png ... so I don't understand what's going on. Does anyone have any hints?

Andrés Goens (Feb 17 2023 at 13:30):

it looks like there's a lean server running there, it just doesn't know that identifier. Did you install the "lean4" extension or the "lean" extension?

Bjørn Remseth (Feb 17 2023 at 13:30):

the lean4 extension

Bjørn Remseth (Feb 17 2023 at 13:32):

I also deleted an old .elan directory, and a full installation of a new lean was triggered mroe or less as described in the quickstart.html file
("more or less" since the dialogue didn't look identical, but I was prompted to use elan to install)

Andrés Goens (Feb 17 2023 at 13:32):

I actually get the same message, I think that Lake.leanVersionString just doesn't exist (anymore?)

Andrés Goens (Feb 17 2023 at 13:32):

but your installation is probably fine

Bjørn Remseth (Feb 17 2023 at 13:33):

Yay ;-) I suppose that is good news

Bjørn Remseth (Feb 17 2023 at 13:34):

Ok, then I will assume that things are working, try a few more examples and report back to this chat. Thank you for your help so far :-)

Bjørn Remseth (Feb 17 2023 at 13:37):

Yup. Seems to be working. Documentation was wrong :-) Thanks^2

Martin Dvořák (Feb 17 2023 at 13:38):

Should we remove the step (4) from the documentation? Is it outdated?

Horațiu Cheval (Feb 17 2023 at 13:56):

For me the linked quickstart page shows

import Lean
#eval Lean.versionString

as a test program, not Lake.leanVersionStrong


Last updated: Dec 20 2023 at 11:08 UTC