Zulip Chat Archive

Stream: new members

Topic: leanproject new


view this post on Zulip Horatiu Cheval (Mar 03 2021 at 16:05):

After installing Lean4 following the basic setup I am no longer able to run leanproject new [PATH] to create a new lean project. It returns uncaught exception. It only works to create a Lean3 project if I run it from within the directory of an already existing Lean3 project. Is this what it should happen? What do I have to do in order to create a Lean3 projects now?

view this post on Zulip Bryan Gin-ge Chen (Mar 03 2021 at 16:13):

Probably setting elan's default Lean to Lean 4 is breaking things. Try elan default stable.

view this post on Zulip Johan Commelin (Mar 03 2021 at 16:17):

@Horatiu Cheval leanproject was designed for lean3, I would be surprised if it just works with lean4...

view this post on Zulip Horatiu Cheval (Mar 03 2021 at 16:19):

I see, I wasn't trying that. The problem was I was no longer able to use it for Lean3

view this post on Zulip Horatiu Cheval (Mar 03 2021 at 16:20):

But elan default stable fixed it.


Last updated: May 08 2021 at 10:12 UTC