Post

Replies

Boosts

Views

Activity

Reply to Command line tools - headers missing
I am using macos 10.15.7 and python 3.6 but i am getting the below error - File "/usr/local/lib/python3.6/runpy.py", line 193, in _run_module_as_main &#9;&#9;"main", mod_spec) &#9;File "/usr/local/lib/python3.6/runpy.py", line 85, in _run_code &#9;&#9;exec(code, run_globals) &#9;File "/usr/local/lib/python3.6/ensurepip/main.py", line 5, in <module> &#9;&#9;sys.exit(ensurepip._main()) &#9;File "/usr/local/lib/python3.6/ensurepip/init.py", line 204, in _main &#9;&#9;default_pip=args.default_pip, &#9;File "/usr/local/lib/python3.6/ensurepip/init.py", line 117, in _bootstrap &#9;&#9;return _run_pip(args + [p[0] for p in _PROJECTS], additional_paths) &#9;File "/usr/local/lib/python3.6/ensurepip/init.py", line 27, in _run_pip &#9;&#9;import pip._internal zipimport.ZipImportError: can't decompress data; zlib not available Below is the SDk path - sanjeev.rohila@Sanjeev-Rohilas-MacBook-Pro run3 % xcrun --show-sdk-path /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk How can I make my python3.6 to use the zlib ?
Jan ’21