and of course install xcode cmd line tools : xcode-select --install
On Thu, Jun 8, 2017 at 5:25 PM, Joseph Napolitano < [email protected]> wrote: > Anthony, check out this issue here: > https://github.com/mitmproxy/mitmproxy/issues/68 > > You might need to install a system package: brew install libxml2 > > Make sure you also: brew update && brew upgrade > > Cheers, > Joe > > On Thu, Jun 8, 2017 at 9:16 AM, Anthony McClay <[email protected]> > wrote: > > > Airflow Development Team, > > > > I am having an issue with the pip install of airflow. I cannot figure > out > > the difference, I have 2 Mac machines, and one machine airflow installs > > correctly and the other one, airflow fails on install. > > > > - Please advise > > > > Tony McClay > > [email protected] > > > > > > > > creating var/folders/mf/k3gwf7795b594fkvb64vbz_r0000gn/T > > cc -I/usr/include/libxml2 -I/usr/include/libxml2 -c /var/folders/mf/ > > k3gwf7795b594fkvb64vbz_r0000gn/T/xmlXPathInitynysjdpe.c -o > var/folders/mf/ > > k3gwf7795b594fkvb64vbz_r0000gn/T/xmlXPathInitynysjdpe.o > > /var/folders/mf/k3gwf7795b594fkvb64vbz_r0000gn/T/ > xmlXPathInitynysjdpe.c:1:10: > > fatal error: 'libxml/xpath.h' file not found > > #include "libxml/xpath.h" > > ^ > > 1 error generated. > > ************************************************************ > > ********************* > > Could not find function xmlCheckVersion in library libxml2. Is > libxml2 > > installed? > > Perhaps try: xcode-select --install > > ************************************************************ > > ********************* > > error: command '/usr/bin/clang' failed with exit status 1 > > > > ---------------------------------------- > > Command "/Users/anthonymcclay/.virtualenvs/airflow2/bin/python -u -c > > "import setuptools, tokenize;__file__='/private/var/folders/mf/ > > k3gwf7795b594fkvb64vbz_r0000gn/T/pip-build-yfv3sebl/ > > lxml/setup.py';f=getattr(tokenize, 'open', > open)(__file__);code=f.read().replace('\r\n', > > '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record > > /var/folders/mf/k3gwf7795b594fkvb64vbz_r0000gn/T/pip-wj2zx_si-record/ > install-record.txt > > --single-version-externally-managed --compile --install-headers > > /Users/anthonymcclay/.virtualenvs/airflow2/include/site/python3.5/lxml" > > failed with error code 1 in /private/var/folders/mf/ > > k3gwf7795b594fkvb64vbz_r0000gn/T/pip-build-yfv3sebl/lxml/ > > > > > > Configuration > > ============================================================ > > =========================== > > > > (airflow2) Anthonys-MacBook-Pro:PythonProjects anthonymcclay$ which > python > > /Users/anthonymcclay/.virtualenvs/airflow2/bin/python > > (airflow2) Anthonys-MacBook-Pro:PythonProjects anthonymcclay$ python > > --version > > Python 3.5.2 > > (airflow2) Anthonys-MacBook-Pro:PythonProjects anthonymcclay$ pip > > --version > > pip 9.0.1 from /Users/anthonymcclay/.virtualenvs/airflow2/lib/ > > python3.5/site-packages/pip-9.0.1-py3.5.egg (python 3.5) > > (airflow2) Anthonys-MacBook-Pro:PythonProjects anthonymcclay$ > > Darwin Anthonys-MacBook-Pro.local 15.6.0 Darwin Kernel Version 15.6.0: > Tue > > Apr 11 16:00:51 PDT 2017; root:xnu-3248.60.11.5.3~1/RELEASE_X86_64 > x86_64 > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > *Joe Napolitano *| Sr. Data Engineer > www.blueapron.com | 5 Crosby Street, New York, NY 10013 >
