Under Windows 10 trying to run julia from terminal (added to PATH), I’m stuck with the following message :
Cannot find file at 'c:\windows\system32\config\systemprofile\appdata\local\programs\julia-1.8.2\bin\julia.exe' (c:\windows\system32\config\systemprofile\appdata\local\programs\julia-1.8.2\bin\julia.exe). This usually indicates a missing or moved file.
I’m getting the same error message after uninstalling julia 1.8.2 and typing julia in terminal.
where julia helped me to find that I had an other julia install with Chocolatey
where julia
C:\Users\scell\julia
C:\ProgramData\chocolatey\bin\julia.exe
C:\Users\scell\AppData\Local\Programs\Julia-1.8.2\bin\julia
C:\Users\scell\AppData\Local\Programs\Julia-1.8.2\bin\julia.exe
Cleaning up by removing those unused julia’s should be fine to solve your issue.
The julia.exe, which produces your error messages seems to be corrupt anyways.
More information: I uninstalled the old Julia from the Windows app management, and forgot that it was installed from chocolate, so where julia returns nothing. In this case, just run choco uninstall julia, and everything is fine.