Zulip Chat Archive
Stream: new members
Topic: Installation on windows
Jovan Gerbscheid (Feb 23 2022 at 17:51):
Hello, I installed lean using elan, but it isn't working. I installed the new version of python 3.10 and I installed vscode. When I open the introduction project in vscode, on the right in "lean infoview" where lean should be checking the proof, it just says "loading..."
Yaël Dillies (Feb 23 2022 at 17:52):
To precise, leanproject get-m
on the tutorial project and leanproject get-c
on mathlib don't print out anything.
Kevin Buzzard (Feb 23 2022 at 19:24):
Usually "loading" indicates that you didn't open the root directory of a correctly formatted lean project with VS Code's "open folder" functionality.
Kevin Buzzard (Feb 23 2022 at 19:25):
If that isn't it, can you confirm that you installed following the instructions on the community website rather than Microsoft's website?
Jovan Gerbscheid (Mar 02 2022 at 16:54):
I managed to install it successfully today after installing wsl
Marco Campos (Sep 26 2022 at 02:55):
Good evening everyone,
I have been trying to install LEAN locally on my windows computer by following the tutorial that was posted here: https://leanprover-community.github.io/install/windows.html
However, when I run 'pip3 install mathlibtools' I continue to get an error message :
Exception: ERROR: The 'make' utility is missing from PATH
ERROR: Failed building wheel for pynacl
Running setup.py clean for pynacl
Failed to build pynacl
ERROR: Could not build wheels for pynacl which use PEP 517 and cannot be installed directly
I've googled and looked through the tutorials but none of the solutions I've seen have worked. Anyone have any suggestions?
Yitzhak Zangi (Feb 01 2024 at 01:06):
Is there anything to run instead of source .profile
in Windows ?
Julian Berman (Feb 01 2024 at 01:52):
Can you elaborate a bit? Are you saying you ran the installation script on windows and elan isn't working for you?
Yitzhak Zangi (Feb 01 2024 at 01:58):
No, I just read this page, and this is the 1st instruction.
So what shall I do when working with Windows?
Julian Berman (Feb 01 2024 at 02:05):
Have you already installed Lean then? That page (and line) is for after you do.
Yitzhak Zangi (Feb 01 2024 at 02:10):
of course. I'm sorry that it wasn't evident.
Julian Berman (Feb 01 2024 at 02:12):
OK, and if you open a terminal and run lean --version
, what do you see?
Yitzhak Zangi (Feb 01 2024 at 02:14):
4.4.0
Julian Berman (Feb 01 2024 at 02:15):
Great, everything probably is working then, just skip that line and continue forward.
Yitzhak Zangi (Feb 01 2024 at 02:17):
thanks. so maybe one should add this as a comment?
Julian Berman (Feb 01 2024 at 02:20):
It's a bit tersely written when it says "you may need to" if you don't already know how to check whether you need to -- so perhaps. I'm sure a pull request wouldn't be unwelcome to add a few more words there.
Last updated: May 02 2025 at 03:31 UTC