Closed azinman closed 4 years ago
I just ran into the same problem. This is on macOS 10.14.1. To get it working I first had to manually download the XCode command line tools for XCode 10.1 from developer.apple.com. I installed those, and then followed these instructions: https://holgr.com/fixing-python-zlib-errors-in-macos-mojave-beta/
Those instructions allowed me to finally install vert-manager.
Manually downloading the command line tools was for getting the macOS_SDK_headers_for_macOS_10.14.pkg file, but I believe there may be other ways that don't require a developer account.
I managed to get Xcode Command line tools by runningxcode-select --install
and was prompted for installation in the xcode gui popup. After this the brew reinstall python@2
and brew reinstall virtmanager
was successful.
The original error regarding python seems to indicate that python2 is in use. The virt-manager formula has since been converted to python3. Is this still an issue?
FYI for follow on comments, CLT for Xcode is a requirement for Homebrew in general: https://docs.brew.sh/Installation#macos-requirements
Closing since virt-manager formula has moved away from python2 and is at version 2.2.1.
I'm unable to install virt-manager. It seems to install all the dependencies just fine, including python, but then it's a python that's been compiled without zlib?