hBayesDM icon indicating copy to clipboard operation
hBayesDM copied to clipboard

errors in module 'os' has no attribute 'getuid'

Open vincent5290 opened this issue 2 years ago • 3 comments

Dear all, When I use the python to make the data analysis. However when I use the command bart_par4, it get errors, called"AttributeError: module 'os' has no attribute 'getuid'''. When I searched in google, it said the getuid doesn't support in the Windows. So how to handle?

vincent5290 avatar Sep 15 '21 12:09 vincent5290

Dear @vincent5290,

Thanks for reporting this issue, and sorry to bother you with the issue. I made a quick fix on the source codes in the develop branch, but it seems to take time to apply to the official version update.

If you want to try the fixed version by yourself, please follow the instruction in this link: https://hbayesdm.readthedocs.io/en/develop/

JaeyeongYang avatar Sep 16 '21 13:09 JaeyeongYang

@vincent5290 getuid can uesd in the Linux, so you can choose Linux system

Tiansang-Psy avatar Oct 18 '22 03:10 Tiansang-Psy

Hey all, I ran into this same issue and attempted to download the develop branch. When using that branch I ran into the following issue: image

~~I think I have a fix, will try and open a PR soon!~~

PR with potential fix

mkdir-eherms avatar Nov 03 '22 02:11 mkdir-eherms