Closed Hoffenbar closed 6 months ago
Windows 10, 64bit nim 1.4.8
nimble install psutil
prozesstest.nim:
import psutil echo process_exists("notepad.exe")
nim.exe c --opt:size -d:release prozesstest.nim
Hint: used config file 'c:\UsrStatic\bin\nim-1.4.8\config\nim.cfg' [Conf] Hint: used config file 'c:\UsrStatic\bin\nim-1.4.8\config\config.nims' [Conf] ............................. C:\Users\matthiasu\.nimble\pkgs\psutil-0.6.0\psutil\psutil_windows.nim(9, 8) Error: cannot open file: winim
I got the same issue, I presume that winim package is missing. So should be added to psutil.nimble.
winim
psutil.nimble
fixed in https://github.com/juancarlospaco/psutil-nim/pull/25
Windows 10, 64bit nim 1.4.8
nimble install psutil
prozesstest.nim:
nim.exe c --opt:size -d:release prozesstest.nim