Zulip Chat Archive
Stream: new members
Topic: Package not recognized
DrGracePatty (Mar 02 2024 at 09:01):
I installed according to instructions and created project, but for some reason the compiler won't recognize the Mathlib package when I include the 'import Mathlib' statement in my file.
Notification Bot (Mar 02 2024 at 09:48):
This topic was moved here from #lean4 > Package not recognized by Riccardo Brasca.
Riccardo Brasca (Mar 02 2024 at 09:49):
Have you opened the project folder in VSCode (rather than the single file or any other folder)?
Kevin Buzzard (Mar 02 2024 at 11:19):
If Riccardo's post doesn't answer your question then can you send a screenshot of your VS Code showing the error and with the file explorer open? I attach what this looks like on my machine:
Last updated: May 02 2025 at 03:31 UTC