-
Notifications
You must be signed in to change notification settings - Fork 524
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
Python xattr module error #125
Comments
Maybe I solved the issue above removing all entities of python, installing latest python from homebrew (3.12.3) and from GUI (3.12.4) and last, linking python3 in /usr/local/bin as python. Not sure If I needed all this, and which was the step that solved the issue, but now your script works again.
1 061-26578 10.14.5 18F2059 2019-10-14 macOS Mojave Choose a product to download (1-22): |
The script parses Apple's softwareupdate catalog. What is advertised there is under Apple's control. I agree that what's there doesn't make a lot of sense or show a lot of consistency, but that's on Apple. I personally only use the tool to download new macOS releases, so what's in the catalog works OK for me. |
I was running into the same issue on Ventura. Homebrew installs python3 and pip3 by default when you run I ran
Frustrated, I removed lines 45 to 50 of installinstallmacos.py, and the script appears to work fine now. Not sure what the function of xattr is, but appears to not be needed the way I am using the script (with no flags). |
https://github.com/munki/macadmin-scripts/blob/main/installinstallmacos.py#L636-L644 If you never download a macOS installer from one of the Seed Programs, you won't need the xattr module. |
Seems I unable to troubleshoot the following issue, that appeared after I upgraded MacPorts (on my MacPro with Monterey):
studio@macpro::~ % curl -O -L https://raw.githubusercontent.com/munki/macadmin-scripts/main/installinstallmacos.py && sudo python installinstallmacos.py
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 26241 100 26241 0 0 198k 0 --:--:-- --:--:-- --:--:-- 208k
This tool requires the Python xattr module. Perhaps run
pip install xattr
to install it.studio@macpro::~ % pip install xattr
Requirement already satisfied: xattr in /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages (1.1.0)
Requirement already satisfied: cffi>=1.16.0 in /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages (from xattr) (1.16.0)
Requirement already satisfied: pycparser in /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages (from cffi>=1.16.0->xattr) (2.22)
studio@macpro::~ % python ./installinstallmacos.py --help
This tool requires the Python xattr module. Perhaps run
pip install xattr
to install it.studio@macpro::~ %
Another question: why can we have only the latest version of BigSur and instead of Catalina, as many as 5 or 6 versions are listed?
The text was updated successfully, but these errors were encountered: