Modules/_codecsmodule.c -o Modules/_codecsmodule.oĬlang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -std=c99 -Wextra -Wno-unused-result -Wno-unused-parameter -Wno-missing-field-initializers -Wstrict-prototypes -I. I./Include -I/usr/local/opt/readline/include -I/usr/local/opt/readline/include -I/Users/ethanyan/.pyenv/versions/3.6.8/include -I/usr/local/opt/readline/include -I/usr/local/opt/readline/include -I/Users/ethanyan/.pyenv/versions/3.6.8/include -DPy_BUILD_CORE -c. Results logged to /var/folders/bb/0bxy1cy57rb_pxdkvlyst3nh0000gn/T/Ĭlang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -std=c99 -Wextra -Wno-unused-result -Wno-unused-parameter -Wno-missing-field-initializers -Wstrict-prototypes -I. Make: *** Waiting for unfinished jobs.īUILD FAILED (OS X 11.0.1 using python-build 20180424)
Mac python install failed code#
Py_FatalError("abort() called from Python code didn't abort!") Modules/posixmodule.c:10432:5: warning: code will never be executed Ret = sendfile(in, out, offset, &sbytes, &sf, flags) Modules/posixmodule.c:8210:15: error: implicit declaration of function 'sendfile' is invalid in C99 Inspect or clean up the working tree at /tmp/python-build.20201120091233.71993
You see, Python 3.6 on MacOS comes with its own private copy of OpenSSL.
Mac python install failed download#
Well, you may close this post and figure it out by yourself or read on and probably I'll save you some time.ġ) requests-html is so cool that it can scrape javascript pages, but to do so, it uses Chromium which is basically Google Chrome.Ģ) To control Chrome via Python requests_html uses Pyppeteer, an unofficial Python port of puppeteer JavaScript Chome automation library.ģ) And now the final step: when you scrape a javascript based web page for the first time, requests-html downloads Chromium for you behind the scenes.Īnd in 99% of cases, you get the error because Pyppeteer can't download Chromium due to lacking SSL certificates in your Python installation.
: