Zulip Chat Archive
Stream: mathlib4
Topic: polyrith does not work in the web editor
Eric Wieser (Nov 19 2023 at 18:50):
If you use polyrith
, you get "Could not find Mathlib directory. Make sure the LEAN_SRC_PATH environment variable is set correctly."
Bolton Bailey (Jan 08 2024 at 07:03):
I am getting this error too, but on my own computer. Strangely, it works fine in VSCode and it even gives the correct linear_combination
call in the InfoView, but when I try to build my file using lake build
I get this error.
./././FormalSnarksProject/SNARKs/Groth16TypeIII.lean:504:2: error: Could not find Mathlib directory. Make sure the LEAN_SRC_PATH environment variable is set correctly.
Is this expected because polyrith makes external calls?
Last updated: May 02 2025 at 03:31 UTC