Zulip Chat Archive

Stream: new members

Topic: unknown package 'Mathlib'


Yagub Aliyev (Feb 16 2024 at 05:49):

I am trying to use VS for my project. What does it mean "unknown package 'Mathlib'"?
image.png

Kevin Buzzard (Feb 16 2024 at 07:22):

That does not look like a correctly-formatted lean repo, for example you're missing the json file whose name escapes me but which should definitely be there. Start again with lake new MyProject math, then lake exe cache get in the project repo, then open the project repo root directory with VS Code

Yagub Aliyev (Feb 16 2024 at 17:42):

Thank you for the hints. It works now.
image.png

Kevin Buzzard (Feb 16 2024 at 18:41):

Oh that was it -- lake-manifest.json. Not entirely sure what it does but it's definitely important :-)


Last updated: May 02 2025 at 03:31 UTC