BUILD FAILED (OS X 10.15.4 using python-build 20180424)
See original GitHub issuegetting the error
BUILD FAILED (OS X 10.15.4 using python-build 20180424)
Inspect or clean up the working tree at /var/folders/3z/jdm_tbt56n97ch0_75f497880000gn/T/python-build.20200331123651.7278
Results logged to /var/folders/3z/jdm_tbt56n97ch0_75f497880000gn/T/python-build.20200331123651.7278.log
Last 10 log lines:
File "/private/var/folders/3z/jdm_tbt56n97ch0_75f497880000gn/T/python-build.20200331123651.7278/Python-3.7.2/Lib/ensurepip/__main__.py", line 5, in <module>
sys.exit(ensurepip._main())
File "/private/var/folders/3z/jdm_tbt56n97ch0_75f497880000gn/T/python-build.20200331123651.7278/Python-3.7.2/Lib/ensurepip/__init__.py", line 204, in _main
default_pip=args.default_pip,
File "/private/var/folders/3z/jdm_tbt56n97ch0_75f497880000gn/T/python-build.20200331123651.7278/Python-3.7.2/Lib/ensurepip/__init__.py", line 117, in _bootstrap
return _run_pip(args + [p[0] for p in _PROJECTS], additional_paths)
File "/private/var/folders/3z/jdm_tbt56n97ch0_75f497880000gn/T/python-build.20200331123651.7278/Python-3.7.2/Lib/ensurepip/__init__.py", line 27, in _run_pip
import pip._internal
zipimport.ZipImportError: can't decompress data; zlib not available
make: *** [install] Error 1
Exiting due to failure
Issue Analytics
- State:
- Created 3 years ago
- Reactions:4
- Comments:19 (1 by maintainers)
Top Results From Across the Web
pyenv: BUILD FAILED (OS X 10.15.7 using python-build ...
The problem was OpenSSL that was installed with Homebrew, but which "was not symlinked into /usr/local, because macOS provides LibreSSL.
Read more >Not Able to Build Some Versions of Python on M1 at 12.3.1
I trying to build older version of python such as 3.6, 3.7, 3.8 using pyenv and having build failures. I am on apple...
Read more >build failed (os x 12.3.1 using python-build 20180424)
python-build: use zlib from xcode sdk BUILD FAILED (OS X 12.0.1 using python-build 20180424) I tried pyenv install 3.8.10 after reading @btilongnguyen 's ......
Read more >Managing macOS + python issues - Medium
BUILD FAILED (OS X *.* using python-build 20180424) This issue has something to do with XCode Command Line Tools. Hence, a lot of...
Read more >Build pyenv Python versions on macOS Catalina 10.15
python-build: use readline from homebrew BUILD FAILED (OS X 10.15.x using python-build 20XXXXXX) Inspect or clean up the working tree at /var/ ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I was able to solve this by running:
brew install pyenv
pyenv install 3.7.2
Wish I found the other thread earlier, would have saved me 2 hours. https://github.com/aws/aws-elastic-beanstalk-cli-setup/issues/23
In my case, these actions did not work. Instead, using a patch mentioned in this comment solved the issue. In order to install python 3.7.2, I ran:
My environments are: