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
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.
2 Comments
skan
This implies reinstalling all packages and compile everything again. Isn't there any less dramatic solution?
Przemyslaw Szufel
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