Zulip Chat Archive
Stream: new members
Topic: leanproject mathlib src confusion
Yakov Pechersky (Jul 26 2020 at 21:20):
I switched from a recent mathlib commit to an older one in my leanpkg.toml
, but now am getting the following error on the first line of importing:
image.png
Yakov Pechersky (Jul 26 2020 at 21:21):
Do I have to purge my _target
folder to fix this?
Kenny Lau (Jul 26 2020 at 21:27):
if leanproject
doesn't work:
- go to the
mathlib
inside the_target
folder git reset --hard [commit SHA]
leanproject get-cache
- profit
Yakov Pechersky (Jul 26 2020 at 21:27):
Yeah, ended up doing that. Thanks!
Last updated: Dec 20 2023 at 11:08 UTC