Skip to content

Fails to install stable nim on w10 #82

@r0levrai

Description

@r0levrai
PS C:\_r0\nim> .\choosenim-0.8.12_windows_amd64.exe stable
Downloading DLLs (openssl, pcre, ...)
[##################################################] 100.0% 0kb/s
 Extracting dlls.zip
Downloading Nim 2.2.4 from nim-lang.org
[##################################################] 100.0% 0kb/s
 Extracting nim-2.2.4_x64.zip
   Building Nim 2.2.4
  Compiler: Already built
 Exception: %1 is not a valid Win32 application.
        ... Additional info: C:\Users\USER NAME\.choosenim\toolchains\nim-2.2.4\bin\nimble.exe -v
   Cleaning failed install of 2.2.4
       Tip: 37 messages have been suppressed, use --verbose to show them.
     Error: Installation failed

I can't call & "C:\Users\USER NAME\.choosenim\toolchains\nim-2.2.4\bin\nimble.exe -v" since the nim-2.2.4 folder was cleaned, and calling choosenim with --verbose don't reveal anything else of interest either.

Happens both from upgrading from nim 2.2.0, and from a fresh install after deleting .nimble and .choosenim, except for the later I also got a bunch of

Warning: Error copying '[lots of dlls]' to 'C:\Users\USER NAME\.nimble\bin': The system cannot find the path specified.
        ... Additional info: ("C:\\Users\\US~1\\AppData\\Local\\Temp\\choosenim-dlls\\[lots of dlls]", "C:\\Users\\USER NAME\\.nimble\\bin\\[lots of dlls]")

unless I create .nimble\bin myself, after which the copies works. Note that I have a space in my USER NAME (sadly, not my pc...) and the the US~1 in the log above.

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