Hi there,

I've installed nim from rpm package in OS Tumbleweed It's version 0.19.2

I've set PATH to bin and it works.

I can write code and compilation is successfull.

The problem arise when I try to import packages. In my file when I import e.g 
os it tells me:

Hint: system [Processing] Hint: gret [Processing] gret.nim(2, 8) Error: cannot 
open file: os

gret is my hello_world like file.

What I found with strace is that Nim is looking for os module in lib file as in 
the following line:

stat("/home/sebastian/nim/lib/os.nim", 0x7fff80637ac0) = -1 ENOENT (No such 
file or directory)

I found os.nim in lib/pure file.

When i run nim dump it leads to valid lib folder. What should i do to fix 
imports without creating a mess?

Reply via email to