Here are the the commands I ran on my Ubuntu 18.04:
$ sudo snap install nim-lang nim-lang-docs
$ mkdir hello-nim
$ cd hello-nim
$ nim-lang.nimble init
(chose binary and c)
$ nim-lang.nimble run .
Error: Could not read package info file in /home/myuser/stuff/hello_nim/hello_nim.nimble;
... Reading as ini file failed with:
... Invalid section: .
... Evaluating as NimScript file failed with:
... /tmp/nimblecache/nimscriptapi.nim(7, 8) Error: cannot open file: strformat
Any idea how I can fix this?
$ nim-lang.nim -v
Nim Compiler Version 1.0.4 [Linux: amd64]
Compiled at 2019-12-02
Copyright (c) 2006-2019 by Andreas Rumpf
git hash: 0117460b6a74c2b4e846841200a30c1e19551c85
active boot switches: -d:release
$ nim-lang.nimble -v
nimble v0.11.0 compiled at 2019-12-02 22:18:38
git hash: 4007b2a778429a978e12307bf13a038029b4c4d9