Closed Exirtis closed 7 years ago
Nice sets the process priority on UNIX. You must be on Windows.
I've modified the code to check if nice exists before calling it.
I also checked if there's a Windows equivalent, but it doesn't appear promising. Someone please pipe up if there's a straightforward way to lower the process priority on Windows.
Thanks for that. :-)
Regarding lowering process priority on Windows: while I'm not much of a coder I did find a couple of possible solutions (1, 2) that might be worth looking into; although, I don't know how straightforward they are even if they do work.
Running with the modified script I do get farther in execution, but do I still hit an error further on. I have to go to work now, so I'll open a new issue later when I have time.
After your instructions with my last issue:
isp_data_pollution.py
numpy
modulenumpy
,requests
, andFaker
installedAt first I thought I might be missing another dependency, but from your comment on line 30 of the code, it seems that
nice
might be an established Python method or something. So, I'm at a loss.I hope I'm not being a pain, but... any ideas?