OS: MacOS 10.14 Beta
Goal: Install Python 3.7.0 Through PYENV
When trying to install python 3.7.0 through pyenv I get this error, how can I fix this?
Last 10 log lines:
File "/private/tmp/python-build.20180704152803.38921/Python-3.7.0/Lib/ensurepip/__main__.py", line 5, in <module>
sys.exit(ensurepip._main())
File "/private/tmp/python-build.20180704152803.38921/Python-3.7.0/Lib/ensurepip/__init__.py", line 204, in _main
default_pip=args.default_pip,
File "/private/tmp/python-build.20180704152803.38921/Python-3.7.0/Lib/ensurepip/__init__.py", line 117, in _bootstrap
return _run_pip(args + [p[0] for p in _PROJECTS], additional_paths)
File "/private/tmp/python-build.20180704152803.38921/Python-3.7.0/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
Steps Taken To Attempt To Fix:
1) Reinstall XCODE
2) Reinstall XCODE Command Line Tools
3) Read Similar Errors on Stack Overflow
Alternate Questions:
1) zlib should come preinstalled, what kind of issue might I be experiencing?
2) What is an alternate way to manually install python into a pyenv that would also be recognized by pynev?