munki / macadmin-scripts

Scripts of possible interest to macOS admins
Other
2.32k stars 524 forks source link

ImportError: No module named xattr #91

Closed MustyAslan99 closed 3 years ago

MustyAslan99 commented 3 years ago
File "installinstallmacos.py", line 44, in <module>
    import xattr
ImportError: No module named xattr

When trying to run command from (https://dortania.github.io/OpenCore-Install-Guide/installer-guide/mac-install.html#downloading-macos-modern-os) guide.

gregneagle commented 3 years ago

Apple's built-in Python includes xattr. If the Python you are using does not, you'll have to install it.

gregneagle commented 3 years ago

(I'd imagine replacing python with /usr/bin/python in that command would fix things)

MustyAslan99 commented 3 years ago

i tried from linux. guessed it would work without mac. :/

gregneagle commented 3 years ago

There is zero support for Linux. Not saying it would be impossible to make it work on Linux, but it's work I don't need to do.

MustyAslan99 commented 3 years ago

thanks for reply will try to get mac then. if this issue is my side end.