2

First it worked. I cound uses the REPL inside vscode. Then the computer crashed when I tried to install julia package Plots, using REPL insode vscode. After that I have had an error no matter what I did with julia.executablePath. I have tried everything, including total reinstallation of both vscode and julia

1 Answer 1

3

If Julia crashes when installing packages than often the package repo becomes corrupt.

The package repo is usually located at the .julia folder in your HOME directory (unless JULIA_DEPOT_PATH system variable points to a different location). Delete the .julia folder completely and restart Julia.

Sign up to request clarification or add additional context in comments.

2 Comments

This implies reinstalling all packages and compile everything again. Isn't there any less dramatic solution?
perhaps you might try to delete the packages from .julia/compiled and try editing *.toml files in the .julia/environments folder. I always preferred to reinstall from scratch

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.