Zulip Chat Archive
Stream: new members
Topic: Fresh install could not resolve import
Lachlan Robinson (Mar 28 2022 at 22:28):
Hi,
I have just installed lean on Ubuntu 18.04 and created a directory for the tutorials. I then ran the leanproject get tutorials command however when I open any of the files in the src file I am greeted with errors.
I would really appreciate it if someone could help me. It is probably a really simple solution.
Alex J. Best (Mar 28 2022 at 22:29):
You have to open the directory tutorials in vscode using vscode's open folder button, rather than the higher one Lean. Also you need to change into that directory to run leanproject get-mathlib-cache. Hopefully that should resolve everything!
Lachlan Robinson (Mar 28 2022 at 22:33):
Alex J. Best said:
You have to open the directory
tutorialsin vscode using vscode'sopen folderbutton, rather than the higher oneLean. Also you need to change into that directory to runleanproject get-mathlib-cache. Hopefully that should resolve everything!
Thanks so much, it worked!
Last updated: May 02 2025 at 03:31 UTC

