-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
module 'os' has no attribute 'getuid' #160
Comments
Which benchmarks are you using? |
I tested the demo code provided in the README on Windows.
|
Hi, Have you tried to run it in WSL? I am curious to hear if that works :-) |
I had the same problem, after installing hpobench, i could not import anything from HPOBench on my windows laptop without getting the error. My workaround was to make a local clone of HPOBench and change just the line where the error occured. |
This seems like an open issue so running our code on Windows would run into this issue. @PhMueller could offer a sanity check and advise on if there might be any downstream effect of such a change. |
Fixed in #170 |
At least the I leave that one here open for now. It would be awesome if you could share if it works for you now :-) |
Thank you for the fix @PhMueller ! It works for me now, but i could not test anything with singularity yet, since I don't have it installed. But the ml benchmarks work, so it's perfectly fine for my usecase. |
When I tested the library on my laptop with the Windows system, the error information is shown below. I searched for the problem, and it seems that os.getuid is only applicable in Unix systems.
_> s_elf.container_dir = self.cache_dir / f'hpobench-{os.getuid()}'
So, my question is:
Regards
The text was updated successfully, but these errors were encountered: