Closed inv2004 closed 1 year ago
👑 INim 0.6.1 Nim Compiler Version 2.0.0 [Linux: amd64] at /home/u/.nimble/bin/nim nim> import nimpy /home/u/.nimble/pkgs/nimpy-#c9757f3c49523e2503fa0ed4be35e91cf1e76d22/nimpy.nim(223, 37) Error: type mismatch: got <string, PPyObject, typeof(nil)> but expected one of: proc (name: cstring, base: PPyObject, dict: PPyObject): PPyObject{.cdecl, gcsafe.}
Looks like some versions mess: rm -rf ~/.nimble/pkg/* and rm -rf ~/.nimble/pkg2/* helped. I cannot understand why nim2 referred to .nimble/pkgs
rm -rf ~/.nimble/pkg/*
rm -rf ~/.nimble/pkg2/*
.nimble/pkgs