Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trouble setting up: lean.executablePath incorrect #335

Open
minimario opened this issue Mar 18, 2023 · 0 comments
Open

Trouble setting up: lean.executablePath incorrect #335

minimario opened this issue Mar 18, 2023 · 0 comments

Comments

@minimario
Copy link

minimario commented Mar 18, 2023

I'm having some trouble setting up: I got the error "Unable to start the Lean server process: Error: spawn lean ENOENT --- The lean.executablePath "lean" may be incorrect, make sure it is a valid Lean executable"

When I open a terminal, I can see that "lean" works and points to "/scratch/gua/.elan/bin/lean". However, I have to run "source ~/.bashrc4" for this to work (for various reasons, it's not called .bashrc), the bashrc file adds the directory to my $PATH.

I also tried using "/scratch/gua/.elan/bin/lean" as the lean.executablePath, but then it gives me error: no default toolchain configured. run `elan default stable` to install & configure the latest Lean 3 community release.

Any ideas how to fix the issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant