Zulip Chat Archive
Stream: new members
Topic: installing mathlib
Chris M (Jun 17 2020 at 04:30):
I just tried the "Mathematics in Lean" tutorial, and copied this command into my VSCode:
import data.nat.parity tactic
. It gave me the following error:
test11.lean:1:0: error
file 'data\nat\parity' not found in the LEAN_PATH
Does this mean I haven't installed mathlib during my installation of Lean? (note that Lean otherwise has been working fine for me for a long time)
Chris M (Jun 17 2020 at 04:31):
Somehow I accidentally changed the title of lots of previous messages to "installing mathlib".
Bryan Gin-ge Chen (Jun 17 2020 at 04:35):
Chris M said:
Somehow I accidentally changed the title of lots of previous messages to "installing mathlib".
I think you just added your messages to an already existing thread.
Bryan Gin-ge Chen (Jun 17 2020 at 04:36):
Chris M said:
I just tried the "Mathematics in Lean" tutorial, and copied this command into my VSCode:
import data.nat.parity tactic
. It gave me the following error:test11.lean:1:0: error file 'data\nat\parity' not found in the LEAN_PATH
Does this mean I haven't installed mathlib during my installation of Lean? (note that Lean otherwise has been working fine for me for a long time)
Try re-running leanproject get-mathlib-cache
?
Last updated: Dec 20 2023 at 11:08 UTC