Skip to content

julia not found despite correct installation and the directory existing in the PATH #1260

@Datseris

Description

@Datseris

Hi,

a couple of students of mine are having problems installing Julia via juliaup in windows 10 and 11. The typical error is:

PS C:\Users\alann> juliaup status
 Default  Channel  Version                   Update
----------------------------------------------------
       *  release  1.11.7+0.x64.w64.mingw32
PS C:\Users\alann> julia
Error: The Julia launcher failed to determine the command for the `release` channel.

Caused by:
    0: Failed to normalize path for Julia binary, starting from `C:\Users\alann\.julia\juliaup\juliaup.json`.
    1: The system cannot find the file specified. (os error 2)

as you can see, juliaup is correctly installed as well as the release version. We also checked, and the issue mentioned here: https://discourse.julialang.org/t/ive-installed-juliaup-from-the-ms-store-but-its-not-in-path/77809/4 does not hold, i.e., %USERPROFILE%\AppData\Local\Microsoft\WindowsApps is in the path, and there is in that path a JuliaComputing.xxxx folder that does have the julia executable.

What is going on? How can I help the students? The problem is not clear to me...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions