munki / macadmin-scripts

Scripts of possible interest to macOS admins
Other
2.33k stars 523 forks source link

import xattr #92

Closed jredfox closed 3 years ago

jredfox commented 3 years ago

install instruction unclear. I installed python 3.9 with the latest release build. I ran

C:\Users\jredf\Desktop\macadmin-scripts-main\installinstallmacos.py help

output

Traceback (most recent call last):
  File "C:\Users\jredf\Desktop\macadmin-scripts-main\installinstallmacos.py", line 36, in <module>
    import xattr
ModuleNotFoundError: No module named 'xattr'
gregneagle commented 3 years ago

This tool is only supported with Apple's default Python and on macOS. If you want to use a different Python, you can, but that's on you to figure out and install all the needed dependencies. (like xattr).

It's definitely not supported on Windows.

jredfox commented 3 years ago

you can only run the python on macOs when python is a cross platform language sounds like a bug to me