Collecting re2
Building wheels for collected packages: re2
Building wheel for re2 (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /anaconda3/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/tf/c8snrbh134x39djjd_nt6mqw0000gn/T/pip-install-jkq3buzg/re2/setup.py'"'"'; __file__='"'"'/private/var/folders/tf/c8snrbh134x39djjd_nt6mqw0000gn/T/pip-install-jkq3buzg/re2/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /private/var/folders/tf/c8snrbh134x39djjd_nt6mqw0000gn/T/pip-wheel-r9qb5sgi --python-tag cp37
cwd: /private/var/folders/tf/c8snrbh134x39djjd_nt6mqw0000gn/T/pip-install-jkq3buzg/re2/
Complete output (332 lines):
running bdist_wheel
running build
running build_ext
building 're2' extension
creating build
creating build/temp.macosx-10.9-x86_64-3.7
creating build/temp.macosx-10.9-x86_64-3.7/src
gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/anaconda3/include -arch x86_64 -I/anaconda3/include -arch x86_64 -I/usr/local/include -I/anaconda3/include/python3.7m -c src/re2.cpp -o build/temp.macosx-10.9-x86_64-3.7/src/re2.o -std=c++11
src/re2.cpp:1190:14: warning: explicitly assigning value of variable of type 'PyObject *' (aka '_object *') to itself [-Wself-assign]
__pyx_self = __pyx_self;
~~~~~~~~~~ ^ ~~~~~~~~~~
src/re2.cpp:1252:5: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L5;
^~~~~~~~~~~~~
src/re2.cpp:1429:17: warning: 'PyUnicode_EncodeUTF8' is deprecated [-Wdeprecated-declarations]
__pyx_t_2 = PyUnicode_EncodeUTF8(PyUnicode_AS_UNICODE(__pyx_v_pystring), PyUnicode_GET_SIZE(__pyx_v_pystring), __pyx_k__strict); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 77; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
^
/anaconda3/include/python3.7m/unicodeobject.h:1324:7: note: 'PyUnicode_EncodeUTF8' has been explicitly marked deprecated here
) Py_DEPRECATED(3.3);
^
/anaconda3/include/python3.7m/pyport.h:493:54: note: expanded from macro 'Py_DEPRECATED'
#define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
^
src/re2.cpp:1502:13: warning: 'PyObject_AsCharBuffer' is deprecated [-Wdeprecated-declarations]
__pyx_r = PyObject_AsCharBuffer(__pyx_v_pystring, ((const char* *)__pyx_v_cstring), __pyx_v_length);
^
/anaconda3/include/python3.7m/abstract.h:474:39: note: 'PyObject_AsCharBuffer' has been explicitly marked deprecated here
Py_DEPRECATED(3.0);
^
/anaconda3/include/python3.7m/pyport.h:493:54: note: expanded from macro 'Py_DEPRECATED'
#define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
^
src/re2.cpp:1505:13: warning: code will never be executed [-Wunreachable-code]
__pyx_r = 0;
^
src/re2.cpp:1874:5: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L3;
^~~~~~~~~~~~~
src/re2.cpp:2217:5: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L6;
^~~~~~~~~~~~~
src/re2.cpp:2464:5: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L9;
^~~~~~~~~~~~~
src/re2.cpp:2422:5: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L8;
^~~~~~~~~~~~~
src/re2.cpp:2336:5: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L5;
^~~~~~~~~~~~~
src/re2.cpp:2951:9: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L11;
^~~~~~~~~~~~~~
src/re2.cpp:2722:7: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L6;
^~~~~~~~~~~~~
src/re2.cpp:2657:7: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L4;
^~~~~~~~~~~~~
src/re2.cpp:3442:9: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L7;
^~~~~~~~~~~~~
src/re2.cpp:3333:5: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L3;
^~~~~~~~~~~~~
src/re2.cpp:4070:5: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L5;
^~~~~~~~~~~~~
src/re2.cpp:4570:7: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L8;
^~~~~~~~~~~~~
src/re2.cpp:4520:5: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L6;
^~~~~~~~~~~~~
src/re2.cpp:4503:7: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L7;
^~~~~~~~~~~~~
src/re2.cpp:4653:5: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L5;
^~~~~~~~~~~~~
src/re2.cpp:4780:7: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L8;
^~~~~~~~~~~~~
src/re2.cpp:4733:5: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L5;
^~~~~~~~~~~~~
src/re2.cpp:5263:5: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L11;
^~~~~~~~~~~~~~
src/re2.cpp:5187:5: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L7;
^~~~~~~~~~~~~
src/re2.cpp:5134:5: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L5;
^~~~~~~~~~~~~
src/re2.cpp:5103:5: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L4;
^~~~~~~~~~~~~
src/re2.cpp:6093:7: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L16;
^~~~~~~~~~~~~~
src/re2.cpp:5897:7: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L12;
^~~~~~~~~~~~~~
src/re2.cpp:5762:5: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L3;
^~~~~~~~~~~~~
src/re2.cpp:7038:7: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L24;
^~~~~~~~~~~~~~
src/re2.cpp:6782:7: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L16;
^~~~~~~~~~~~~~
src/re2.cpp:6761:9: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L17;
^~~~~~~~~~~~~~
src/re2.cpp:6697:7: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L15;
^~~~~~~~~~~~~~
src/re2.cpp:6605:5: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L7;
^~~~~~~~~~~~~
src/re2.cpp:7616:9: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L11;
^~~~~~~~~~~~~~
src/re2.cpp:7506:5: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L7;
^~~~~~~~~~~~~
src/re2.cpp:7448:5: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L6;
^~~~~~~~~~~~~
src/re2.cpp:8590:7: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L21;
^~~~~~~~~~~~~~
src/re2.cpp:8537:9: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L20;
^~~~~~~~~~~~~~
src/re2.cpp:8369:9: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L18;
^~~~~~~~~~~~~~
src/re2.cpp:8253:5: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L7;
^~~~~~~~~~~~~
src/re2.cpp:8725:14: warning: explicitly assigning value of variable of type 'PyObject *' (aka '_object *') to itself [-Wself-assign]
__pyx_self = __pyx_self;
~~~~~~~~~~ ^ ~~~~~~~~~~
src/re2.cpp:8865:5: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L6;
^~~~~~~~~~~~~
src/re2.cpp:9003:14: warning: explicitly assigning value of variable of type 'PyObject *' (aka '_object *') to itself [-Wself-assign]
__pyx_self = __pyx_self;
~~~~~~~~~~ ^ ~~~~~~~~~~
src/re2.cpp:9112:14: warning: explicitly assigning value of variable of type 'PyObject *' (aka '_object *') to itself [-Wself-assign]
__pyx_self = __pyx_self;
~~~~~~~~~~ ^ ~~~~~~~~~~
src/re2.cpp:9158:5: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L5;
^~~~~~~~~~~~~
src/re2.cpp:9366:14: warning: explicitly assigning value of variable of type 'PyObject *' (aka '_object *') to itself [-Wself-assign]
__pyx_self = __pyx_self;
~~~~~~~~~~ ^ ~~~~~~~~~~
src/re2.cpp:9448:14: warning: explicitly assigning value of variable of type 'PyObject *' (aka '_object *') to itself [-Wself-assign]
__pyx_self = __pyx_self;
~~~~~~~~~~ ^ ~~~~~~~~~~
src/re2.cpp:10261:9: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L24;
^~~~~~~~~~~~~~
src/re2.cpp:10161:15: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L23;
^~~~~~~~~~~~~~
src/re2.cpp:10127:15: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L23;
^~~~~~~~~~~~~~
src/re2.cpp:9947:11: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L21;
^~~~~~~~~~~~~~
src/re2.cpp:9911:11: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L21;
^~~~~~~~~~~~~~
src/re2.cpp:9835:7: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L18;
^~~~~~~~~~~~~~
src/re2.cpp:9795:9: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L14;
^~~~~~~~~~~~~~
src/re2.cpp:9781:13: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L17;
^~~~~~~~~~~~~~
src/re2.cpp:9702:9: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L13;
^~~~~~~~~~~~~~
src/re2.cpp:9667:7: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L11;
^~~~~~~~~~~~~~
src/re2.cpp:10702:14: warning: explicitly assigning value of variable of type 'PyObject *' (aka '_object *') to itself [-Wself-assign]
__pyx_self = __pyx_self;
~~~~~~~~~~ ^ ~~~~~~~~~~
src/re2.cpp:11569:5: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L27;
^~~~~~~~~~~~~~
src/re2.cpp:11494:7: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L28;
^~~~~~~~~~~~~~
src/re2.cpp:11438:7: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L28;
^~~~~~~~~~~~~~
src/re2.cpp:11307:5: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L23;
^~~~~~~~~~~~~~
src/re2.cpp:11114:9: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L21;
^~~~~~~~~~~~~~
src/re2.cpp:10966:9: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L18;
^~~~~~~~~~~~~~
src/re2.cpp:10837:5: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L6;
^~~~~~~~~~~~~
src/re2.cpp:10822:7: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L7;
^~~~~~~~~~~~~
src/re2.cpp:11696:14: warning: explicitly assigning value of variable of type 'PyObject *' (aka '_object *') to itself [-Wself-assign]
__pyx_self = __pyx_self;
~~~~~~~~~~ ^ ~~~~~~~~~~
src/re2.cpp:11829:14: warning: explicitly assigning value of variable of type 'PyObject *' (aka '_object *') to itself [-Wself-assign]
__pyx_self = __pyx_self;
~~~~~~~~~~ ^ ~~~~~~~~~~
src/re2.cpp:11962:14: warning: explicitly assigning value of variable of type 'PyObject *' (aka '_object *') to itself [-Wself-assign]
__pyx_self = __pyx_self;
~~~~~~~~~~ ^ ~~~~~~~~~~
src/re2.cpp:12095:14: warning: explicitly assigning value of variable of type 'PyObject *' (aka '_object *') to itself [-Wself-assign]
__pyx_self = __pyx_self;
~~~~~~~~~~ ^ ~~~~~~~~~~
src/re2.cpp:12228:14: warning: explicitly assigning value of variable of type 'PyObject *' (aka '_object *') to itself [-Wself-assign]
__pyx_self = __pyx_self;
~~~~~~~~~~ ^ ~~~~~~~~~~
src/re2.cpp:12362:14: warning: explicitly assigning value of variable of type 'PyObject *' (aka '_object *') to itself [-Wself-assign]
__pyx_self = __pyx_self;
~~~~~~~~~~ ^ ~~~~~~~~~~
src/re2.cpp:12508:14: warning: explicitly assigning value of variable of type 'PyObject *' (aka '_object *') to itself [-Wself-assign]
__pyx_self = __pyx_self;
~~~~~~~~~~ ^ ~~~~~~~~~~
src/re2.cpp:12658:14: warning: explicitly assigning value of variable of type 'PyObject *' (aka '_object *') to itself [-Wself-assign]
__pyx_self = __pyx_self;
~~~~~~~~~~ ^ ~~~~~~~~~~
src/re2.cpp:14764:24: error: no member named 'exc_type' in '_ts'
tmp_type = tstate->exc_type;
~~~~~~ ^
src/re2.cpp:14765:25: error: no member named 'exc_value' in '_ts'; did you mean 'curexc_value'?
tmp_value = tstate->exc_value;
^~~~~~~~~
curexc_value
/anaconda3/include/python3.7m/pystate.h:240:15: note: 'curexc_value' declared here
PyObject *curexc_value;
^
src/re2.cpp:14766:22: error: no member named 'exc_traceback' in '_ts'; did you mean 'curexc_traceback'?
tmp_tb = tstate->exc_traceback;
^~~~~~~~~~~~~
curexc_traceback
/anaconda3/include/python3.7m/pystate.h:241:15: note: 'curexc_traceback' declared here
PyObject *curexc_traceback;
^
src/re2.cpp:14767:13: error: no member named 'exc_type' in '_ts'
tstate->exc_type = local_type;
~~~~~~ ^
src/re2.cpp:14768:13: error: no member named 'exc_value' in '_ts'; did you mean 'curexc_value'?
tstate->exc_value = local_value;
^~~~~~~~~
curexc_value
/anaconda3/include/python3.7m/pystate.h:240:15: note: 'curexc_value' declared here
PyObject *curexc_value;
^
src/re2.cpp:14769:13: error: no member named 'exc_traceback' in '_ts'; did you mean 'curexc_traceback'?
tstate->exc_traceback = local_tb;
^~~~~~~~~~~~~
curexc_traceback
/anaconda3/include/python3.7m/pystate.h:241:15: note: 'curexc_traceback' declared here
PyObject *curexc_traceback;
^
src/re2.cpp:14790:21: error: no member named 'exc_type' in '_ts'
*type = tstate->exc_type;
~~~~~~ ^
src/re2.cpp:14791:22: error: no member named 'exc_value' in '_ts'; did you mean 'curexc_value'?
*value = tstate->exc_value;
^~~~~~~~~
curexc_value
/anaconda3/include/python3.7m/pystate.h:240:15: note: 'curexc_value' declared here
PyObject *curexc_value;
^
src/re2.cpp:14792:19: error: no member named 'exc_traceback' in '_ts'; did you mean 'curexc_traceback'?
*tb = tstate->exc_traceback;
^~~~~~~~~~~~~
curexc_traceback
/anaconda3/include/python3.7m/pystate.h:241:15: note: 'curexc_traceback' declared here
PyObject *curexc_traceback;
^
src/re2.cpp:14801:24: error: no member named 'exc_type' in '_ts'
tmp_type = tstate->exc_type;
~~~~~~ ^
src/re2.cpp:14802:25: error: no member named 'exc_value' in '_ts'; did you mean 'curexc_value'?
tmp_value = tstate->exc_value;
^~~~~~~~~
curexc_value
/anaconda3/include/python3.7m/pystate.h:240:15: note: 'curexc_value' declared here
PyObject *curexc_value;
^
src/re2.cpp:14803:22: error: no member named 'exc_traceback' in '_ts'; did you mean 'curexc_traceback'?
tmp_tb = tstate->exc_traceback;
^~~~~~~~~~~~~
curexc_traceback
/anaconda3/include/python3.7m/pystate.h:241:15: note: 'curexc_traceback' declared here
PyObject *curexc_traceback;
^
src/re2.cpp:14804:13: error: no member named 'exc_type' in '_ts'
tstate->exc_type = type;
~~~~~~ ^
src/re2.cpp:14805:13: error: no member named 'exc_value' in '_ts'; did you mean 'curexc_value'?
tstate->exc_value = value;
^~~~~~~~~
curexc_value
/anaconda3/include/python3.7m/pystate.h:240:15: note: 'curexc_value' declared here
PyObject *curexc_value;
^
src/re2.cpp:14806:13: error: no member named 'exc_traceback' in '_ts'; did you mean 'curexc_traceback'?
tstate->exc_traceback = tb;
^~~~~~~~~~~~~
curexc_traceback
/anaconda3/include/python3.7m/pystate.h:241:15: note: 'curexc_traceback' declared here
PyObject *curexc_traceback;
^
75 warnings and 15 errors generated.
error: command 'gcc' failed with exit status 1
----------------------------------------
ERROR: Failed building wheel for re2
Running setup.py clean for re2
Failed to build re2
ERROR: Error checking for conflicts.
Traceback (most recent call last):
File "/anaconda3/lib/python3.7/site-packages/pip/_vendor/pkg_resources/__init__.py", line 3012, in _dep_map
return self.__dep_map
File "/anaconda3/lib/python3.7/site-packages/pip/_vendor/pkg_resources/__init__.py", line 2806, in __getattr__
raise AttributeError(attr)
AttributeError: _DistInfoDistribution__dep_map
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/anaconda3/lib/python3.7/site-packages/pip/_vendor/pkg_resources/__init__.py", line 3003, in _parsed_pkg_info
return self._pkg_info
File "/anaconda3/lib/python3.7/site-packages/pip/_vendor/pkg_resources/__init__.py", line 2806, in __getattr__
raise AttributeError(attr)
AttributeError: _pkg_info
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/anaconda3/lib/python3.7/site-packages/pip/_internal/commands/install.py", line 517, in _warn_about_conflicts
package_set, _dep_info = check_install_conflicts(to_install)
File "/anaconda3/lib/python3.7/site-packages/pip/_internal/operations/check.py", line 110, in check_install_conflicts
package_set, _ = create_package_set_from_installed()
File "/anaconda3/lib/python3.7/site-packages/pip/_internal/operations/check.py", line 49, in create_package_set_from_installed
package_set[name] = PackageDetails(dist.version, dist.requires())
File "/anaconda3/lib/python3.7/site-packages/pip/_vendor/pkg_resources/__init__.py", line 2727, in requires
dm = self._dep_map
File "/anaconda3/lib/python3.7/site-packages/pip/_vendor/pkg_resources/__init__.py", line 3014, in _dep_map
self.__dep_map = self._compute_dependencies()
File "/anaconda3/lib/python3.7/site-packages/pip/_vendor/pkg_resources/__init__.py", line 3023, in _compute_dependencies
for req in self._parsed_pkg_info.get_all('Requires-Dist') or []:
File "/anaconda3/lib/python3.7/site-packages/pip/_vendor/pkg_resources/__init__.py", line 3005, in _parsed_pkg_info
metadata = self.get_metadata(self.PKG_INFO)
File "/anaconda3/lib/python3.7/site-packages/pip/_vendor/pkg_resources/__init__.py", line 1419, in get_metadata
value = self._get(self._fn(self.egg_info, name))
File "/anaconda3/lib/python3.7/site-packages/pip/_vendor/pkg_resources/__init__.py", line 1607, in _get
with open(path, 'rb') as stream:
FileNotFoundError: [Errno 2] No such file or directory: '/anaconda3/lib/python3.7/site-packages/PyHamcrest-1.9.0.dist-info/METADATA'
Installing collected packages: re2
Running setup.py install for re2 ... error
ERROR: Command errored out with exit status 1:
command: /anaconda3/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/tf/c8snrbh134x39djjd_nt6mqw0000gn/T/pip-install-jkq3buzg/re2/setup.py'"'"'; __file__='"'"'/private/var/folders/tf/c8snrbh134x39djjd_nt6mqw0000gn/T/pip-install-jkq3buzg/re2/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/tf/c8snrbh134x39djjd_nt6mqw0000gn/T/pip-record-xw_l1tq2/install-record.txt --single-version-externally-managed --compile
cwd: /private/var/folders/tf/c8snrbh134x39djjd_nt6mqw0000gn/T/pip-install-jkq3buzg/re2/
Complete output (332 lines):
running install
running build
running build_ext
building 're2' extension
creating build
creating build/temp.macosx-10.9-x86_64-3.7
creating build/temp.macosx-10.9-x86_64-3.7/src
gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/anaconda3/include -arch x86_64 -I/anaconda3/include -arch x86_64 -I/usr/local/include -I/anaconda3/include/python3.7m -c src/re2.cpp -o build/temp.macosx-10.9-x86_64-3.7/src/re2.o -std=c++11
src/re2.cpp:1190:14: warning: explicitly assigning value of variable of type 'PyObject *' (aka '_object *') to itself [-Wself-assign]
__pyx_self = __pyx_self;
~~~~~~~~~~ ^ ~~~~~~~~~~
src/re2.cpp:1252:5: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L5;
^~~~~~~~~~~~~
src/re2.cpp:1429:17: warning: 'PyUnicode_EncodeUTF8' is deprecated [-Wdeprecated-declarations]
__pyx_t_2 = PyUnicode_EncodeUTF8(PyUnicode_AS_UNICODE(__pyx_v_pystring), PyUnicode_GET_SIZE(__pyx_v_pystring), __pyx_k__strict); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 77; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
^
/anaconda3/include/python3.7m/unicodeobject.h:1324:7: note: 'PyUnicode_EncodeUTF8' has been explicitly marked deprecated here
) Py_DEPRECATED(3.3);
^
/anaconda3/include/python3.7m/pyport.h:493:54: note: expanded from macro 'Py_DEPRECATED'
#define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
^
src/re2.cpp:1502:13: warning: 'PyObject_AsCharBuffer' is deprecated [-Wdeprecated-declarations]
__pyx_r = PyObject_AsCharBuffer(__pyx_v_pystring, ((const char* *)__pyx_v_cstring), __pyx_v_length);
^
/anaconda3/include/python3.7m/abstract.h:474:39: note: 'PyObject_AsCharBuffer' has been explicitly marked deprecated here
Py_DEPRECATED(3.0);
^
/anaconda3/include/python3.7m/pyport.h:493:54: note: expanded from macro 'Py_DEPRECATED'
#define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
^
src/re2.cpp:1505:13: warning: code will never be executed [-Wunreachable-code]
__pyx_r = 0;
^
src/re2.cpp:1874:5: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L3;
^~~~~~~~~~~~~
src/re2.cpp:2217:5: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L6;
^~~~~~~~~~~~~
src/re2.cpp:2464:5: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L9;
^~~~~~~~~~~~~
src/re2.cpp:2422:5: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L8;
^~~~~~~~~~~~~
src/re2.cpp:2336:5: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L5;
^~~~~~~~~~~~~
src/re2.cpp:2951:9: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L11;
^~~~~~~~~~~~~~
src/re2.cpp:2722:7: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L6;
^~~~~~~~~~~~~
src/re2.cpp:2657:7: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L4;
^~~~~~~~~~~~~
src/re2.cpp:3442:9: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L7;
^~~~~~~~~~~~~
src/re2.cpp:3333:5: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L3;
^~~~~~~~~~~~~
src/re2.cpp:4070:5: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L5;
^~~~~~~~~~~~~
src/re2.cpp:4570:7: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L8;
^~~~~~~~~~~~~
src/re2.cpp:4520:5: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L6;
^~~~~~~~~~~~~
src/re2.cpp:4503:7: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L7;
^~~~~~~~~~~~~
src/re2.cpp:4653:5: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L5;
^~~~~~~~~~~~~
src/re2.cpp:4780:7: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L8;
^~~~~~~~~~~~~
src/re2.cpp:4733:5: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L5;
^~~~~~~~~~~~~
src/re2.cpp:5263:5: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L11;
^~~~~~~~~~~~~~
src/re2.cpp:5187:5: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L7;
^~~~~~~~~~~~~
src/re2.cpp:5134:5: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L5;
^~~~~~~~~~~~~
src/re2.cpp:5103:5: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L4;
^~~~~~~~~~~~~
src/re2.cpp:6093:7: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L16;
^~~~~~~~~~~~~~
src/re2.cpp:5897:7: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L12;
^~~~~~~~~~~~~~
src/re2.cpp:5762:5: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L3;
^~~~~~~~~~~~~
src/re2.cpp:7038:7: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L24;
^~~~~~~~~~~~~~
src/re2.cpp:6782:7: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L16;
^~~~~~~~~~~~~~
src/re2.cpp:6761:9: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L17;
^~~~~~~~~~~~~~
src/re2.cpp:6697:7: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L15;
^~~~~~~~~~~~~~
src/re2.cpp:6605:5: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L7;
^~~~~~~~~~~~~
src/re2.cpp:7616:9: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L11;
^~~~~~~~~~~~~~
src/re2.cpp:7506:5: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L7;
^~~~~~~~~~~~~
src/re2.cpp:7448:5: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L6;
^~~~~~~~~~~~~
src/re2.cpp:8590:7: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L21;
^~~~~~~~~~~~~~
src/re2.cpp:8537:9: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L20;
^~~~~~~~~~~~~~
src/re2.cpp:8369:9: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L18;
^~~~~~~~~~~~~~
src/re2.cpp:8253:5: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L7;
^~~~~~~~~~~~~
src/re2.cpp:8725:14: warning: explicitly assigning value of variable of type 'PyObject *' (aka '_object *') to itself [-Wself-assign]
__pyx_self = __pyx_self;
~~~~~~~~~~ ^ ~~~~~~~~~~
src/re2.cpp:8865:5: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L6;
^~~~~~~~~~~~~
src/re2.cpp:9003:14: warning: explicitly assigning value of variable of type 'PyObject *' (aka '_object *') to itself [-Wself-assign]
__pyx_self = __pyx_self;
~~~~~~~~~~ ^ ~~~~~~~~~~
src/re2.cpp:9112:14: warning: explicitly assigning value of variable of type 'PyObject *' (aka '_object *') to itself [-Wself-assign]
__pyx_self = __pyx_self;
~~~~~~~~~~ ^ ~~~~~~~~~~
src/re2.cpp:9158:5: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L5;
^~~~~~~~~~~~~
src/re2.cpp:9366:14: warning: explicitly assigning value of variable of type 'PyObject *' (aka '_object *') to itself [-Wself-assign]
__pyx_self = __pyx_self;
~~~~~~~~~~ ^ ~~~~~~~~~~
src/re2.cpp:9448:14: warning: explicitly assigning value of variable of type 'PyObject *' (aka '_object *') to itself [-Wself-assign]
__pyx_self = __pyx_self;
~~~~~~~~~~ ^ ~~~~~~~~~~
src/re2.cpp:10261:9: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L24;
^~~~~~~~~~~~~~
src/re2.cpp:10161:15: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L23;
^~~~~~~~~~~~~~
src/re2.cpp:10127:15: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L23;
^~~~~~~~~~~~~~
src/re2.cpp:9947:11: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L21;
^~~~~~~~~~~~~~
src/re2.cpp:9911:11: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L21;
^~~~~~~~~~~~~~
src/re2.cpp:9835:7: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L18;
^~~~~~~~~~~~~~
src/re2.cpp:9795:9: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L14;
^~~~~~~~~~~~~~
src/re2.cpp:9781:13: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L17;
^~~~~~~~~~~~~~
src/re2.cpp:9702:9: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L13;
^~~~~~~~~~~~~~
src/re2.cpp:9667:7: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L11;
^~~~~~~~~~~~~~
src/re2.cpp:10702:14: warning: explicitly assigning value of variable of type 'PyObject *' (aka '_object *') to itself [-Wself-assign]
__pyx_self = __pyx_self;
~~~~~~~~~~ ^ ~~~~~~~~~~
src/re2.cpp:11569:5: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L27;
^~~~~~~~~~~~~~
src/re2.cpp:11494:7: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L28;
^~~~~~~~~~~~~~
src/re2.cpp:11438:7: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L28;
^~~~~~~~~~~~~~
src/re2.cpp:11307:5: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L23;
^~~~~~~~~~~~~~
src/re2.cpp:11114:9: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L21;
^~~~~~~~~~~~~~
src/re2.cpp:10966:9: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L18;
^~~~~~~~~~~~~~
src/re2.cpp:10837:5: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L6;
^~~~~~~~~~~~~
src/re2.cpp:10822:7: warning: code will never be executed [-Wunreachable-code]
goto __pyx_L7;
^~~~~~~~~~~~~
src/re2.cpp:11696:14: warning: explicitly assigning value of variable of type 'PyObject *' (aka '_object *') to itself [-Wself-assign]
__pyx_self = __pyx_self;
~~~~~~~~~~ ^ ~~~~~~~~~~
src/re2.cpp:11829:14: warning: explicitly assigning value of variable of type 'PyObject *' (aka '_object *') to itself [-Wself-assign]
__pyx_self = __pyx_self;
~~~~~~~~~~ ^ ~~~~~~~~~~
src/re2.cpp:11962:14: warning: explicitly assigning value of variable of type 'PyObject *' (aka '_object *') to itself [-Wself-assign]
__pyx_self = __pyx_self;
~~~~~~~~~~ ^ ~~~~~~~~~~
src/re2.cpp:12095:14: warning: explicitly assigning value of variable of type 'PyObject *' (aka '_object *') to itself [-Wself-assign]
__pyx_self = __pyx_self;
~~~~~~~~~~ ^ ~~~~~~~~~~
src/re2.cpp:12228:14: warning: explicitly assigning value of variable of type 'PyObject *' (aka '_object *') to itself [-Wself-assign]
__pyx_self = __pyx_self;
~~~~~~~~~~ ^ ~~~~~~~~~~
src/re2.cpp:12362:14: warning: explicitly assigning value of variable of type 'PyObject *' (aka '_object *') to itself [-Wself-assign]
__pyx_self = __pyx_self;
~~~~~~~~~~ ^ ~~~~~~~~~~
src/re2.cpp:12508:14: warning: explicitly assigning value of variable of type 'PyObject *' (aka '_object *') to itself [-Wself-assign]
__pyx_self = __pyx_self;
~~~~~~~~~~ ^ ~~~~~~~~~~
src/re2.cpp:12658:14: warning: explicitly assigning value of variable of type 'PyObject *' (aka '_object *') to itself [-Wself-assign]
__pyx_self = __pyx_self;
~~~~~~~~~~ ^ ~~~~~~~~~~
src/re2.cpp:14764:24: error: no member named 'exc_type' in '_ts'
tmp_type = tstate->exc_type;
~~~~~~ ^
src/re2.cpp:14765:25: error: no member named 'exc_value' in '_ts'; did you mean 'curexc_value'?
tmp_value = tstate->exc_value;
^~~~~~~~~
curexc_value
/anaconda3/include/python3.7m/pystate.h:240:15: note: 'curexc_value' declared here
PyObject *curexc_value;
^
src/re2.cpp:14766:22: error: no member named 'exc_traceback' in '_ts'; did you mean 'curexc_traceback'?
tmp_tb = tstate->exc_traceback;
^~~~~~~~~~~~~
curexc_traceback
/anaconda3/include/python3.7m/pystate.h:241:15: note: 'curexc_traceback' declared here
PyObject *curexc_traceback;
^
src/re2.cpp:14767:13: error: no member named 'exc_type' in '_ts'
tstate->exc_type = local_type;
~~~~~~ ^
src/re2.cpp:14768:13: error: no member named 'exc_value' in '_ts'; did you mean 'curexc_value'?
tstate->exc_value = local_value;
^~~~~~~~~
curexc_value
/anaconda3/include/python3.7m/pystate.h:240:15: note: 'curexc_value' declared here
PyObject *curexc_value;
^
src/re2.cpp:14769:13: error: no member named 'exc_traceback' in '_ts'; did you mean 'curexc_traceback'?
tstate->exc_traceback = local_tb;
^~~~~~~~~~~~~
curexc_traceback
/anaconda3/include/python3.7m/pystate.h:241:15: note: 'curexc_traceback' declared here
PyObject *curexc_traceback;
^
src/re2.cpp:14790:21: error: no member named 'exc_type' in '_ts'
*type = tstate->exc_type;
~~~~~~ ^
src/re2.cpp:14791:22: error: no member named 'exc_value' in '_ts'; did you mean 'curexc_value'?
*value = tstate->exc_value;
^~~~~~~~~
curexc_value
/anaconda3/include/python3.7m/pystate.h:240:15: note: 'curexc_value' declared here
PyObject *curexc_value;
^
src/re2.cpp:14792:19: error: no member named 'exc_traceback' in '_ts'; did you mean 'curexc_traceback'?
*tb = tstate->exc_traceback;
^~~~~~~~~~~~~
curexc_traceback
/anaconda3/include/python3.7m/pystate.h:241:15: note: 'curexc_traceback' declared here
PyObject *curexc_traceback;
^
src/re2.cpp:14801:24: error: no member named 'exc_type' in '_ts'
tmp_type = tstate->exc_type;
~~~~~~ ^
src/re2.cpp:14802:25: error: no member named 'exc_value' in '_ts'; did you mean 'curexc_value'?
tmp_value = tstate->exc_value;
^~~~~~~~~
curexc_value
/anaconda3/include/python3.7m/pystate.h:240:15: note: 'curexc_value' declared here
PyObject *curexc_value;
^
src/re2.cpp:14803:22: error: no member named 'exc_traceback' in '_ts'; did you mean 'curexc_traceback'?
tmp_tb = tstate->exc_traceback;
^~~~~~~~~~~~~
curexc_traceback
/anaconda3/include/python3.7m/pystate.h:241:15: note: 'curexc_traceback' declared here
PyObject *curexc_traceback;
^
src/re2.cpp:14804:13: error: no member named 'exc_type' in '_ts'
tstate->exc_type = type;
~~~~~~ ^
src/re2.cpp:14805:13: error: no member named 'exc_value' in '_ts'; did you mean 'curexc_value'?
tstate->exc_value = value;
^~~~~~~~~
curexc_value
/anaconda3/include/python3.7m/pystate.h:240:15: note: 'curexc_value' declared here
PyObject *curexc_value;
^
src/re2.cpp:14806:13: error: no member named 'exc_traceback' in '_ts'; did you mean 'curexc_traceback'?
tstate->exc_traceback = tb;
^~~~~~~~~~~~~
curexc_traceback
/anaconda3/include/python3.7m/pystate.h:241:15: note: 'curexc_traceback' declared here
PyObject *curexc_traceback;
^
75 warnings and 15 errors generated.
error: command 'gcc' failed with exit status 1
----------------------------------------
ERROR: Command errored out with exit status 1: /anaconda3/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/tf/c8snrbh134x39djjd_nt6mqw0000gn/T/pip-install-jkq3buzg/re2/setup.py'"'"'; __file__='"'"'/private/var/folders/tf/c8snrbh134x39djjd_nt6mqw0000gn/T/pip-install-jkq3buzg/re2/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/tf/c8snrbh134x39djjd_nt6mqw0000gn/T/pip-record-xw_l1tq2/install-record.txt --single-version-externally-managed --compile Check the logs for full command output.
Thanks,
Prakash
Tried installing re2 in my local. Failed because of some error.Here is the stack trace.> pip install re2