Skip to content

Instantly share code, notes, and snippets.

@xennygrimmato
Created July 26, 2018 16:34
Show Gist options
  • Save xennygrimmato/40a86377475a039e635762d33eab3405 to your computer and use it in GitHub Desktop.
Save xennygrimmato/40a86377475a039e635762d33eab3405 to your computer and use it in GitHub Desktop.
pip3 install sourced-ml
...
copying bblfsh/github/com/gogo/protobuf/gogoproto/__init__.py -> build/lib.macosx-10.12-x86_64-3.6/bblfsh/github/com/gogo/protobuf/gogoproto
warning: build_py: byte-compiling is disabled, skipping.
running build_ext
building 'bblfsh.pyuast' extension
creating build/temp.macosx-10.12-x86_64-3.6
creating build/temp.macosx-10.12-x86_64-3.6/bblfsh
creating build/temp.macosx-10.12-x86_64-3.6/bblfsh/libuast
gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -Ibblfsh/libuast -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/include -I/usr/include/libxml2 -I/usr/local/Cellar/python/3.6.5_1/Frameworks/Python.framework/Versions/3.6/include/python3.6m -c bblfsh/pyuast.cc -o build/temp.macosx-10.12-x86_64-3.6/bblfsh/pyuast.o -std=c++11
gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -Ibblfsh/libuast -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/include -I/usr/include/libxml2 -I/usr/local/Cellar/python/3.6.5_1/Frameworks/Python.framework/Versions/3.6/include/python3.6m -c bblfsh/memtracker.cc -o build/temp.macosx-10.12-x86_64-3.6/bblfsh/memtracker.o -std=c++11
gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -Ibblfsh/libuast -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/include -I/usr/include/libxml2 -I/usr/local/Cellar/python/3.6.5_1/Frameworks/Python.framework/Versions/3.6/include/python3.6m -c bblfsh/libuast/uast.cc -o build/temp.macosx-10.12-x86_64-3.6/bblfsh/libuast/uast.o -std=c++11
gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -Ibblfsh/libuast -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/include -I/usr/include/libxml2 -I/usr/local/Cellar/python/3.6.5_1/Frameworks/Python.framework/Versions/3.6/include/python3.6m -c bblfsh/libuast/roles.c -o build/temp.macosx-10.12-x86_64-3.6/bblfsh/libuast/roles.o -std=c++11
error: invalid argument '-std=c++11' not allowed with 'C'
error: command 'gcc' failed with exit status 1
----------------------------------------
Failed building wheel for bblfsh
Running setup.py clean for bblfsh
Running setup.py bdist_wheel for thriftpy ... done
Stored in directory: /Users/vaibhavtulsyan/Library/Caches/pip/wheels/64/ff/0b/00a7ab5df78f8360908e34744eb78c2c537a327a295da5c260
Running setup.py bdist_wheel for asdf ... done
Stored in directory: /Users/vaibhavtulsyan/Library/Caches/pip/wheels/18/90/95/e4c10ebcadce0c2fda82263efdd875c00ba94c80d4143bbe81
Running setup.py bdist_wheel for lz4 ... done
Stored in directory: /Users/vaibhavtulsyan/Library/Caches/pip/wheels/e8/ef/4c/189dfc28de24d112e7178672fd7343070bc6b731cbd72a841d
Running setup.py bdist_wheel for clint ... done
Stored in directory: /Users/vaibhavtulsyan/Library/Caches/pip/wheels/4f/e9/45/223565e5b1a4b09e12c6de6f8ba7c2c0e9127dec17cf830f83
Running setup.py bdist_wheel for dulwich ... done
Stored in directory: /Users/vaibhavtulsyan/Library/Caches/pip/wheels/9a/e4/ad/a15b5e9424b75fcc9211000155e5aa0ce908417533c9c803b2
Running setup.py bdist_wheel for pyyaml ... done
Stored in directory: /Users/vaibhavtulsyan/Library/Caches/pip/wheels/ad/da/0c/74eb680767247273e2cf2723482cb9c924fe70af57c334513f
Running setup.py bdist_wheel for pyspark ... done
Stored in directory: /Users/vaibhavtulsyan/Library/Caches/pip/wheels/18/b3/89/7576d7fdc6434d76de21b06d6fbcc0bf136d681be2ff64e6af
Running setup.py bdist_wheel for args ... done
Stored in directory: /Users/vaibhavtulsyan/Library/Caches/pip/wheels/58/54/ea/d995d18af68c057eb76b87b02c92bc66ac34d360ef141780f4
Running setup.py bdist_wheel for MarkupSafe ... done
Stored in directory: /Users/vaibhavtulsyan/Library/Caches/pip/wheels/33/56/20/ebe49a5c612fffe1c5a632146b16596f9e64676768661e4e46
Running setup.py bdist_wheel for googleapis-common-protos ... done
Stored in directory: /Users/vaibhavtulsyan/Library/Caches/pip/wheels/62/45/af/649bbf07b6595fda010be1bda667cd56d0444d07afc6f8b687
Successfully built humanize modelforge PyStemmer sourced-engine thriftpy asdf lz4 clint dulwich pyyaml pyspark args MarkupSafe googleapis-common-protos
Failed to build bblfsh
Installing collected packages: ply, thriftpy, python-snappy, parquet, humanize, semantic-version, pyyaml, jsonschema, asdf, lz4, scipy, args, clint, cachetools, pyasn1, pyasn1-modules, rsa, google-auth, googleapis-common-protos, pytz, urllib3, certifi, idna, chardet, requests, google-api-core, google-cloud-core, google-resumable-media, google-cloud-storage, dulwich, MarkupSafe, jinja2, python-dateutil, modelforge, pygments, keras-preprocessing, h5py, keras-applications, keras, typing, PyStemmer, py4j, pyspark, sourced-engine, grpcio, grpcio-tools, docker-pycreds, websocket-client, docker, bblfsh, sourced-ml
Found existing installation: grpcio 1.12.1
Uninstalling grpcio-1.12.1:
Successfully uninstalled grpcio-1.12.1
Running setup.py install for bblfsh ... error
Complete output from command /Users/vaibhavtulsyan/.local/share/virtualenvs/code2vec-eYK10mL1/bin/python3.6 -u -c "import setuptools, tokenize;__file__='/private/var/folders/fm/8vwn5gwd2dbd7cpbl93_nm9c0000gn/T/pip-install-vuavah5l/bblfsh/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /private/var/folders/fm/8vwn5gwd2dbd7cpbl93_nm9c0000gn/T/pip-record-zrynhyvt/install-record.txt --single-version-externally-managed --compile --install-headers /Users/vaibhavtulsyan/.local/share/virtualenvs/code2vec-eYK10mL1/bin/../include/site/python3.6/bblfsh:
running install
running build
running build_py
creating build
creating build/lib.macosx-10.12-x86_64-3.6
creating build/lib.macosx-10.12-x86_64-3.6/bblfsh
copying bblfsh/sdkversion.py -> build/lib.macosx-10.12-x86_64-3.6/bblfsh
copying bblfsh/client.py -> build/lib.macosx-10.12-x86_64-3.6/bblfsh
copying bblfsh/__init__.py -> build/lib.macosx-10.12-x86_64-3.6/bblfsh
copying bblfsh/test.py -> build/lib.macosx-10.12-x86_64-3.6/bblfsh
copying bblfsh/aliases.py -> build/lib.macosx-10.12-x86_64-3.6/bblfsh
copying bblfsh/launcher.py -> build/lib.macosx-10.12-x86_64-3.6/bblfsh
copying bblfsh/__main__.py -> build/lib.macosx-10.12-x86_64-3.6/bblfsh
creating build/lib.macosx-10.12-x86_64-3.6/bblfsh/gopkg
copying bblfsh/gopkg/__init__.py -> build/lib.macosx-10.12-x86_64-3.6/bblfsh/gopkg
creating build/lib.macosx-10.12-x86_64-3.6/bblfsh/github
copying bblfsh/github/__init__.py -> build/lib.macosx-10.12-x86_64-3.6/bblfsh/github
creating build/lib.macosx-10.12-x86_64-3.6/bblfsh/gopkg/in
copying bblfsh/gopkg/in/__init__.py -> build/lib.macosx-10.12-x86_64-3.6/bblfsh/gopkg/in
creating build/lib.macosx-10.12-x86_64-3.6/bblfsh/gopkg/in/bblfsh
copying bblfsh/gopkg/in/bblfsh/__init__.py -> build/lib.macosx-10.12-x86_64-3.6/bblfsh/gopkg/in/bblfsh
creating build/lib.macosx-10.12-x86_64-3.6/bblfsh/gopkg/in/bblfsh/sdk
copying bblfsh/gopkg/in/bblfsh/sdk/__init__.py -> build/lib.macosx-10.12-x86_64-3.6/bblfsh/gopkg/in/bblfsh/sdk
creating build/lib.macosx-10.12-x86_64-3.6/bblfsh/gopkg/in/bblfsh/sdk/v1
copying bblfsh/gopkg/in/bblfsh/sdk/v1/__init__.py -> build/lib.macosx-10.12-x86_64-3.6/bblfsh/gopkg/in/bblfsh/sdk/v1
creating build/lib.macosx-10.12-x86_64-3.6/bblfsh/gopkg/in/bblfsh/sdk/v1/uast
copying bblfsh/gopkg/in/bblfsh/sdk/v1/uast/__init__.py -> build/lib.macosx-10.12-x86_64-3.6/bblfsh/gopkg/in/bblfsh/sdk/v1/uast
copying bblfsh/gopkg/in/bblfsh/sdk/v1/uast/generated_pb2.py -> build/lib.macosx-10.12-x86_64-3.6/bblfsh/gopkg/in/bblfsh/sdk/v1/uast
creating build/lib.macosx-10.12-x86_64-3.6/bblfsh/gopkg/in/bblfsh/sdk/v1/protocol
copying bblfsh/gopkg/in/bblfsh/sdk/v1/protocol/__init__.py -> build/lib.macosx-10.12-x86_64-3.6/bblfsh/gopkg/in/bblfsh/sdk/v1/protocol
copying bblfsh/gopkg/in/bblfsh/sdk/v1/protocol/generated_pb2.py -> build/lib.macosx-10.12-x86_64-3.6/bblfsh/gopkg/in/bblfsh/sdk/v1/protocol
copying bblfsh/gopkg/in/bblfsh/sdk/v1/protocol/generated_pb2_grpc.py -> build/lib.macosx-10.12-x86_64-3.6/bblfsh/gopkg/in/bblfsh/sdk/v1/protocol
creating build/lib.macosx-10.12-x86_64-3.6/bblfsh/github/com
copying bblfsh/github/com/__init__.py -> build/lib.macosx-10.12-x86_64-3.6/bblfsh/github/com
creating build/lib.macosx-10.12-x86_64-3.6/bblfsh/github/com/gogo
copying bblfsh/github/com/gogo/__init__.py -> build/lib.macosx-10.12-x86_64-3.6/bblfsh/github/com/gogo
creating build/lib.macosx-10.12-x86_64-3.6/bblfsh/github/com/gogo/protobuf
copying bblfsh/github/com/gogo/protobuf/__init__.py -> build/lib.macosx-10.12-x86_64-3.6/bblfsh/github/com/gogo/protobuf
creating build/lib.macosx-10.12-x86_64-3.6/bblfsh/github/com/gogo/protobuf/gogoproto
copying bblfsh/github/com/gogo/protobuf/gogoproto/gogo_pb2.py -> build/lib.macosx-10.12-x86_64-3.6/bblfsh/github/com/gogo/protobuf/gogoproto
copying bblfsh/github/com/gogo/protobuf/gogoproto/__init__.py -> build/lib.macosx-10.12-x86_64-3.6/bblfsh/github/com/gogo/protobuf/gogoproto
warning: build_py: byte-compiling is disabled, skipping.
running build_ext
building 'bblfsh.pyuast' extension
creating build/temp.macosx-10.12-x86_64-3.6
creating build/temp.macosx-10.12-x86_64-3.6/bblfsh
creating build/temp.macosx-10.12-x86_64-3.6/bblfsh/libuast
gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -Ibblfsh/libuast -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/include -I/usr/include/libxml2 -I/usr/local/Cellar/python/3.6.5_1/Frameworks/Python.framework/Versions/3.6/include/python3.6m -c bblfsh/pyuast.cc -o build/temp.macosx-10.12-x86_64-3.6/bblfsh/pyuast.o -std=c++11
gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -Ibblfsh/libuast -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/include -I/usr/include/libxml2 -I/usr/local/Cellar/python/3.6.5_1/Frameworks/Python.framework/Versions/3.6/include/python3.6m -c bblfsh/memtracker.cc -o build/temp.macosx-10.12-x86_64-3.6/bblfsh/memtracker.o -std=c++11
gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -Ibblfsh/libuast -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/include -I/usr/include/libxml2 -I/usr/local/Cellar/python/3.6.5_1/Frameworks/Python.framework/Versions/3.6/include/python3.6m -c bblfsh/libuast/uast.cc -o build/temp.macosx-10.12-x86_64-3.6/bblfsh/libuast/uast.o -std=c++11
gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -Ibblfsh/libuast -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/include -I/usr/include/libxml2 -I/usr/local/Cellar/python/3.6.5_1/Frameworks/Python.framework/Versions/3.6/include/python3.6m -c bblfsh/libuast/roles.c -o build/temp.macosx-10.12-x86_64-3.6/bblfsh/libuast/roles.o -std=c++11
error: invalid argument '-std=c++11' not allowed with 'C'
error: command 'gcc' failed with exit status 1
----------------------------------------
Command "/Users/vaibhavtulsyan/.local/share/virtualenvs/code2vec-eYK10mL1/bin/python3.6 -u -c "import setuptools, tokenize;__file__='/private/var/folders/fm/8vwn5gwd2dbd7cpbl93_nm9c0000gn/T/pip-install-vuavah5l/bblfsh/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /private/var/folders/fm/8vwn5gwd2dbd7cpbl93_nm9c0000gn/T/pip-record-zrynhyvt/install-record.txt --single-version-externally-managed --compile --install-headers /Users/vaibhavtulsyan/.local/share/virtualenvs/code2vec-eYK10mL1/bin/../include/site/python3.6/bblfsh" failed with error code 1 in /private/var/folders/fm/8vwn5gwd2dbd7cpbl93_nm9c0000gn/T/pip-install-vuavah5l/bblfsh/
(code2vec-eYK10mL1) ➜ code2vec git:(dev)
----------------------------------------
Command "/Users/vaibhavtulsyan/.local/share/virtualenvs/code2vec-eYK10mL1/bin/python3.6 -u -c "import setuptools, tokenize;__file__='/private/var/folders/fm/8vwn5gwd2dbd7cpbl93_nm9c0000gn/T/pip-install-vuavah5l/bblfsh/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /private/var/folders/fm/8vwn5gwd2dbd7cpbl93_nm9c0000gn/T/pip-record-zrynhyvt/install-record.txt --single-version-externally-managed --compile --install-headers /Users/vaibhavtulsyan/.local/share/virtualenvs/code2vec-eYK10mL1/bin/../include/site/python3.6/bblfsh" failed with error code 1 in /private/var/folders/fm/8vwn5gwd2dbd7cpbl93_nm9c0000gn/T/pip-install-vuavah5l/bblfsh/
(code2vec-eYK10mL1) ➜ code2vec git:(dev)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment