Skip to content
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

os.sched_getaffinity not available on MacOS #51

Open
danudwary opened this issue Jun 25, 2022 · 0 comments
Open

os.sched_getaffinity not available on MacOS #51

danudwary opened this issue Jun 25, 2022 · 0 comments

Comments

@danudwary
Copy link

danudwary commented Jun 25, 2022

Something I noticed while attempting to run bligslice on my Mac: os.sched_getaffinity import failure due to lack of sched_getaffinity in Mac python's os package. This would be a problem on Windows, as well, I expect. Not a big deal for me, personally, as I normally run elsewhere, but may want to address if you want more compatibility.

$ bigslice --help
Traceback (most recent call last):
  File "/Users/DWUdwary/anaconda3/envs/bigslice/bin/bigslice", line 11, in <module>
    from os import getpid, path, makedirs, remove, sched_getaffinity
ImportError: cannot import name 'sched_getaffinity' from 'os' (/Users/DWUdwary/anaconda3/envs/bigslice/lib/python3.10/os.py)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant