abinit / abipy

Open-source library for analyzing the results produced by ABINIT
http://abinit.github.io/abipy
Other
117 stars 96 forks source link

The error just showed when I was installing the abipy. How to fixed it? #156

Closed WenT-Ethan closed 6 years ago

WenT-Ethan commented 6 years ago

Collecting abipy Downloading https://files.pythonhosted.org/packages/36/af/649c18c323504e445d22419fa6fcbf7f21a74f21b875340e7b0a5fe18303/abipy-0.5.0-py2.py3-none-any.whl (14.7MB) 100% |████████████████████████████████| 14.7MB 1.4MB/s Requirement already satisfied: pandas in /usr/local/lib/python3.7/site-packages (from abipy) (0.23.1) Requirement already satisfied: scipy in /usr/local/lib/python3.7/site-packages (from abipy) (1.1.0) Requirement already satisfied: netCDF4 in /usr/local/lib/python3.7/site-packages (from abipy) (1.4.0) Collecting prettytable (from abipy) Downloading https://files.pythonhosted.org/packages/ef/30/4b0746848746ed5941f052479e7c23d2b56d174b82f4fd34a25e389831f5/prettytable-0.7.2.tar.bz2 Collecting html2text (from abipy) Downloading https://files.pythonhosted.org/packages/16/20/de2b458ef434713053dd83209a03a5431ebe0527c8e14d9ae7838ff67d8a/html2text-2018.1.9-py3-none-any.whl Requirement already satisfied: numpy in /usr/local/lib/python3.7/site-packages (from abipy) (1.14.5) Requirement already satisfied: tabulate in /usr/local/lib/python3.7/site-packages (from abipy) (0.8.2) Collecting apscheduler==2.1.0 (from abipy) Collecting pyyaml>=3.11 (from abipy) Downloading https://files.pythonhosted.org/packages/4a/85/db5a2df477072b2902b0eb892feb37d88ac635d36245a72a6a69b23b383a/PyYAML-3.12.tar.gz (253kB) 100% |████████████████████████████████| 256kB 2.7MB/s Requirement already satisfied: matplotlib in /usr/local/lib/python3.7/site-packages (from abipy) (2.2.2) Requirement already satisfied: pydispatcher>=2.0.5 in /usr/local/lib/python3.7/site-packages (from abipy) (2.0.5) Collecting seaborn (from abipy) Collecting pymatgen==2018.6.11 (from abipy) Downloading https://files.pythonhosted.org/packages/e3/46/6d0a39b75776fc3297022ceb4997f2368fed8f8628388a0f1eeb43c851a4/pymatgen-2018.6.11.tar.gz (1.7MB) 100% |████████████████████████████████| 1.8MB 1.5MB/s Requirement already satisfied: six in /usr/local/lib/python3.7/site-packages (from abipy) (1.11.0) Requirement already satisfied: spglib in /usr/local/lib/python3.7/site-packages (from abipy) (1.10.3.65) Collecting tqdm (from abipy) Downloading https://files.pythonhosted.org/packages/93/24/6ab1df969db228aed36a648a8959d1027099ce45fad67532b9673d533318/tqdm-4.23.4-py2.py3-none-any.whl (42kB) 100% |████████████████████████████████| 51kB 1.3MB/s Requirement already satisfied: pytz>=2011k in /usr/local/lib/python3.7/site-packages (from pandas->abipy) (2018.5) Requirement already satisfied: python-dateutil>=2.5.0 in /usr/local/lib/python3.7/site-packages (from pandas->abipy) (2.7.3) Requirement already satisfied: cftime in /usr/local/lib/python3.7/site-packages (from netCDF4->abipy) (1.0.0) Requirement already satisfied: pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=2.0.1 in /usr/local/lib/python3.7/site-packages (from matplotlib->abipy) (2.2.0) Requirement already satisfied: kiwisolver>=1.0.1 in /usr/local/lib/python3.7/site-packages (from matplotlib->abipy) (1.0.1) Requirement already satisfied: cycler>=0.10 in /usr/local/lib/python3.7/site-packages (from matplotlib->abipy) (0.10.0) Requirement already satisfied: requests in /usr/local/lib/python3.7/site-packages (from pymatgen==2018.6.11->abipy) (2.19.1) Requirement already satisfied: ruamel.yaml>=0.15.6 in /usr/local/lib/python3.7/site-packages (from pymatgen==2018.6.11->abipy) (0.15.42) Requirement already satisfied: monty>=0.9.6 in /usr/local/lib/python3.7/site-packages (from pymatgen==2018.6.11->abipy) (1.0.3) Requirement already satisfied: palettable>=2.1.1 in /usr/local/lib/python3.7/site-packages (from pymatgen==2018.6.11->abipy) (3.1.1) Requirement already satisfied: sympy in /usr/local/lib/python3.7/site-packages (from pymatgen==2018.6.11->abipy) (1.1.1) Requirement already satisfied: cython in /usr/local/lib/python3.7/site-packages (from cftime->netCDF4->abipy) (0.28.3) Requirement already satisfied: setuptools>=18.0 in /usr/local/lib/python3.7/site-packages (from cftime->netCDF4->abipy) (39.2.0) Requirement already satisfied: urllib3<1.24,>=1.21.1 in /usr/local/lib/python3.7/site-packages (from requests->pymatgen==2018.6.11->abipy) (1.23) Requirement already satisfied: chardet<3.1.0,>=3.0.2 in /usr/local/lib/python3.7/site-packages (from requests->pymatgen==2018.6.11->abipy) (3.0.4) Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.7/site-packages (from requests->pymatgen==2018.6.11->abipy) (2018.4.16) Requirement already satisfied: idna<2.8,>=2.5 in /usr/local/lib/python3.7/site-packages (from requests->pymatgen==2018.6.11->abipy) (2.7) Requirement already satisfied: mpmath>=0.19 in /usr/local/lib/python3.7/site-packages (from sympy->pymatgen==2018.6.11->abipy) (1.0.0) Installing collected packages: prettytable, html2text, apscheduler, pyyaml, seaborn, pymatgen, tqdm, abipy Running setup.py install for prettytable ... done Running setup.py install for pyyaml ... error Complete output from command /usr/local/opt/python/bin/python3.7 -u -c "import setuptools, tokenize;file='/private/tmp/pip-install-olko9aul/pyyaml/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/tmp/pip-record-3_n6shgj/install-record.txt --single-version-externally-managed --compile: running install running build running build_py creating build creating build/lib.macosx-10.13-x86_64-3.7 creating build/lib.macosx-10.13-x86_64-3.7/yaml copying lib3/yaml/scanner.py -> build/lib.macosx-10.13-x86_64-3.7/yaml copying lib3/yaml/error.py -> build/lib.macosx-10.13-x86_64-3.7/yaml copying lib3/yaml/constructor.py -> build/lib.macosx-10.13-x86_64-3.7/yaml copying lib3/yaml/composer.py -> build/lib.macosx-10.13-x86_64-3.7/yaml copying lib3/yaml/events.py -> build/lib.macosx-10.13-x86_64-3.7/yaml copying lib3/yaml/init.py -> build/lib.macosx-10.13-x86_64-3.7/yaml copying lib3/yaml/representer.py -> build/lib.macosx-10.13-x86_64-3.7/yaml copying lib3/yaml/tokens.py -> build/lib.macosx-10.13-x86_64-3.7/yaml copying lib3/yaml/dumper.py -> build/lib.macosx-10.13-x86_64-3.7/yaml copying lib3/yaml/cyaml.py -> build/lib.macosx-10.13-x86_64-3.7/yaml copying lib3/yaml/parser.py -> build/lib.macosx-10.13-x86_64-3.7/yaml copying lib3/yaml/reader.py -> build/lib.macosx-10.13-x86_64-3.7/yaml copying lib3/yaml/loader.py -> build/lib.macosx-10.13-x86_64-3.7/yaml copying lib3/yaml/resolver.py -> build/lib.macosx-10.13-x86_64-3.7/yaml copying lib3/yaml/serializer.py -> build/lib.macosx-10.13-x86_64-3.7/yaml copying lib3/yaml/nodes.py -> build/lib.macosx-10.13-x86_64-3.7/yaml copying lib3/yaml/emitter.py -> build/lib.macosx-10.13-x86_64-3.7/yaml running build_ext creating build/temp.macosx-10.13-x86_64-3.7 checking if libyaml is compilable clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m -c build/temp.macosx-10.13-x86_64-3.7/check_libyaml.c -o build/temp.macosx-10.13-x86_64-3.7/check_libyaml.o checking if libyaml is linkable clang build/temp.macosx-10.13-x86_64-3.7/check_libyaml.o -L/usr/local/lib -L/usr/local/opt/openssl/lib -L/usr/local/opt/sqlite/lib -lyaml -o build/temp.macosx-10.13-x86_64-3.7/check_libyaml skipping 'ext/_yaml.c' Cython extension (up-to-date) building '_yaml' extension creating build/temp.macosx-10.13-x86_64-3.7/ext clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m -c ext/_yaml.c -o build/temp.macosx-10.13-x86_64-3.7/ext/_yaml.o In file included from ext/_yaml.c:271: ext/_yaml.h:10:9: warning: 'PyString_CheckExact' macro redefined [-Wmacro-redefined]

define PyString_CheckExact PyBytes_CheckExact

        ^
ext/_yaml.c:139:11: note: previous definition is here
  #define PyString_CheckExact          PyUnicode_CheckExact
          ^
ext/_yaml.c:1410:17: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
  __pyx_v_value = yaml_get_version_string();
                ^ ~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.c:2577:52: warning: incompatible pointer types passing 'int (void *, char *, size_t, size_t *)' (aka 'int (void *, char *, unsigned long, unsigned long *)') to parameter of type 'yaml_read_handler_t *' (aka 'int (*)(void *, unsigned char *, unsigned long, unsigned long *)') [-Wincompatible-pointer-types]
    yaml_parser_set_input((&__pyx_v_self->parser), __pyx_f_5_yaml_input_handler, ((void *)__pyx_v_self));
                                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/yaml.h:1370:30: note: passing argument to parameter 'handler' here
        yaml_read_handler_t *handler, void *data);
                             ^
ext/_yaml.c:2818:59: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    yaml_parser_set_input_string((&__pyx_v_self->parser), PyString_AS_STRING(__pyx_v_stream), PyString_GET_SIZE(__pyx_v_stream));
                                                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.h:11:29: note: expanded from macro 'PyString_AS_STRING'
#define PyString_AS_STRING  PyBytes_AS_STRING
                            ^
/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/bytesobject.h:87:31: note: expanded from macro 'PyBytes_AS_STRING'
#define PyBytes_AS_STRING(op) (assert(PyBytes_Check(op)), \
                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/yaml.h:1344:30: note: passing argument to parameter 'input' here
        const unsigned char *input, size_t size);
                             ^
ext/_yaml.c:4572:38: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    __pyx_t_2 = PyUnicode_FromString(__pyx_v_token->data.tag_directive.handle); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 417, __pyx_L1_error)
                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/unicodeobject.h:703:17: note: passing argument to parameter 'u' here
    const char *u              /* UTF-8 encoded string */
                ^
ext/_yaml.c:4584:38: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    __pyx_t_2 = PyUnicode_FromString(__pyx_v_token->data.tag_directive.prefix); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 418, __pyx_L1_error)
                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/unicodeobject.h:703:17: note: passing argument to parameter 'u' here
    const char *u              /* UTF-8 encoded string */
                ^
ext/_yaml.c:5444:38: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    __pyx_t_2 = PyUnicode_FromString(__pyx_v_token->data.alias.value); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 448, __pyx_L1_error)
                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/unicodeobject.h:703:17: note: passing argument to parameter 'u' here
    const char *u              /* UTF-8 encoded string */
                ^
ext/_yaml.c:5518:38: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    __pyx_t_2 = PyUnicode_FromString(__pyx_v_token->data.anchor.value); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 451, __pyx_L1_error)
                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/unicodeobject.h:703:17: note: passing argument to parameter 'u' here
    const char *u              /* UTF-8 encoded string */
                ^
ext/_yaml.c:5592:38: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    __pyx_t_2 = PyUnicode_FromString(__pyx_v_token->data.tag.handle); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 454, __pyx_L1_error)
                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/unicodeobject.h:703:17: note: passing argument to parameter 'u' here
    const char *u              /* UTF-8 encoded string */
                ^
ext/_yaml.c:5604:38: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    __pyx_t_2 = PyUnicode_FromString(__pyx_v_token->data.tag.suffix); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 455, __pyx_L1_error)
                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/unicodeobject.h:703:17: note: passing argument to parameter 'u' here
    const char *u              /* UTF-8 encoded string */
                ^
ext/_yaml.c:5716:38: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    __pyx_t_2 = PyUnicode_DecodeUTF8(__pyx_v_token->data.scalar.value, __pyx_v_token->data.scalar.length, ((char *)"strict")); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 460, __pyx_L1_error)
                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/unicodeobject.h:1299:17: note: passing argument to parameter 'string' here
    const char *string,         /* UTF-8 encoded string */
                ^
ext/_yaml.c:7424:42: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        __pyx_t_4 = PyUnicode_FromString(__pyx_v_tag_directive->handle); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 574, __pyx_L1_error)
                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/unicodeobject.h:703:17: note: passing argument to parameter 'u' here
    const char *u              /* UTF-8 encoded string */
                ^
ext/_yaml.c:7436:42: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        __pyx_t_4 = PyUnicode_FromString(__pyx_v_tag_directive->prefix); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 575, __pyx_L1_error)
                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/unicodeobject.h:703:17: note: passing argument to parameter 'u' here
    const char *u              /* UTF-8 encoded string */
                ^
ext/_yaml.c:7655:38: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    __pyx_t_4 = PyUnicode_FromString(__pyx_v_event->data.alias.anchor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 586, __pyx_L1_error)
                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/unicodeobject.h:703:17: note: passing argument to parameter 'u' here
    const char *u              /* UTF-8 encoded string */
                ^
ext/_yaml.c:7749:40: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      __pyx_t_4 = PyUnicode_FromString(__pyx_v_event->data.scalar.anchor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 591, __pyx_L1_error)
                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/unicodeobject.h:703:17: note: passing argument to parameter 'u' here
    const char *u              /* UTF-8 encoded string */
                ^
ext/_yaml.c:7790:40: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      __pyx_t_4 = PyUnicode_FromString(__pyx_v_event->data.scalar.tag); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 594, __pyx_L1_error)
                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/unicodeobject.h:703:17: note: passing argument to parameter 'u' here
    const char *u              /* UTF-8 encoded string */
                ^
ext/_yaml.c:7811:38: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    __pyx_t_4 = PyUnicode_DecodeUTF8(__pyx_v_event->data.scalar.value, __pyx_v_event->data.scalar.length, ((char *)"strict")); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 595, __pyx_L1_error)
                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/unicodeobject.h:1299:17: note: passing argument to parameter 'string' here
    const char *string,         /* UTF-8 encoded string */
                ^
ext/_yaml.c:8179:40: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      __pyx_t_4 = PyUnicode_FromString(__pyx_v_event->data.sequence_start.anchor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 620, __pyx_L1_error)
                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/unicodeobject.h:703:17: note: passing argument to parameter 'u' here
    const char *u              /* UTF-8 encoded string */
                ^
ext/_yaml.c:8220:40: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      __pyx_t_4 = PyUnicode_FromString(__pyx_v_event->data.sequence_start.tag); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 623, __pyx_L1_error)
                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/unicodeobject.h:703:17: note: passing argument to parameter 'u' here
    const char *u              /* UTF-8 encoded string */
                ^
ext/_yaml.c:8449:40: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      __pyx_t_4 = PyUnicode_FromString(__pyx_v_event->data.mapping_start.anchor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 637, __pyx_L1_error)
                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/unicodeobject.h:703:17: note: passing argument to parameter 'u' here
    const char *u              /* UTF-8 encoded string */
                ^
ext/_yaml.c:8490:40: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      __pyx_t_4 = PyUnicode_FromString(__pyx_v_event->data.mapping_start.tag); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 640, __pyx_L1_error)
                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/unicodeobject.h:703:17: note: passing argument to parameter 'u' here
    const char *u              /* UTF-8 encoded string */
                ^
ext/_yaml.c:10094:38: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    __pyx_t_3 = PyUnicode_FromString(__pyx_v_self->parsed_event.data.alias.anchor); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 734, __pyx_L1_error)
                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/unicodeobject.h:703:17: note: passing argument to parameter 'u' here
    const char *u              /* UTF-8 encoded string */
                ^
ext/_yaml.c:10378:38: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    __pyx_t_6 = PyUnicode_FromString(__pyx_v_self->parsed_event.data.scalar.anchor); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 750, __pyx_L1_error)
                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/unicodeobject.h:703:17: note: passing argument to parameter 'u' here
    const char *u              /* UTF-8 encoded string */
                ^
ext/_yaml.c:10434:38: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    __pyx_t_6 = PyUnicode_FromString(__pyx_v_self->parsed_event.data.sequence_start.anchor); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 753, __pyx_L1_error)
                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/unicodeobject.h:703:17: note: passing argument to parameter 'u' here
    const char *u              /* UTF-8 encoded string */
                ^
ext/_yaml.c:10490:38: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    __pyx_t_6 = PyUnicode_FromString(__pyx_v_self->parsed_event.data.mapping_start.anchor); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 756, __pyx_L1_error)
                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/unicodeobject.h:703:17: note: passing argument to parameter 'u' here
    const char *u              /* UTF-8 encoded string */
                ^
ext/_yaml.c:11109:36: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  __pyx_t_2 = PyUnicode_DecodeUTF8(__pyx_v_self->parsed_event.data.scalar.value, __pyx_v_self->parsed_event.data.scalar.length, ((char *)"strict")); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 791, __pyx_L1_error)
                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/unicodeobject.h:1299:17: note: passing argument to parameter 'string' here
    const char *string,         /* UTF-8 encoded string */
                ^
ext/_yaml.c:11310:38: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    __pyx_t_2 = PyUnicode_FromString(__pyx_v_self->parsed_event.data.scalar.tag); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 804, __pyx_L1_error)
                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/unicodeobject.h:703:17: note: passing argument to parameter 'u' here
    const char *u              /* UTF-8 encoded string */
                ^
ext/_yaml.c:11841:38: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    __pyx_t_3 = PyUnicode_FromString(__pyx_v_self->parsed_event.data.sequence_start.tag); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 837, __pyx_L1_error)
                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/unicodeobject.h:703:17: note: passing argument to parameter 'u' here
    const char *u              /* UTF-8 encoded string */
                ^
ext/_yaml.c:12435:38: warning: passing 'yaml_char_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    __pyx_t_3 = PyUnicode_FromString(__pyx_v_self->parsed_event.data.mapping_start.tag); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 876, __pyx_L1_error)
                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/unicodeobject.h:703:17: note: passing argument to parameter 'u' here
    const char *u              /* UTF-8 encoded string */
                ^
ext/_yaml.c:13141:87: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare]
  __pyx_t_3 = (((__pyx_v_parser->stream_cache_len - __pyx_v_parser->stream_cache_pos) < __pyx_v_size) != 0);
                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  ^ ~~~~~~~~~~~~
ext/_yaml.c:13630:53: warning: incompatible pointer types passing 'int (void *, char *, size_t)' (aka 'int (void *, char *, unsigned long)') to parameter of type 'yaml_write_handler_t *' (aka 'int (*)(void *, unsigned char *, unsigned long)') [-Wincompatible-pointer-types]
  yaml_emitter_set_output((&__pyx_v_self->emitter), __pyx_f_5_yaml_output_handler, ((void *)__pyx_v_self));
                                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/yaml.h:1832:31: note: passing argument to parameter 'handler' here
        yaml_write_handler_t *handler, void *data);
                              ^
ext/_yaml.c:15002:44: warning: assigning to 'yaml_char_t *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        __pyx_v_tag_directives_end->handle = PyString_AS_STRING(__pyx_v_handle);
                                           ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.c:15117:44: warning: assigning to 'yaml_char_t *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        __pyx_v_tag_directives_end->prefix = PyString_AS_STRING(__pyx_v_prefix);
                                           ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.c:15454:62: warning: passing 'char *' to parameter of type 'yaml_char_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
    __pyx_t_2 = ((yaml_alias_event_initialize(__pyx_v_event, __pyx_v_anchor) == 0) != 0);
                                                             ^~~~~~~~~~~~~~
/usr/local/include/yaml.h:555:63: note: passing argument to parameter 'anchor' here
yaml_alias_event_initialize(yaml_event_t *event, yaml_char_t *anchor);
                                                              ^
ext/_yaml.c:16169:63: warning: passing 'char *' to parameter of type 'yaml_char_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
    __pyx_t_2 = ((yaml_scalar_event_initialize(__pyx_v_event, __pyx_v_anchor, __pyx_v_tag, __pyx_v_value, __pyx_v_length, __pyx_v_plain_implicit, __pyx_v_quoted_implicit, __pyx_v_scalar_style) == 0) != 0);
                                                              ^~~~~~~~~~~~~~
/usr/local/include/yaml.h:581:22: note: passing argument to parameter 'anchor' here
        yaml_char_t *anchor, yaml_char_t *tag,
                     ^
ext/_yaml.c:16169:79: warning: passing 'char *' to parameter of type 'yaml_char_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
    __pyx_t_2 = ((yaml_scalar_event_initialize(__pyx_v_event, __pyx_v_anchor, __pyx_v_tag, __pyx_v_value, __pyx_v_length, __pyx_v_plain_implicit, __pyx_v_quoted_implicit, __pyx_v_scalar_style) == 0) != 0);
                                                                              ^~~~~~~~~~~
/usr/local/include/yaml.h:581:43: note: passing argument to parameter 'tag' here
        yaml_char_t *anchor, yaml_char_t *tag,
                                          ^
ext/_yaml.c:16169:92: warning: passing 'char *' to parameter of type 'yaml_char_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
    __pyx_t_2 = ((yaml_scalar_event_initialize(__pyx_v_event, __pyx_v_anchor, __pyx_v_tag, __pyx_v_value, __pyx_v_length, __pyx_v_plain_implicit, __pyx_v_quoted_implicit, __pyx_v_scalar_style) == 0) != 0);
                                                                                           ^~~~~~~~~~~~~
/usr/local/include/yaml.h:582:22: note: passing argument to parameter 'value' here
        yaml_char_t *value, int length,
                     ^
ext/_yaml.c:16603:71: warning: passing 'char *' to parameter of type 'yaml_char_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
    __pyx_t_3 = ((yaml_sequence_start_event_initialize(__pyx_v_event, __pyx_v_anchor, __pyx_v_tag, __pyx_v_implicit, __pyx_v_sequence_style) == 0) != 0);
                                                                      ^~~~~~~~~~~~~~
/usr/local/include/yaml.h:604:22: note: passing argument to parameter 'anchor' here
        yaml_char_t *anchor, yaml_char_t *tag, int implicit,
                     ^
ext/_yaml.c:16603:87: warning: passing 'char *' to parameter of type 'yaml_char_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
    __pyx_t_3 = ((yaml_sequence_start_event_initialize(__pyx_v_event, __pyx_v_anchor, __pyx_v_tag, __pyx_v_implicit, __pyx_v_sequence_style) == 0) != 0);
                                                                                      ^~~~~~~~~~~
/usr/local/include/yaml.h:604:43: note: passing argument to parameter 'tag' here
        yaml_char_t *anchor, yaml_char_t *tag, int implicit,
                                          ^
ext/_yaml.c:17037:70: warning: passing 'char *' to parameter of type 'yaml_char_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
    __pyx_t_2 = ((yaml_mapping_start_event_initialize(__pyx_v_event, __pyx_v_anchor, __pyx_v_tag, __pyx_v_implicit, __pyx_v_mapping_style) == 0) != 0);
                                                                     ^~~~~~~~~~~~~~
/usr/local/include/yaml.h:636:22: note: passing argument to parameter 'anchor' here
        yaml_char_t *anchor, yaml_char_t *tag, int implicit,
                     ^
ext/_yaml.c:17037:86: warning: passing 'char *' to parameter of type 'yaml_char_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
    __pyx_t_2 = ((yaml_mapping_start_event_initialize(__pyx_v_event, __pyx_v_anchor, __pyx_v_tag, __pyx_v_implicit, __pyx_v_mapping_style) == 0) != 0);
                                                                                     ^~~~~~~~~~~
/usr/local/include/yaml.h:636:43: note: passing argument to parameter 'tag' here
        yaml_char_t *anchor, yaml_char_t *tag, int implicit,
                                          ^
ext/_yaml.c:18516:42: warning: assigning to 'yaml_char_t *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      __pyx_v_tag_directives_end->handle = PyString_AS_STRING(__pyx_v_handle);
                                         ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.c:18631:42: warning: assigning to 'yaml_char_t *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      __pyx_v_tag_directives_end->prefix = PyString_AS_STRING(__pyx_v_prefix);
                                         ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ext/_yaml.c:19491:65: warning: passing 'char *' to parameter of type 'yaml_char_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
    __pyx_t_2 = ((yaml_alias_event_initialize((&__pyx_v_event), __pyx_v_anchor) == 0) != 0);
                                                                ^~~~~~~~~~~~~~
/usr/local/include/yaml.h:555:63: note: passing argument to parameter 'anchor' here
yaml_alias_event_initialize(yaml_event_t *event, yaml_char_t *anchor);
                                                              ^
ext/_yaml.c:20240:68: warning: passing 'char *' to parameter of type 'yaml_char_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
      __pyx_t_2 = ((yaml_scalar_event_initialize((&__pyx_v_event), __pyx_v_anchor, __pyx_v_tag, __pyx_v_value, __pyx_v_length, __pyx_v_plain_implicit, __pyx_v_quoted_implicit, __pyx_v_scalar_style) == 0) != 0);
                                                                   ^~~~~~~~~~~~~~
/usr/local/include/yaml.h:581:22: note: passing argument to parameter 'anchor' here
        yaml_char_t *anchor, yaml_char_t *tag,
                     ^
ext/_yaml.c:20240:84: warning: passing 'char *' to parameter of type 'yaml_char_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
      __pyx_t_2 = ((yaml_scalar_event_initialize((&__pyx_v_event), __pyx_v_anchor, __pyx_v_tag, __pyx_v_value, __pyx_v_length, __pyx_v_plain_implicit, __pyx_v_quoted_implicit, __pyx_v_scalar_style) == 0) != 0);
                                                                                   ^~~~~~~~~~~
/usr/local/include/yaml.h:581:43: note: passing argument to parameter 'tag' here
        yaml_char_t *anchor, yaml_char_t *tag,
                                          ^
ext/_yaml.c:20240:97: warning: passing 'char *' to parameter of type 'yaml_char_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
      __pyx_t_2 = ((yaml_scalar_event_initialize((&__pyx_v_event), __pyx_v_anchor, __pyx_v_tag, __pyx_v_value, __pyx_v_length, __pyx_v_plain_implicit, __pyx_v_quoted_implicit, __pyx_v_scalar_style) == 0) != 0);
                                                                                                ^~~~~~~~~~~~~
/usr/local/include/yaml.h:582:22: note: passing argument to parameter 'value' here
        yaml_char_t *value, int length,
                     ^
ext/_yaml.c:20605:76: warning: passing 'char *' to parameter of type 'yaml_char_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
      __pyx_t_2 = ((yaml_sequence_start_event_initialize((&__pyx_v_event), __pyx_v_anchor, __pyx_v_tag, __pyx_v_implicit, __pyx_v_sequence_style) == 0) != 0);
                                                                           ^~~~~~~~~~~~~~
/usr/local/include/yaml.h:604:22: note: passing argument to parameter 'anchor' here
        yaml_char_t *anchor, yaml_char_t *tag, int implicit,
                     ^
ext/_yaml.c:20605:92: warning: passing 'char *' to parameter of type 'yaml_char_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
      __pyx_t_2 = ((yaml_sequence_start_event_initialize((&__pyx_v_event), __pyx_v_anchor, __pyx_v_tag, __pyx_v_implicit, __pyx_v_sequence_style) == 0) != 0);
                                                                                           ^~~~~~~~~~~
/usr/local/include/yaml.h:604:43: note: passing argument to parameter 'tag' here
        yaml_char_t *anchor, yaml_char_t *tag, int implicit,
                                          ^
ext/_yaml.c:21113:75: warning: passing 'char *' to parameter of type 'yaml_char_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
      __pyx_t_2 = ((yaml_mapping_start_event_initialize((&__pyx_v_event), __pyx_v_anchor, __pyx_v_tag, __pyx_v_implicit, __pyx_v_mapping_style) == 0) != 0);
                                                                          ^~~~~~~~~~~~~~
/usr/local/include/yaml.h:636:22: note: passing argument to parameter 'anchor' here
        yaml_char_t *anchor, yaml_char_t *tag, int implicit,
                     ^
ext/_yaml.c:21113:91: warning: passing 'char *' to parameter of type 'yaml_char_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
      __pyx_t_2 = ((yaml_mapping_start_event_initialize((&__pyx_v_event), __pyx_v_anchor, __pyx_v_tag, __pyx_v_implicit, __pyx_v_mapping_style) == 0) != 0);
                                                                                          ^~~~~~~~~~~
/usr/local/include/yaml.h:636:43: note: passing argument to parameter 'tag' here
        yaml_char_t *anchor, yaml_char_t *tag, int implicit,
                                          ^
ext/_yaml.c:24143:21: error: no member named 'exc_type' in 'struct _ts'
    *type = tstate->exc_type;
            ~~~~~~  ^
ext/_yaml.c:24144:22: error: no member named 'exc_value' in 'struct _ts'; did you mean 'curexc_value'?
    *value = tstate->exc_value;
                     ^~~~~~~~~
                     curexc_value
/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:237:15: note: 'curexc_value' declared here
    PyObject *curexc_value;
              ^
ext/_yaml.c:24145:19: error: no member named 'exc_traceback' in 'struct _ts'; did you mean 'curexc_traceback'?
    *tb = tstate->exc_traceback;
                  ^~~~~~~~~~~~~
                  curexc_traceback
/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:238:15: note: 'curexc_traceback' declared here
    PyObject *curexc_traceback;
              ^
ext/_yaml.c:24152:24: error: no member named 'exc_type' in 'struct _ts'
    tmp_type = tstate->exc_type;
               ~~~~~~  ^
ext/_yaml.c:24153:25: error: no member named 'exc_value' in 'struct _ts'; did you mean 'curexc_value'?
    tmp_value = tstate->exc_value;
                        ^~~~~~~~~
                        curexc_value
/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:237:15: note: 'curexc_value' declared here
    PyObject *curexc_value;
              ^
ext/_yaml.c:24154:22: error: no member named 'exc_traceback' in 'struct _ts'; did you mean 'curexc_traceback'?
    tmp_tb = tstate->exc_traceback;
                     ^~~~~~~~~~~~~
                     curexc_traceback
/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:238:15: note: 'curexc_traceback' declared here
    PyObject *curexc_traceback;
              ^
ext/_yaml.c:24155:13: error: no member named 'exc_type' in 'struct _ts'
    tstate->exc_type = type;
    ~~~~~~  ^
ext/_yaml.c:24156:13: error: no member named 'exc_value' in 'struct _ts'; did you mean 'curexc_value'?
    tstate->exc_value = value;
            ^~~~~~~~~
            curexc_value
/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:237:15: note: 'curexc_value' declared here
    PyObject *curexc_value;
              ^
ext/_yaml.c:24157:13: error: no member named 'exc_traceback' in 'struct _ts'; did you mean 'curexc_traceback'?
    tstate->exc_traceback = tb;
            ^~~~~~~~~~~~~
            curexc_traceback
/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:238:15: note: 'curexc_traceback' declared here
    PyObject *curexc_traceback;
              ^
ext/_yaml.c:24212:24: error: no member named 'exc_type' in 'struct _ts'
    tmp_type = tstate->exc_type;
               ~~~~~~  ^
ext/_yaml.c:24213:25: error: no member named 'exc_value' in 'struct _ts'; did you mean 'curexc_value'?
    tmp_value = tstate->exc_value;
                        ^~~~~~~~~
                        curexc_value
/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:237:15: note: 'curexc_value' declared here
    PyObject *curexc_value;
              ^
ext/_yaml.c:24214:22: error: no member named 'exc_traceback' in 'struct _ts'; did you mean 'curexc_traceback'?
    tmp_tb = tstate->exc_traceback;
                     ^~~~~~~~~~~~~
                     curexc_traceback
/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:238:15: note: 'curexc_traceback' declared here
    PyObject *curexc_traceback;
              ^
ext/_yaml.c:24215:13: error: no member named 'exc_type' in 'struct _ts'
    tstate->exc_type = local_type;
    ~~~~~~  ^
ext/_yaml.c:24216:13: error: no member named 'exc_value' in 'struct _ts'; did you mean 'curexc_value'?
    tstate->exc_value = local_value;
            ^~~~~~~~~
            curexc_value
/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:237:15: note: 'curexc_value' declared here
    PyObject *curexc_value;
              ^
ext/_yaml.c:24217:13: error: no member named 'exc_traceback' in 'struct _ts'; did you mean 'curexc_traceback'?
    tstate->exc_traceback = local_tb;
            ^~~~~~~~~~~~~
            curexc_traceback
/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:238:15: note: 'curexc_traceback' declared here
    PyObject *curexc_traceback;
              ^
51 warnings and 15 errors generated.
error: command 'clang' failed with exit status 1

----------------------------------------

Command "/usr/local/opt/python/bin/python3.7 -u -c "import setuptools, tokenize;file='/private/tmp/pip-install-olko9aul/pyyaml/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/tmp/pip-record-3_n6shgj/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /private/tmp/pip-install-olko9aul/pyyaml/

gmatteo commented 6 years ago

The current version of PyYaml does not support python3.7. It's a well-know problem discussed here

Fortunately, it seems that the PyYaml developers are working on it:

PyYAML 3.13 should go out today or tomorrow. That will have PyYAML exact same as 3.12 but works with Python 3.7.

Note that the python versions officially supported by AbiPy are 2.7 and 3.6. python 3.7.0 has been released six days ago so there may be libraries used by AbiPy that have not yet been ported to py3.7.

WenT-Ethan commented 6 years ago

Noted. Thank you for your kind answers.😊😊

Best regards. WenT


差出人: Melanie notifications@github.com 送信日時: 2018年7月4日 5:29:44 宛先: abinit/abipy CC: Buntsu Riku; Author 件名: Re: [abinit/abipy] The error just showed when I was installing the abipy. How to fixed it? (#156)

@gmatteohttps://github.com/gmatteo is there a workaround though? looking at that thread it was suggested pip3 install pyyaml==4.2b4 could be a workaround until the release but I'm not making any progress currently with that solution.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/abinit/abipy/issues/156#issuecomment-402283146, or mute the threadhttps://github.com/notifications/unsubscribe-auth/Am1t3emIf4c576XIclUsYNilWX7ePBtiks5uC9Q4gaJpZM4VA7aL.