1、 Scene description The error of installing scrapy (PIP3 install scrapy) in terminal on Mac OS system is as follows
2、 Scene analysis Since clang is used in the compiler for C at the bottom of Mac OS system, Xcode needs to be installed 3、 Solutions Do the following in terminal
Then install scrapy Note: I use Python 3, so I use PIP3 install sketch Read More:Try to add these env var before If it does not work you can try with virtualenv: pip install virtualenv virtualenv my-test-env source my-test-env/bin/activate my-test-env/bin/pip install google-cloud-pubsub==2.1.0 Because is written on github:
I tried creating a new dev environment today on my macOS 10.12.1 (16B2555) and received the following error during ./create-test-environment install: wrote 1798020 bytes to /Users/MY_USER/Projects/version-control-tools/venv/virtualenv-14.0.6.tar.gz wrote 1190016 bytes to /Users/MY_USER/Projects/version-control-tools/venv/virtualenv-14.0.6/virtualenv_support/pip-8.0.3-py2.py3-none-any.whl wrote 472691 bytes to /Users/MY_USER/Projects/version-control-tools/venv/virtualenv-14.0.6/virtualenv_support/setuptools-20.1.1-py2.py3-none-any.whl New python executable in /Users/MY_USER/Projects/version-control-tools/venv/bin/python2.7 Also creating executable in /Users/MY_USER/Projects/version-control-tools/venv/bin/python Installing setuptools, pip, wheel...done. running develop running egg_info writing requirements to requests.egg-info/requires.txt writing requests.egg-info/PKG-INFO writing top-level names to requests.egg-info/top_level.txt writing dependency_links to requests.egg-info/dependency_links.txt reading manifest file 'requests.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'requests.egg-info/SOURCES.txt' running build_ext Creating /Users/MY_USER/Projects/version-control-tools/venv/lib/python2.7/site-packages/requests.egg-link (link to .) Adding requests 2.9.1 to easy-install.pth file Installed /Users/MY_USER/Projects/version-control-tools/pylib/requests Processing dependencies for requests==2.9.1 Finished processing dependencies for requests==2.9.1 Collecting ansible==1.9.0.1 (from -r deploy-requirements.txt (line 1)) Using cached ansible-1.9.0.1.tar.gz Collecting blessings==1.6 (from -r deploy-requirements.txt (line 4)) Using cached blessings-1.6.tar.gz Collecting ecdsa==0.13 (from -r deploy-requirements.txt (line 7)) Using cached ecdsa-0.13-py2.py3-none-any.whl Collecting Jinja2==2.7.3 (from -r deploy-requirements.txt (line 10)) Using cached Jinja2-2.7.3.tar.gz Collecting mach==0.5.1 (from -r deploy-requirements.txt (line 13)) Using cached mach-0.5.1.tar.gz Collecting MarkupSafe==0.23 (from -r deploy-requirements.txt (line 16)) Using cached MarkupSafe-0.23.tar.gz Collecting Mercurial==3.9.1 (from -r deploy-requirements.txt (line 19)) Using cached mercurial-3.9.1.tar.gz Collecting mozfile==1.1 (from -r deploy-requirements.txt (line 22)) Using cached mozfile-1.1.tar.gz Collecting mozinfo==0.7 (from -r deploy-requirements.txt (line 25)) Using cached mozinfo-0.7.tar.gz Collecting mozprocess==0.22 (from -r deploy-requirements.txt (line 28)) Using cached mozprocess-0.22.tar.gz Collecting paramiko==1.16.0 (from -r deploy-requirements.txt (line 31)) Using cached paramiko-1.16.0-py2.py3-none-any.whl Collecting PyYAML==3.11 (from -r deploy-requirements.txt (line 34)) Using cached PyYAML-3.11.zip Collecting pycrypto==2.6.1 (from -r deploy-requirements.txt (line 38)) Using cached pycrypto-2.6.1.tar.gz Collecting setuptools==20.8.1 (from -r deploy-requirements.txt (line 41)) Using cached setuptools-20.8.1-py2.py3-none-any.whl Collecting alabaster==0.7.3 (from -r test-requirements.txt (line 7)) Using cached alabaster-0.7.3.tar.gz Collecting amqp==1.4.8 (from -r test-requirements.txt (line 10)) Using cached amqp-1.4.8-py2.py3-none-any.whl Collecting anyjson==0.3.3 (from -r test-requirements.txt (line 13)) Using cached anyjson-0.3.3.tar.gz Collecting Babel==1.3 (from -r test-requirements.txt (line 16)) Using cached Babel-1.3.tar.gz Collecting backports.lzma==0.0.3 (from -r test-requirements.txt (line 19)) Using cached backports.lzma-0.0.3.tar.gz Collecting backports.ssl-match-hostname==3.5.0.1 (from -r test-requirements.txt (line 22)) Using cached backports.ssl_match_hostname-3.5.0.1.tar.gz Collecting beautifulsoup4==4.3.2 (from -r test-requirements.txt (line 25)) Using cached beautifulsoup4-4.3.2.tar.gz Collecting boto==2.40.0 (from -r test-requirements.txt (line 28)) Using cached boto-2.40.0-py2.py3-none-any.whl Collecting cffi==1.6.0 (from -r test-requirements.txt (line 31)) Using cached cffi-1.6.0-cp27-cp27m-macosx_10_10_intel.whl Collecting coverage==3.7.1 (from -r test-requirements.txt (line 35)) Using cached coverage-3.7.1.tar.gz Collecting cryptography==1.3.1 (from -r test-requirements.txt (line 38)) Using cached cryptography-1.3.1-cp27-cp27m-macosx_10_10_intel.whl Collecting Django==1.6.11.3 (from -r test-requirements.txt (line 42)) Using cached https://downloads.reviewboard.org/releases/Django/1.6/Django-1.6.11.3.tar.gz Collecting django-evolution==0.7.6 (from -r test-requirements.txt (line 45)) Using cached django_evolution-0.7.6-py2-none-any.whl Collecting django-haystack==2.3.1 (from -r test-requirements.txt (line 48)) Using cached django-haystack-2.3.1.tar.gz Collecting django-multiselectfield==0.1.3 (from -r test-requirements.txt (line 51)) Using cached django-multiselectfield-0.1.3.tar.gz Collecting django-pipeline==1.3.27 (from -r test-requirements.txt (line 54)) Using cached django_pipeline-1.3.27-py2.py3-none-any.whl Collecting django-storages==1.4.1 (from -r test-requirements.txt (line 57)) Using cached django_storages-1.4.1-py2.py3-none-any.whl Collecting docker-py==1.9.0 (from -r test-requirements.txt (line 60)) Using cached docker_py-1.9.0-py2.py3-none-any.whl Collecting docutils==0.12 (from -r test-requirements.txt (line 63)) Using cached docutils-0.12.tar.gz Collecting enum34==1.1.1 (from -r test-requirements.txt (line 66)) Using cached enum34-1.1.1.tar.gz Collecting flake8==2.4.1 (from -r test-requirements.txt (line 69)) Using cached flake8-2.4.1-py2.py3-none-any.whl Collecting feedparser==5.1.3 (from -r test-requirements.txt (line 72)) Using cached feedparser-5.1.3.zip Collecting jsmin==2.1.1 (from -r test-requirements.txt (line 77)) Using cached jsmin-2.1.1.tar.gz Collecting futures==3.0.5 (from -r test-requirements.txt (line 80)) Using cached futures-3.0.5-py2-none-any.whl Collecting idna==2.0 (from -r test-requirements.txt (line 83)) Using cached idna-2.0-py2.py3-none-any.whl Collecting ipaddress==1.0.16 (from -r test-requirements.txt (line 86)) Using cached ipaddress-1.0.16-py27-none-any.whl Collecting kafka-python==0.9.4 (from -r test-requirements.txt (line 89)) Using cached kafka-python-0.9.4.tar.gz Collecting kombu==3.0.30 (from -r test-requirements.txt (line 92)) Using cached kombu-3.0.30-py2.py3-none-any.whl Collecting lockfile==0.10.2 (from -r test-requirements.txt (line 95)) Using cached lockfile-0.10.2-py2-none-any.whl Collecting lxml==3.5.0 (from -r test-requirements.txt (line 98)) Using cached lxml-3.5.0.tar.gz Collecting Markdown==2.4.1 (from -r test-requirements.txt (line 101)) Using cached Markdown-2.4.1.tar.gz Collecting mccabe==0.3.1 (from -r test-requirements.txt (line 104)) Using cached mccabe-0.3.1-py2.py3-none-any.whl Collecting mechanize==0.2.5 (from -r test-requirements.txt (line 107)) Using cached mechanize-0.2.5.tar.gz Collecting mimeparse==0.1.3 (from -r test-requirements.txt (line 110)) Using cached mimeparse-0.1.3.tar.gz Collecting mock==1.0.1 (from -r test-requirements.txt (line 113)) Using cached mock-1.0.1.zip Collecting mozbuild==0.2 (from -r test-requirements.txt (line 117)) Using cached mozbuild-0.2-py2-none-any.whl Collecting mozlog==2.2 (from -r test-requirements.txt (line 120)) Using cached mozlog-2.2.tar.gz Collecting ndg-httpsclient==0.4.0 (from -r test-requirements.txt (line 123)) Using cached ndg_httpsclient-0.4.0.tar.gz Collecting nose==1.3.4 (from -r test-requirements.txt (line 126)) Using cached nose-1.3.4-py2-none-any.whl Collecting pep8==1.5.7 (from -r test-requirements.txt (line 129)) Using cached pep8-1.5.7-py2.py3-none-any.whl Collecting Pillow==2.7.0 (from -r test-requirements.txt (line 132)) Using cached Pillow-2.7.0-cp27-none-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl Collecting pillowfight==0.2 (from -r test-requirements.txt (line 137)) Using cached pillowfight-0.2.tar.gz Collecting pyasn1==0.1.9 (from -r test-requirements.txt (line 140)) Using cached pyasn1-0.1.9-py2.py3-none-any.whl Collecting pycparser==2.14 (from -r test-requirements.txt (line 143)) Using cached pycparser-2.14.tar.gz Collecting pyflakes==0.8.1 (from -r test-requirements.txt (line 146)) Using cached pyflakes-0.8.1-py2.py3-none-any.whl Collecting Pygments==2.1.1 (from -r test-requirements.txt (line 149)) Using cached Pygments-2.1.1-py2.py3-none-any.whl Collecting pyOpenSSL==0.15.1 (from -r test-requirements.txt (line 152)) Using cached pyOpenSSL-0.15.1-py2.py3-none-any.whl Collecting python-dateutil==1.5 (from -r test-requirements.txt (line 155)) Using cached python-dateutil-1.5.tar.gz Collecting python-hglib==1.7 (from -r test-requirements.txt (line 158)) Using cached python-hglib-1.7.tar.gz Collecting python-ldap==2.4.19 (from -r test-requirements.txt (line 161)) Using cached python-ldap-2.4.19.tar.gz Collecting python-memcached==1.54 (from -r test-requirements.txt (line 164)) Using cached python_memcached-1.54-py2.py3-none-any.whl Collecting pytz==2015.7 (from -r test-requirements.txt (line 167)) Using cached pytz-2015.7-py2.py3-none-any.whl Collecting RBTools==0.7.5 (from -r test-requirements.txt (line 170)) Using cached RBTools-0.7.5-py2-none-any.whl Collecting recaptcha-client==1.0.6 (from -r test-requirements.txt (line 173)) Using cached recaptcha-client-1.0.6.tar.gz Collecting requests==2.10.0 (from -r test-requirements.txt (line 176)) Using cached requests-2.10.0-py2.py3-none-any.whl Collecting responses==0.3.0 (from -r test-requirements.txt (line 180)) Using cached responses-0.3.0.tar.gz Collecting selenium==2.48.0 (from -r test-requirements.txt (line 183)) Using cached selenium-2.48.0-py2-none-any.whl Collecting six==1.10.0 (from -r test-requirements.txt (line 186)) Using cached six-1.10.0-py2.py3-none-any.whl Collecting snowballstemmer==1.2.0 (from -r test-requirements.txt (line 189)) Using cached snowballstemmer-1.2.0.tar.gz Collecting Sphinx==1.3.3 (from -r test-requirements.txt (line 192)) Using cached Sphinx-1.3.3-py2.py3-none-any.whl Collecting sphinx-rtd-theme==0.1.9 (from -r test-requirements.txt (line 195)) Using cached sphinx_rtd_theme-0.1.9-py2-none-any.whl Collecting websocket-client==0.37.0 (from -r test-requirements.txt (line 198)) Using cached websocket_client-0.37.0.tar.gz Collecting Whoosh==2.6.0 (from -r test-requirements.txt (line 201)) Using cached Whoosh-2.6.0.zip Building wheels for collected packages: ansible, blessings, Jinja2, mach, MarkupSafe, Mercurial, mozfile, mozinfo, mozprocess, PyYAML, pycrypto, alabaster, anyjson, Babel, backports.lzma, backports.ssl-match-hostname, beautifulsoup4, coverage, Django, django-haystack, django-multiselectfield, docutils, enum34, feedparser, jsmin, kafka-python, lxml, Markdown, mechanize, mimeparse, mock, mozlog, ndg-httpsclient, pillowfight, pycparser, python-dateutil, python-hglib, python-ldap, recaptcha-client, responses, snowballstemmer, websocket-client, Whoosh Running setup.py bdist_wheel for ansible: started Running setup.py bdist_wheel for ansible: finished with status 'done' Stored in directory: /Users/MY_USER/Library/Caches/pip/wheels/7d/8b/e8/13e9f23edde4b9e1341454c2a9950639762a07f172e7b8264f Running setup.py bdist_wheel for blessings: started Running setup.py bdist_wheel for blessings: finished with status 'done' Stored in directory: /Users/MY_USER/Library/Caches/pip/wheels/a5/7c/ba/e52b14bbd1b8cdeeb0771b03e1cca9b9d438c6e0054144a508 Running setup.py bdist_wheel for Jinja2: started Running setup.py bdist_wheel for Jinja2: finished with status 'done' Stored in directory: /Users/MY_USER/Library/Caches/pip/wheels/ea/d6/b1/389cd2f50d24ce359eb1f4005965da619ef62316226b2d430d Running setup.py bdist_wheel for mach: started Running setup.py bdist_wheel for mach: finished with status 'done' Stored in directory: /Users/MY_USER/Library/Caches/pip/wheels/6a/e6/7a/0a8386eb62e81d85f8d249ed6cbdb6a670b74e73ea0885ce21 Running setup.py bdist_wheel for MarkupSafe: started Running setup.py bdist_wheel for MarkupSafe: finished with status 'done' Stored in directory: /Users/MY_USER/Library/Caches/pip/wheels/a3/fa/dc/0198eed9ad95489b8a4f45d14dd5d2aee3f8984e46862c5748 Running setup.py bdist_wheel for Mercurial: started Running setup.py bdist_wheel for Mercurial: finished with status 'done' Stored in directory: /Users/MY_USER/Library/Caches/pip/wheels/44/f9/dc/96929574ba93c3de0de25c0fd10ea29737dfbd4184c2cead69 Running setup.py bdist_wheel for mozfile: started Running setup.py bdist_wheel for mozfile: finished with status 'done' Stored in directory: /Users/MY_USER/Library/Caches/pip/wheels/90/79/99/8f251f8fe7a23abd8c7b5fd55d8d4be732baacdbac35d2c960 Running setup.py bdist_wheel for mozinfo: started Running setup.py bdist_wheel for mozinfo: finished with status 'done' Stored in directory: /Users/MY_USER/Library/Caches/pip/wheels/ed/a2/7f/d2a413caab72413a53844e807fa1bfdd8cb2d534932ec9cdbd Running setup.py bdist_wheel for mozprocess: started Running setup.py bdist_wheel for mozprocess: finished with status 'done' Stored in directory: /Users/MY_USER/Library/Caches/pip/wheels/81/e2/ac/ca528b2a7e4c55523c93b9c11db7451be4f59fc317894e3d25 Running setup.py bdist_wheel for PyYAML: started Running setup.py bdist_wheel for PyYAML: finished with status 'done' Stored in directory: /Users/MY_USER/Library/Caches/pip/wheels/4a/bf/14/d79994d19a59d4f73efdafb8682961f582d45ed6b459420346 Running setup.py bdist_wheel for pycrypto: started Running setup.py bdist_wheel for pycrypto: finished with status 'done' Stored in directory: /Users/MY_USER/Library/Caches/pip/wheels/80/1f/94/f76e9746864f198eb0e304aeec319159fa41b082f61281ffce Running setup.py bdist_wheel for alabaster: started Running setup.py bdist_wheel for alabaster: finished with status 'done' Stored in directory: /Users/MY_USER/Library/Caches/pip/wheels/00/9c/c1/c45ab467516ccd2106b73420309863c597848b3ad208e467d9 Running setup.py bdist_wheel for anyjson: started Running setup.py bdist_wheel for anyjson: finished with status 'done' Stored in directory: /Users/MY_USER/Library/Caches/pip/wheels/06/3d/74/f64c3ce3266df2598031818ecc86bc25c8ccede0723973f119 Running setup.py bdist_wheel for Babel: started Running setup.py bdist_wheel for Babel: finished with status 'done' Stored in directory: /Users/MY_USER/Library/Caches/pip/wheels/22/e8/f9/05086926b0a5f6edb5b427578767f458ecb8caea113d3a133e Running setup.py bdist_wheel for backports.lzma: started Running setup.py bdist_wheel for backports.lzma: finished with status 'done' Stored in directory: /Users/MY_USER/Library/Caches/pip/wheels/46/87/44/ddd3e7ac4b0424b63292e0d6f412dc7a433b1264c81697f960 Running setup.py bdist_wheel for backports.ssl-match-hostname: started Running setup.py bdist_wheel for backports.ssl-match-hostname: finished with status 'done' Stored in directory: /Users/MY_USER/Library/Caches/pip/wheels/5d/72/36/b2a31507b613967b728edc33378a5ff2ada0f62855b93c5ae1 Running setup.py bdist_wheel for beautifulsoup4: started Running setup.py bdist_wheel for beautifulsoup4: finished with status 'done' Stored in directory: /Users/MY_USER/Library/Caches/pip/wheels/bb/b9/92/616a7f552399966b33ff335c251e7debde9921bee0789c8416 Running setup.py bdist_wheel for coverage: started Running setup.py bdist_wheel for coverage: finished with status 'done' Stored in directory: /Users/MY_USER/Library/Caches/pip/wheels/09/d5/14/fad8864342631171117f01b9b2473a07c053e5c1054d40e48c Running setup.py bdist_wheel for Django: started Running setup.py bdist_wheel for Django: finished with status 'done' Stored in directory: /Users/MY_USER/Library/Caches/pip/wheels/14/de/57/11b2251c612eb332d84cfbf4c5a7487b69484e507c7e68ab46 Running setup.py bdist_wheel for django-haystack: started Running setup.py bdist_wheel for django-haystack: finished with status 'done' Stored in directory: /Users/MY_USER/Library/Caches/pip/wheels/4d/34/fc/7321beacede7452b08c873c89c3e6bec94fc953022252ebb98 Running setup.py bdist_wheel for django-multiselectfield: started Running setup.py bdist_wheel for django-multiselectfield: finished with status 'done' Stored in directory: /Users/MY_USER/Library/Caches/pip/wheels/50/2d/6b/33f4a63416cb14a8c89d5658fedbb165bb6134782805b43fe9 Running setup.py bdist_wheel for docutils: started Running setup.py bdist_wheel for docutils: finished with status 'done' Stored in directory: /Users/MY_USER/Library/Caches/pip/wheels/db/de/bd/b99b1e12d321fbc950766c58894c6576b1a73ae3131b29a151 Running setup.py bdist_wheel for enum34: started Running setup.py bdist_wheel for enum34: finished with status 'done' Stored in directory: /Users/MY_USER/Library/Caches/pip/wheels/8e/0d/94/15a2bf35eea1ac3cc406068e5b58c7d8358c9f0513a6ce2da7 Running setup.py bdist_wheel for feedparser: started Running setup.py bdist_wheel for feedparser: finished with status 'done' Stored in directory: /Users/MY_USER/Library/Caches/pip/wheels/91/e3/7f/14189e087d24584268d349362616f39fd695cb292529436678 Running setup.py bdist_wheel for jsmin: started Running setup.py bdist_wheel for jsmin: finished with status 'done' Stored in directory: /Users/MY_USER/Library/Caches/pip/wheels/a7/bc/36/4c634d7542bca8d374970b6416761e450ff081b804601c6ade Running setup.py bdist_wheel for kafka-python: started Running setup.py bdist_wheel for kafka-python: finished with status 'done' Stored in directory: /Users/MY_USER/Library/Caches/pip/wheels/1f/13/49/c9e3e163f95d492cd2835a975b0733b98a943dbad800621d13 Running setup.py bdist_wheel for lxml: started Running setup.py bdist_wheel for lxml: finished with status 'done' Stored in directory: /Users/MY_USER/Library/Caches/pip/wheels/0d/c2/47/d5dea470fea1aa929a082376832dbb79fbfb1c310e18c077b4 Running setup.py bdist_wheel for Markdown: started Running setup.py bdist_wheel for Markdown: finished with status 'done' Stored in directory: /Users/MY_USER/Library/Caches/pip/wheels/d7/8b/66/77ed34c0ba15f55b5a8fdb69b27198d08d23d9d53b4d46876c Running setup.py bdist_wheel for mechanize: started Running setup.py bdist_wheel for mechanize: finished with status 'done' Stored in directory: /Users/MY_USER/Library/Caches/pip/wheels/97/5d/82/310be82fc3500e6420e50fe93610a620d5d6b66cdcfd548711 Running setup.py bdist_wheel for mimeparse: started Running setup.py bdist_wheel for mimeparse: finished with status 'done' Stored in directory: /Users/MY_USER/Library/Caches/pip/wheels/cb/83/03/ec75acce6afbbecd7aaf161c59554eb64c04fc3bfdeb117a44 Running setup.py bdist_wheel for mock: started Running setup.py bdist_wheel for mock: finished with status 'done' Stored in directory: /Users/MY_USER/Library/Caches/pip/wheels/b2/f8/fe/920b7d3b279878045354cde14646f73864cf944501f19e4a1b Running setup.py bdist_wheel for mozlog: started Running setup.py bdist_wheel for mozlog: finished with status 'done' Stored in directory: /Users/MY_USER/Library/Caches/pip/wheels/4f/d1/ab/813f09cd1a2054903275e69b1f9642cbe0313d2c5dce0b5d0a Running setup.py bdist_wheel for ndg-httpsclient: started Running setup.py bdist_wheel for ndg-httpsclient: finished with status 'done' Stored in directory: /Users/MY_USER/Library/Caches/pip/wheels/c9/88/f1/348d5ec506bef5a2a8351243028289a7bb9513b8dd8bbf1c14 Running setup.py bdist_wheel for pillowfight: started Running setup.py bdist_wheel for pillowfight: finished with status 'done' Stored in directory: /Users/MY_USER/Library/Caches/pip/wheels/6a/4f/00/674ca59c563a4d7209f55bebdf306e376e1dcc67f9f29950ee Running setup.py bdist_wheel for pycparser: started Running setup.py bdist_wheel for pycparser: finished with status 'done' Stored in directory: /Users/MY_USER/Library/Caches/pip/wheels/9b/f4/2e/d03e949a551719a1ffcb659f2c63d8444f4df12e994ce52112 Running setup.py bdist_wheel for python-dateutil: started Running setup.py bdist_wheel for python-dateutil: finished with status 'done' Stored in directory: /Users/MY_USER/Library/Caches/pip/wheels/eb/27/86/3009de2c10dd7d245b5fa39ac48ded5f1f7179ff60ecbbf246 Running setup.py bdist_wheel for python-hglib: started Running setup.py bdist_wheel for python-hglib: finished with status 'done' Stored in directory: /Users/MY_USER/Library/Caches/pip/wheels/a6/78/69/bc729e04828347acf18f997c276ef18ca362bb9770d7ca7176 Running setup.py bdist_wheel for python-ldap: started Running setup.py bdist_wheel for python-ldap: finished with status 'error' Complete output from command /Users/MY_USER/Projects/version-control-tools/venv/bin/python2.7 -u -c "import setuptools, tokenize;__file__='/private/var/folders/3h/vgsq80292gl7bxshrtn71mlw0000gn/T/pip-build-pi0yK1/python-ldap/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" bdist_wheel -d /var/folders/3h/vgsq80292gl7bxshrtn71mlw0000gn/T/tmpuN73vSpip-wheel- --python-tag cp27: defines: HAVE_SASL HAVE_TLS HAVE_LIBLDAP_R extra_compile_args: extra_objects: include_dirs: /opt/openldap-RE24/include /usr/include/sasl /usr/include library_dirs: /opt/openldap-RE24/lib /usr/lib libs: ldap_r running bdist_wheel running build running build_py file Lib/ldap.py (for module ldap) not found file Lib/ldap/controls.py (for module ldap.controls) not found file Lib/ldap/extop.py (for module ldap.extop) not found file Lib/ldap/schema.py (for module ldap.schema) not found creating build/lib.macosx-10.11-x86_64-2.7 copying Lib/ldapurl.py -> build/lib.macosx-10.11-x86_64-2.7 copying Lib/ldif.py -> build/lib.macosx-10.11-x86_64-2.7 copying Lib/dsml.py -> build/lib.macosx-10.11-x86_64-2.7 creating build/lib.macosx-10.11-x86_64-2.7/ldap copying Lib/ldap/__init__.py -> build/lib.macosx-10.11-x86_64-2.7/ldap copying Lib/ldap/async.py -> build/lib.macosx-10.11-x86_64-2.7/ldap creating build/lib.macosx-10.11-x86_64-2.7/ldap/controls copying Lib/ldap/controls/__init__.py -> build/lib.macosx-10.11-x86_64-2.7/ldap/controls copying Lib/ldap/controls/libldap.py -> build/lib.macosx-10.11-x86_64-2.7/ldap/controls copying Lib/ldap/controls/openldap.py -> build/lib.macosx-10.11-x86_64-2.7/ldap/controls copying Lib/ldap/controls/ppolicy.py -> build/lib.macosx-10.11-x86_64-2.7/ldap/controls copying Lib/ldap/controls/psearch.py -> build/lib.macosx-10.11-x86_64-2.7/ldap/controls copying Lib/ldap/controls/pwdpolicy.py -> build/lib.macosx-10.11-x86_64-2.7/ldap/controls copying Lib/ldap/controls/readentry.py -> build/lib.macosx-10.11-x86_64-2.7/ldap/controls copying Lib/ldap/controls/sessiontrack.py -> build/lib.macosx-10.11-x86_64-2.7/ldap/controls copying Lib/ldap/controls/simple.py -> build/lib.macosx-10.11-x86_64-2.7/ldap/controls copying Lib/ldap/cidict.py -> build/lib.macosx-10.11-x86_64-2.7/ldap copying Lib/ldap/dn.py -> build/lib.macosx-10.11-x86_64-2.7/ldap creating build/lib.macosx-10.11-x86_64-2.7/ldap/extop copying Lib/ldap/extop/__init__.py -> build/lib.macosx-10.11-x86_64-2.7/ldap/extop copying Lib/ldap/extop/dds.py -> build/lib.macosx-10.11-x86_64-2.7/ldap/extop copying Lib/ldap/filter.py -> build/lib.macosx-10.11-x86_64-2.7/ldap copying Lib/ldap/functions.py -> build/lib.macosx-10.11-x86_64-2.7/ldap copying Lib/ldap/ldapobject.py -> build/lib.macosx-10.11-x86_64-2.7/ldap copying Lib/ldap/logger.py -> build/lib.macosx-10.11-x86_64-2.7/ldap copying Lib/ldap/modlist.py -> build/lib.macosx-10.11-x86_64-2.7/ldap copying Lib/ldap/resiter.py -> build/lib.macosx-10.11-x86_64-2.7/ldap copying Lib/ldap/sasl.py -> build/lib.macosx-10.11-x86_64-2.7/ldap creating build/lib.macosx-10.11-x86_64-2.7/ldap/schema copying Lib/ldap/schema/__init__.py -> build/lib.macosx-10.11-x86_64-2.7/ldap/schema copying Lib/ldap/schema/models.py -> build/lib.macosx-10.11-x86_64-2.7/ldap/schema copying Lib/ldap/schema/subentry.py -> build/lib.macosx-10.11-x86_64-2.7/ldap/schema copying Lib/ldap/schema/tokenizer.py -> build/lib.macosx-10.11-x86_64-2.7/ldap/schema copying Lib/ldap/syncrepl.py -> build/lib.macosx-10.11-x86_64-2.7/ldap file Lib/ldap.py (for module ldap) not found file Lib/ldap/controls.py (for module ldap.controls) not found file Lib/ldap/extop.py (for module ldap.extop) not found file Lib/ldap/schema.py (for module ldap.schema) not found running egg_info writing requirements to Lib/python_ldap.egg-info/requires.txt writing Lib/python_ldap.egg-info/PKG-INFO writing top-level names to Lib/python_ldap.egg-info/top_level.txt writing dependency_links to Lib/python_ldap.egg-info/dependency_links.txt warning: manifest_maker: standard file '-c' not found file Lib/ldap.py (for module ldap) not found file Lib/ldap/controls.py (for module ldap.controls) not found file Lib/ldap/extop.py (for module ldap.extop) not found file Lib/ldap/schema.py (for module ldap.schema) not found reading manifest file 'Lib/python_ldap.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching 'Makefile' warning: no files found matching 'Modules/LICENSE' writing manifest file 'Lib/python_ldap.egg-info/SOURCES.txt' running build_ext building '_ldap' extension creating build/temp.macosx-10.11-x86_64-2.7 creating build/temp.macosx-10.11-x86_64-2.7/Modules clang -fno-strict-aliasing -fno-common -dynamic -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DHAVE_SASL -DHAVE_TLS -DHAVE_LIBLDAP_R -DHAVE_LIBLDAP_R -DLDAPMODULE_VERSION=2.4.19 -IModules -I/opt/openldap-RE24/include -I/usr/include/sasl -I/usr/include -I/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c Modules/LDAPObject.c -o build/temp.macosx-10.11-x86_64-2.7/Modules/LDAPObject.o Modules/LDAPObject.c:18:10: fatal error: 'sasl.h' file not found #include <sasl.h> ^ 1 error generated. error: command 'clang' failed with exit status 1 ---------------------------------------- Running setup.py clean for python-ldap Running setup.py bdist_wheel for recaptcha-client: started Running setup.py bdist_wheel for recaptcha-client: finished with status 'done' Stored in directory: /Users/MY_USER/Library/Caches/pip/wheels/84/ba/dc/1d9c7b8751198d3cc2cd2660b327a25779c1f4c883ea05511f Running setup.py bdist_wheel for responses: started Running setup.py bdist_wheel for responses: finished with status 'done' Stored in directory: /Users/MY_USER/Library/Caches/pip/wheels/33/e4/88/eae200ac0694d8fcfbc7010b758071041138e75f56eb4462d8 Running setup.py bdist_wheel for snowballstemmer: started Running setup.py bdist_wheel for snowballstemmer: finished with status 'done' Stored in directory: /Users/MY_USER/Library/Caches/pip/wheels/79/15/36/d69e771655d66b161272d134844652ea8f1c0de4eb7a80e19b Running setup.py bdist_wheel for websocket-client: started Running setup.py bdist_wheel for websocket-client: finished with status 'done' Stored in directory: /Users/MY_USER/Library/Caches/pip/wheels/e4/20/12/48d6732b88733a0a8f98ee1a5b2f59b64b27011d5c34c4f98c Running setup.py bdist_wheel for Whoosh: started Running setup.py bdist_wheel for Whoosh: finished with status 'done' Stored in directory: /Users/MY_USER/Library/Caches/pip/wheels/44/b8/9a/fd53cb3ba460f246d0bc1f82da890a897205adf7d09e6e3938 Successfully built ansible blessings Jinja2 mach MarkupSafe Mercurial mozfile mozinfo mozprocess PyYAML pycrypto alabaster anyjson Babel backports.lzma backports.ssl-match-hostname beautifulsoup4 coverage Django django-haystack django-multiselectfield docutils enum34 feedparser jsmin kafka-python lxml Markdown mechanize mimeparse mock mozlog ndg-httpsclient pillowfight pycparser python-dateutil python-hglib recaptcha-client responses snowballstemmer websocket-client Whoosh Failed to build python-ldap Installing collected packages: ecdsa, pycrypto, paramiko, MarkupSafe, Jinja2, PyYAML, setuptools, ansible, blessings, mozfile, mozinfo, mozprocess, mach, Mercurial, alabaster, amqp, anyjson, pytz, Babel, backports.lzma, backports.ssl-match-hostname, beautifulsoup4, boto, pycparser, cffi, coverage, enum34, ipaddress, pyasn1, six, idna, cryptography, Django, django-evolution, django-haystack, django-multiselectfield, futures, django-pipeline, django-storages, requests, websocket-client, docker-py, docutils, pyflakes, pep8, mccabe, flake8, feedparser, jsmin, kafka-python, kombu, lockfile, lxml, Markdown, mechanize, mimeparse, mock, mozbuild, mozlog, pyOpenSSL, ndg-httpsclient, nose, Pillow, pillowfight, Pygments, python-dateutil, python-hglib, python-ldap, python-memcached, RBTools, recaptcha-client, responses, selenium, snowballstemmer, sphinx-rtd-theme, Sphinx, Whoosh Found existing installation: setuptools 20.1.1 Uninstalling setuptools-20.1.1: Successfully uninstalled setuptools-20.1.1 Found existing installation: requests 2.9.1 Uninstalling requests-2.9.1: Successfully uninstalled requests-2.9.1 Running setup.py install for python-ldap: started Running setup.py install for python-ldap: finished with status 'error' Complete output from command /Users/MY_USER/Projects/version-control-tools/venv/bin/python2.7 -u -c "import setuptools, tokenize;__file__='/private/var/folders/3h/vgsq80292gl7bxshrtn71mlw0000gn/T/pip-build-pi0yK1/python-ldap/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /var/folders/3h/vgsq80292gl7bxshrtn71mlw0000gn/T/pip-UtCef8-record/install-record.txt --single-version-externally-managed --compile --install-headers /Users/MY_USER/Projects/version-control-tools/venv/bin/../include/site/python2.7/python-ldap: defines: HAVE_SASL HAVE_TLS HAVE_LIBLDAP_R extra_compile_args: extra_objects: include_dirs: /opt/openldap-RE24/include /usr/include/sasl /usr/include library_dirs: /opt/openldap-RE24/lib /usr/lib libs: ldap_r running install running build running build_py file Lib/ldap.py (for module ldap) not found file Lib/ldap/controls.py (for module ldap.controls) not found file Lib/ldap/extop.py (for module ldap.extop) not found file Lib/ldap/schema.py (for module ldap.schema) not found creating build/lib.macosx-10.11-x86_64-2.7 copying Lib/ldapurl.py -> build/lib.macosx-10.11-x86_64-2.7 copying Lib/ldif.py -> build/lib.macosx-10.11-x86_64-2.7 copying Lib/dsml.py -> build/lib.macosx-10.11-x86_64-2.7 creating build/lib.macosx-10.11-x86_64-2.7/ldap copying Lib/ldap/__init__.py -> build/lib.macosx-10.11-x86_64-2.7/ldap copying Lib/ldap/async.py -> build/lib.macosx-10.11-x86_64-2.7/ldap creating build/lib.macosx-10.11-x86_64-2.7/ldap/controls copying Lib/ldap/controls/__init__.py -> build/lib.macosx-10.11-x86_64-2.7/ldap/controls copying Lib/ldap/controls/libldap.py -> build/lib.macosx-10.11-x86_64-2.7/ldap/controls copying Lib/ldap/controls/openldap.py -> build/lib.macosx-10.11-x86_64-2.7/ldap/controls copying Lib/ldap/controls/ppolicy.py -> build/lib.macosx-10.11-x86_64-2.7/ldap/controls copying Lib/ldap/controls/psearch.py -> build/lib.macosx-10.11-x86_64-2.7/ldap/controls copying Lib/ldap/controls/pwdpolicy.py -> build/lib.macosx-10.11-x86_64-2.7/ldap/controls copying Lib/ldap/controls/readentry.py -> build/lib.macosx-10.11-x86_64-2.7/ldap/controls copying Lib/ldap/controls/sessiontrack.py -> build/lib.macosx-10.11-x86_64-2.7/ldap/controls copying Lib/ldap/controls/simple.py -> build/lib.macosx-10.11-x86_64-2.7/ldap/controls copying Lib/ldap/cidict.py -> build/lib.macosx-10.11-x86_64-2.7/ldap copying Lib/ldap/dn.py -> build/lib.macosx-10.11-x86_64-2.7/ldap creating build/lib.macosx-10.11-x86_64-2.7/ldap/extop copying Lib/ldap/extop/__init__.py -> build/lib.macosx-10.11-x86_64-2.7/ldap/extop copying Lib/ldap/extop/dds.py -> build/lib.macosx-10.11-x86_64-2.7/ldap/extop copying Lib/ldap/filter.py -> build/lib.macosx-10.11-x86_64-2.7/ldap copying Lib/ldap/functions.py -> build/lib.macosx-10.11-x86_64-2.7/ldap copying Lib/ldap/ldapobject.py -> build/lib.macosx-10.11-x86_64-2.7/ldap copying Lib/ldap/logger.py -> build/lib.macosx-10.11-x86_64-2.7/ldap copying Lib/ldap/modlist.py -> build/lib.macosx-10.11-x86_64-2.7/ldap copying Lib/ldap/resiter.py -> build/lib.macosx-10.11-x86_64-2.7/ldap copying Lib/ldap/sasl.py -> build/lib.macosx-10.11-x86_64-2.7/ldap creating build/lib.macosx-10.11-x86_64-2.7/ldap/schema copying Lib/ldap/schema/__init__.py -> build/lib.macosx-10.11-x86_64-2.7/ldap/schema copying Lib/ldap/schema/models.py -> build/lib.macosx-10.11-x86_64-2.7/ldap/schema copying Lib/ldap/schema/subentry.py -> build/lib.macosx-10.11-x86_64-2.7/ldap/schema copying Lib/ldap/schema/tokenizer.py -> build/lib.macosx-10.11-x86_64-2.7/ldap/schema copying Lib/ldap/syncrepl.py -> build/lib.macosx-10.11-x86_64-2.7/ldap file Lib/ldap.py (for module ldap) not found file Lib/ldap/controls.py (for module ldap.controls) not found file Lib/ldap/extop.py (for module ldap.extop) not found file Lib/ldap/schema.py (for module ldap.schema) not found running egg_info writing requirements to Lib/python_ldap.egg-info/requires.txt writing Lib/python_ldap.egg-info/PKG-INFO writing top-level names to Lib/python_ldap.egg-info/top_level.txt writing dependency_links to Lib/python_ldap.egg-info/dependency_links.txt warning: manifest_maker: standard file '-c' not found file Lib/ldap.py (for module ldap) not found file Lib/ldap/controls.py (for module ldap.controls) not found file Lib/ldap/extop.py (for module ldap.extop) not found file Lib/ldap/schema.py (for module ldap.schema) not found reading manifest file 'Lib/python_ldap.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching 'Makefile' warning: no files found matching 'Modules/LICENSE' writing manifest file 'Lib/python_ldap.egg-info/SOURCES.txt' running build_ext building '_ldap' extension creating build/temp.macosx-10.11-x86_64-2.7 creating build/temp.macosx-10.11-x86_64-2.7/Modules clang -fno-strict-aliasing -fno-common -dynamic -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DHAVE_SASL -DHAVE_TLS -DHAVE_LIBLDAP_R -DHAVE_LIBLDAP_R -DLDAPMODULE_VERSION=2.4.19 -IModules -I/opt/openldap-RE24/include -I/usr/include/sasl -I/usr/include -I/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c Modules/LDAPObject.c -o build/temp.macosx-10.11-x86_64-2.7/Modules/LDAPObject.o Modules/LDAPObject.c:18:10: fatal error: 'sasl.h' file not found #include <sasl.h> ^ 1 error generated. error: command 'clang' failed with exit status 1 ---------------------------------------- it looks like /usr/include/sasl/sasl.h is missing on your system. make sure you've got the latest version of xcode (i have v8.1). check that "xcrun --show-sdk-version" outputs 10.12 after the 10.12 update i saw some weird MAS issues and i had to use the command line tools to install the updates. "softwareupdate --list" should report "no new software available" if it lists anything, use "softwareupdate --install". Summary: error: command 'clang' failed with exit status 1 → error: command 'clang' failed with exit status 1: 'sasl.h' file not found OK, so here's what I've got here: - No "/usr/local/include/ssl.h" - I don't have a "/usr/local" - "softwareupdate --list" .... No new software available - "xcrun --show-sdk-version" ... 10.11 /* not sure why I don't have 10.12, like you */ - "softwareupdate --install" does nothing $ sudo find . -iname sasl ./Applications/mampstack-5.5.28-0/common/include/sasl ./Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include/sasl ./Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift-migrator/sdk/MacOSX.sdk/usr/include/sasl find: ./dev/fd/3: Not a directory find: ./dev/fd/4: Not a directory ./System/Library/Perl/Extras/5.16/Authen/SASL ./System/Library/Perl/Extras/5.18/Authen/SASL ./System/Library/Tcl/tcllib1.12/sasl Sorry, I have no *"/usr/local/include/sasl.h"* Doesn't look like anything was checked in for the fix here, so changing resolution. Assignee: nobody → dwalsh Resolution: FIXED → WORKSFORME |