Install python package zipline on cloud 9 environment

workspace
python

#1

Hello guys,

I am trying to install python on the cloud 9 environment.

I simply did below, from the installation tutorial:

pip install zipline

However, I get:

Command python setup.py egg_info failed with error code 1 in /tmp/pip_build_ubuntu/zipline
Storing debug log for failure in /home/ubuntu/.pip/pip.log

My full log looks like the following:

------------------------------------------------------------
/usr/bin/pip run on Tue Sep 13 06:28:52 2016
Downloading/unpacking zipline
  Getting page https://pypi.python.org/simple/zipline/
  URLs to search for versions for zipline:
  * https://pypi.python.org/simple/zipline/
  Analyzing links from page https://pypi.python.org/simple/zipline/
    Found link https://pypi.python.org/packages/06/8e/8355df80f313706418ee9db3521c6f0578426d92b6dcddf396d58c4de2e6/zipline-1.0.2.tar.gz#md5=4c7958ad131ebbeeec7d4399bdeff12b (from https://pypi.python.org/simple/zipline/), version: 1.0.2
    Found link https://pypi.python.org/packages/17/d3/8c58193ec8052d86ff67c00a285a01f646d3d53106844716090c22bba15e/zipline-0.6.0.tar.gz#md5=75d818c291df133946bb15a1b08ae0d8 (from https://pypi.python.org/simple/zipline/), version: 0.6.0
    Found link https://pypi.python.org/packages/1f/8c/55ea3687c717bc532753860196222f12717201719625d043448ea94f4ff6/zipline-0.5.10.tar.gz#md5=48f394a5ea83848642d879cbeaba8342 (from https://pypi.python.org/simple/zipline/), version: 0.5.10
    Found link https://pypi.python.org/packages/22/4a/affbfd183fa4133d13ecebc069bf9887c7755e531175384b57879daecfe2/zipline-0.8.3.tar.gz#md5=042ffcee614d2279add9a1bfd27a33cf (from https://pypi.python.org/simple/zipline/), version: 0.8.3
    Found link https://pypi.python.org/packages/32/29/27e8b5963f1a366c95999ae420c0221f94c3622b69af02f51f7c8b57f086/zipline-0.7.0.tar.gz#md5=62d45c3c0d9a624e787b7e413937f7b4 (from https://pypi.python.org/simple/zipline/), version: 0.7.0
    Found link https://pypi.python.org/packages/46/84/4e00850f8cd2809b2630348d19d1ccb18959be0d82907cef5413fef6436b/zipline-0.5.9.tar.gz#md5=b8a983ba23b0c7d4ab18a59af9055ab6 (from https://pypi.python.org/simple/zipline/), version: 0.5.9
    Found link https://pypi.python.org/packages/48/fa/d7dc2e7aca9574b3e06c2d105bb268b85b54633ae8580afe4dd8d607e4be/zipline-0.5.3.tar.gz#md5=e0809b60dc3775868f35ca56d6801f62 (from https://pypi.python.org/simple/zipline/), version: 0.5.3
    Found link https://pypi.python.org/packages/51/12/9e062af374e826d13e01a705b8ce9532e954d24694cf807fc699fc0978b2/zipline-0.8.1.tar.gz#md5=39a01cc0b79927122abf9f0a9aa9361d (from https://pypi.python.org/simple/zipline/), version: 0.8.1
    Skipping https://pypi.python.org/packages/60/87/7d6d6bd43af11482551eb17cde392b034d7f9d5f43be6f805be51b7bef27/zipline-0.8.3-cp34-cp34m-macosx_10_10_x86_64.whl#md5=164b2ecae2d6debba9755f6cfa69633f (from https://pypi.python.org/simple/zipline/) because it is not compatible with this Python
    Found link https://pypi.python.org/packages/76/b7/c420885e7f7b7a664797674c85886a608ae441ae9a45631f9d997ad6392c/zipline-0.5.0.tar.gz#md5=a7cc9112ef0d028768bb80e05f4ce2b4 (from https://pypi.python.org/simple/zipline/), version: 0.5.0
    Skipping https://pypi.python.org/packages/7c/c5/ad47e2ec20b9fd9e907d5e01d448c9e7dbf82b3068301566baf0c628acf9/zipline-0.8.0-cp34-cp34m-macosx_10_10_x86_64.whl#md5=c455dc96d1b409b7592ed4f7db193429 (from https://pypi.python.org/simple/zipline/) because it is not compatible with this Python
    Found link https://pypi.python.org/packages/7e/51/cb0336444aeb679cda1aabb6d7c264c1ae8562488503728ee0b23a5101ce/zipline-0.5.5.tar.gz#md5=dca0bb54cfe6ec7c92340e30d8f07469 (from https://pypi.python.org/simple/zipline/), version: 0.5.5
    Skipping https://pypi.python.org/packages/82/2e/024769455739b6da65ccaa99fdb668acebf614e1db4e241bb4a1117efdda/zipline-0.8.0-cp27-none-macosx_10_10_x86_64.whl#md5=69bc977edb5b51e5411d04b816c00c56 (from https://pypi.python.org/simple/zipline/) because it is not compatible with this Python
    Found link https://pypi.python.org/packages/89/4b/c954275b6a6582c10b6e0ef80d7fe9486e269a26338b42c99795639a46d8/zipline-0.5.6.tar.gz#md5=ab0c71f227e63c61499237b0023964df (from https://pypi.python.org/simple/zipline/), version: 0.5.6
    Found link https://pypi.python.org/packages/95/9e/98e2f815f3dd4e8f49b48431f4fc9ff8336270a9c77f5da147cf05b346e1/zipline-0.7.0rc1.tar.gz#md5=5963340584c1bddd446c09bfbbedd38c (from https://pypi.python.org/simple/zipline/), version: 0.7.0rc1
    Found link https://pypi.python.org/packages/97/cf/75e5a64093facaf990baee15eaa2cec4bb204b73cc9aa16d2dbc020591f6/zipline-0.8.4.tar.gz#md5=b385dfee59a0b0408a8dcaae7c4c1d0e (from https://pypi.python.org/simple/zipline/), version: 0.8.4
    Found link https://pypi.python.org/packages/9a/aa/5c71f400aba2586619f43b577c99c571f45cc06db3674abc063d109db018/zipline-0.5.7.tar.gz#md5=1fd26989fe73eeb4ad0bb3f997311717 (from https://pypi.python.org/simple/zipline/), version: 0.5.7
    Found link https://pypi.python.org/packages/a9/5a/5b716619d4bf9b0424ff9f975f8e4bc28641b0f4ffaa57a455722bf60cff/zipline-0.5.4.tar.gz#md5=98e873cb49bbf397b4ca17f48432a9e2 (from https://pypi.python.org/simple/zipline/), version: 0.5.4
    Found link https://pypi.python.org/packages/b5/52/708c93e51bb3e9b49dcdd9641e62fa5f1c60cf4172c0cf45567a2dece996/zipline-0.8.2.tar.gz#md5=2ddca99691409ebb8c85012ddbaecb19 (from https://pypi.python.org/simple/zipline/), version: 0.8.2
    Found link https://pypi.python.org/packages/c2/5a/0471cad4b5b392074c78622a782c2614b5c3bab68418ae3c4315031d12be/zipline-1.0.1.tar.gz#md5=645d7df6286b16466df5ed8225fd2dc7 (from https://pypi.python.org/simple/zipline/), version: 1.0.1
    Skipping https://pypi.python.org/packages/d5/34/f211a756945bc765dfeddb86d31b99b2992c123279a24c26cfd7d942575d/zipline-0.8.3-cp27-none-macosx_10_10_x86_64.whl#md5=1c87ce91a7b559b14be657c164e78c87 (from https://pypi.python.org/simple/zipline/) because it is not compatible with this Python
    Found link https://pypi.python.org/packages/d9/90/05ad3dc4e6fee0b890e5316113a2eea457a85928382ae7eacec346937f6c/zipline-0.6.1.tar.gz#md5=e07499447eccdfc97d57478daef4d114 (from https://pypi.python.org/simple/zipline/), version: 0.6.1
    Found link https://pypi.python.org/packages/dc/e0/341e3c5775201b998bd69a81c2b47cc2b40d09c56730163f4b6a9ef4336d/zipline-0.5.2.tar.gz#md5=a99e177d7aeb780b00884119069b2f36 (from https://pypi.python.org/simple/zipline/), version: 0.5.2
    Found link https://pypi.python.org/packages/df/ef/ffab7fc9bc6d4e833446a012421b470ff8c67f118a5efdbe0a593690aaa0/zipline-0.5.8.tar.gz#md5=512bb1ca2a13861c6128a852e627193f (from https://pypi.python.org/simple/zipline/), version: 0.5.8
    Found link https://pypi.python.org/packages/ec/98/e46201a8c0041112c67e7563bdd0d2c2f930f037f27cf157d1210406e0d2/zipline-0.9.0.tar.gz#md5=020494f647c8f5adab3a06ddb7e42dcc (from https://pypi.python.org/simple/zipline/), version: 0.9.0
    Found link https://pypi.python.org/packages/ee/b4/c445d8b4821e8a170dc46de3d058ea07b0fdc3dedce4f9692ebca408ebb6/zipline-0.5.1.tar.gz#md5=2f91b1c1081a401cee28b6f8583da150 (from https://pypi.python.org/simple/zipline/), version: 0.5.1
    Found link https://pypi.python.org/packages/f3/42/449f570dca8b46edc0a65e35ce5543b6b4d1ee7b8bfebd06277b054442f7/zipline-1.0.0.tar.gz#md5=cc04ef77b46b631ea05b9953b9c6d587 (from https://pypi.python.org/simple/zipline/), version: 1.0.0
  Ignoring link https://pypi.python.org/packages/95/9e/98e2f815f3dd4e8f49b48431f4fc9ff8336270a9c77f5da147cf05b346e1/zipline-0.7.0rc1.tar.gz#md5=5963340584c1bddd446c09bfbbedd38c (from https://pypi.python.org/simple/zipline/), version 0.7.0rc1 is a pre-release (use --pre to allow).
  Using version 1.0.2 (newest of versions: 1.0.2, 1.0.1, 1.0.0, 0.9.0, 0.8.4, 0.8.3, 0.8.2, 0.8.1, 0.7.0, 0.6.1, 0.6.0, 0.5.10, 0.5.9, 0.5.8, 0.5.7, 0.5.6, 0.5.5, 0.5.4, 0.5.3, 0.5.2, 0.5.1, 0.5.0)
  Downloading from URL https://pypi.python.org/packages/06/8e/8355df80f313706418ee9db3521c6f0578426d92b6dcddf396d58c4de2e6/zipline-1.0.2.tar.gz#md5=4c7958ad131ebbeeec7d4399bdeff12b (from https://pypi.python.org/simple/zipline/)
  Running setup.py (path:/tmp/pip_build_ubuntu/zipline/setup.py) egg_info for package zipline
    warning: no files found matching '*.pyx' under directory 'Cython/Debugger/Tests'
    warning: no files found matching '*.pxd' under directory 'Cython/Debugger/Tests'
    warning: no files found matching '*.h' under directory 'Cython/Debugger/Tests'
    warning: no files found matching '*.pxd' under directory 'Cython/Utility'
    Unable to find pgen, not compiling formal grammar.
    
    Installed /tmp/pip_build_ubuntu/zipline/Cython-0.24.1-py2.7-linux-x86_64.egg
    Traceback (most recent call last):
      File "<string>", line 17, in <module>
      File "/tmp/pip_build_ubuntu/zipline/setup.py", line 300, in <module>
        **conditional_arguments
      File "/usr/lib/python2.7/distutils/core.py", line 111, in setup
        _setup_distribution = dist = klass(attrs)
      File "/usr/lib/python2.7/dist-packages/setuptools/dist.py", line 239, in __init__
        self.fetch_build_eggs(attrs.pop('setup_requires'))
      File "/usr/lib/python2.7/dist-packages/setuptools/dist.py", line 264, in fetch_build_eggs
        replace_conflicting=True
      File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 620, in resolve
        dist = best[req.key] = env.best_match(req, ws, installer)
      File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 852, in best_match
        dist = working_set.find(req)
      File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 503, in find
        raise VersionConflict(dist,req)     # XXX add more info
    pkg_resources.VersionConflict: (numpy 1.8.2 (/usr/lib/python2.7/dist-packages), Requirement.parse('numpy>=1.9.2'))
    Complete output from command python setup.py egg_info:
    warning: no files found matching '*.pyx' under directory 'Cython/Debugger/Tests'

warning: no files found matching '*.pxd' under directory 'Cython/Debugger/Tests'

warning: no files found matching '*.h' under directory 'Cython/Debugger/Tests'

warning: no files found matching '*.pxd' under directory 'Cython/Utility'

Unable to find pgen, not compiling formal grammar.



Installed /tmp/pip_build_ubuntu/zipline/Cython-0.24.1-py2.7-linux-x86_64.egg

Traceback (most recent call last):

  File "<string>", line 17, in <module>

  File "/tmp/pip_build_ubuntu/zipline/setup.py", line 300, in <module>

    **conditional_arguments

  File "/usr/lib/python2.7/distutils/core.py", line 111, in setup

    _setup_distribution = dist = klass(attrs)

  File "/usr/lib/python2.7/dist-packages/setuptools/dist.py", line 239, in __init__

    self.fetch_build_eggs(attrs.pop('setup_requires'))

  File "/usr/lib/python2.7/dist-packages/setuptools/dist.py", line 264, in fetch_build_eggs

    replace_conflicting=True

  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 620, in resolve

    dist = best[req.key] = env.best_match(req, ws, installer)

  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 852, in best_match

    dist = working_set.find(req)

  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 503, in find

    raise VersionConflict(dist,req)     # XXX add more info

pkg_resources.VersionConflict: (numpy 1.8.2 (/usr/lib/python2.7/dist-packages), Requirement.parse('numpy>=1.9.2'))

----------------------------------------
Cleaning up...
  Removing temporary dir /tmp/pip_build_ubuntu...
Command python setup.py egg_info failed with error code 1 in /tmp/pip_build_ubuntu/zipline
Exception information:
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 122, in main
    status = self.run(options, args)
  File "/usr/lib/python2.7/dist-packages/pip/commands/install.py", line 278, in run
    requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle)
  File "/usr/lib/python2.7/dist-packages/pip/req.py", line 1230, in prepare_files
    req_to_install.run_egg_info()
  File "/usr/lib/python2.7/dist-packages/pip/req.py", line 326, in run_egg_info
    command_desc='python setup.py egg_info')
  File "/usr/lib/python2.7/dist-packages/pip/util.py", line 715, in call_subprocess
    % (command_desc, proc.returncode, cwd))
InstallationError: Command python setup.py egg_info failed with error code 1 in /tmp/pip_build_ubuntu/zipline

Any suggestions, why it is not working?

I appreciate your replies!


#2

Any suggestions? What else could I try on the c9 ide?


#3

Hey pisco, any news on this?
I have the same error trying to install dataset

sudo pip install dataset

The directory '/home/ubuntu/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
The directory '/home/ubuntu/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
Requirement already satisfied (use --upgrade to upgrade): dataset in /usr/local/lib/python2.7/dist-packages/dataset-0.7.0-py2.7.egg
Requirement already satisfied (use --upgrade to upgrade): six in /usr/local/lib/python2.7/dist-packages (from dataset)
Requirement already satisfied (use --upgrade to upgrade): sqlalchemy>=0.9.1 in /usr/local/lib/python2.7/dist-packages (from dataset)
Requirement already satisfied (use --upgrade to upgrade): alembic>=0.6.2 in /usr/local/lib/python2.7/dist-packages (from dataset)
Requirement already satisfied (use --upgrade to upgrade): normality>=0.2.2 in /usr/local/lib/python2.7/dist-packages/normality-0.2.4-py2.7.egg (from dataset)
Collecting PyYAML>=3.10 (from dataset)
/usr/local/lib/python2.7/dist-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:318: SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#snimissingwarning.
  SNIMissingWarning
/usr/local/lib/python2.7/dist-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:122: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
  InsecurePlatformWarning
  Downloading PyYAML-3.12.tar.gz (253kB)
    100% |████████████████████████████████| 256kB 3.4MB/s 
Collecting Mako (from alembic>=0.6.2->dataset)
  Downloading Mako-1.0.4.tar.gz (574kB)
    100% |████████████████████████████████| 583kB 1.7MB/s 
Collecting python-editor>=0.3 (from alembic>=0.6.2->dataset)
  Downloading python-editor-1.0.1.tar.gz
Requirement already satisfied (use --upgrade to upgrade): MarkupSafe>=0.9.2 in /usr/local/lib/python2.7/dist-packages (from Mako->alembic>=0.6.2->dataset)
Installing collected packages: PyYAML, Mako, python-editor
  Running setup.py install for PyYAML ... error
    Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-dof1Ff/PyYAML/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-EBRLmX-record/install-record.txt --single-version-externally-managed --compile:
    running install
    running build
    running build_py
    creating build
    creating build/lib.linux-x86_64-2.7
    creating build/lib.linux-x86_64-2.7/yaml
    copying lib/yaml/representer.py -> build/lib.linux-x86_64-2.7/yaml
    copying lib/yaml/reader.py -> build/lib.linux-x86_64-2.7/yaml
    copying lib/yaml/tokens.py -> build/lib.linux-x86_64-2.7/yaml
    copying lib/yaml/nodes.py -> build/lib.linux-x86_64-2.7/yaml
    copying lib/yaml/parser.py -> build/lib.linux-x86_64-2.7/yaml
    copying lib/yaml/__init__.py -> build/lib.linux-x86_64-2.7/yaml
    copying lib/yaml/resolver.py -> build/lib.linux-x86_64-2.7/yaml
    copying lib/yaml/scanner.py -> build/lib.linux-x86_64-2.7/yaml
    copying lib/yaml/composer.py -> build/lib.linux-x86_64-2.7/yaml
    copying lib/yaml/emitter.py -> build/lib.linux-x86_64-2.7/yaml
    copying lib/yaml/loader.py -> build/lib.linux-x86_64-2.7/yaml
    copying lib/yaml/cyaml.py -> build/lib.linux-x86_64-2.7/yaml
    copying lib/yaml/events.py -> build/lib.linux-x86_64-2.7/yaml
    copying lib/yaml/error.py -> build/lib.linux-x86_64-2.7/yaml
    copying lib/yaml/dumper.py -> build/lib.linux-x86_64-2.7/yaml
    copying lib/yaml/serializer.py -> build/lib.linux-x86_64-2.7/yaml
    copying lib/yaml/constructor.py -> build/lib.linux-x86_64-2.7/yaml
    running build_ext
    creating build/temp.linux-x86_64-2.7
    checking if libyaml is compilable
    x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c build/temp.linux-x86_64-2.7/check_libyaml.c -o build/temp.linux-x86_64-2.7/check_libyaml.o
    checking if libyaml is linkable
    x86_64-linux-gnu-gcc -pthread build/temp.linux-x86_64-2.7/check_libyaml.o -lyaml -o build/temp.linux-x86_64-2.7/check_libyaml
    building '_yaml' extension
    creating build/temp.linux-x86_64-2.7/ext
    x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c ext/_yaml.c -o build/temp.linux-x86_64-2.7/ext/_yaml.o
    ext/_yaml.c:4:20: fatal error: Python.h: No such file or directory
     #include "Python.h"
                        ^
    compilation terminated.
    error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
    
    ----------------------------------------
**Command "/usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-dof1Ff/PyYAML/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-EBRLmX-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-dof1Ff/PyYAML/**

I see you are already 15 days with no news. I checked other topics with similar errors also no solution.

Did some research and tried:

Well, nothing works. When trying to install dataset or yaml. I see a lot of people complaining about this on linux 14.04 LTS. Good part ot them found a solution, none of them worked for me.

But, when using pip3, it installs normaly on py3 path.

So pisco, how did you managed it?

Maybe somebody experienced can help?

Thanks.


#4

Hey, I was using a blank cloud 9 project.
Now I just tried the same command and I had no MAJOR errors at a Python project.
Some warnings thou:

sudo easy_install dataset

...
   Running PyYAML-3.12/setup.py -q bdist_egg --dist-dir /tmp/easy_install-75Pmix/PyYAML-3.12/egg-dist-tmp-oUPcNK
In file included from ext/_yaml.c:271:0:
ext/_yaml.h:6:0: warning: "PyUnicode_FromString" redefined [enabled by default]
 #define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), "strict")
 ^
In file included from /usr/include/python2.7/Python.h:85:0,
                 from ext/_yaml.c:4:
/usr/include/python2.7/unicodeobject.h:281:0: note: this is the location of the previous definition
 # define PyUnicode_FromString PyUnicodeUCS4_FromString
 ^
ext/_yaml.c: In function ‘__pyx_pf_5_yaml_get_version_string’:
ext/_yaml.c:1410:17: warning: assignment discards ‘const’ qualifier from pointer target type [enabled by default]
   __pyx_v_value = yaml_get_version_string();
                 ^
ext/_yaml.c: In function ‘__pyx_pf_5_yaml_7CParser___init__’:
ext/_yaml.c:2577:5: warning: passing argument 2 of ‘yaml_parser_set_input’ from incompatible pointer type [enabled by default]
     yaml_parser_set_input((&__pyx_v_self->parser), __pyx_f_5_yaml_input_handler, ((void *)__pyx_v_self));
     ^
In file included from ext/_yaml.h:2:0,
                 from ext/_yaml.c:271:
/usr/include/yaml.h:1367:1: note: expected ‘int (*)(void *, unsigned char *, size_t,  size_t *)’ but argument is of type ‘int (*)(void *, char *, size_t,  size_t *)’
 yaml_parser_set_input(yaml_parser_t *parser,
 ^
ext/_yaml.c:2818:5: warning: pointer targets in passing argument 2 of ‘yaml_parser_set_input_string’ differ in signedness [-Wpointer-sign]
     yaml_parser_set_input_string((&__pyx_v_self->parser), PyString_AS_STRING(__pyx_v_stream), PyString_GET_SIZE(__pyx_v_stream));
     ^
In file included from ext/_yaml.h:2:0,
                 from ext/_yaml.c:271:
/usr/include/yaml.h:1341:1: note: expected ‘const unsigned char *’ but argument is of type ‘char *’
 yaml_parser_set_input_string(yaml_parser_t *parser,
 ^
ext/_yaml.c: In function ‘__pyx_f_5_yaml_7CParser__token_to_object’:
ext/_yaml.c:4572:5: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-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)
     ^
In file included from /usr/include/python2.7/Python.h:38:0,
                 from ext/_yaml.c:4:
/usr/include/string.h:399:15: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’
 extern size_t strlen (const char *__s)
               ^
ext/_yaml.c:4572:5: warning: pointer targets in passing argument 1 of ‘PyUnicodeUCS4_DecodeUTF8’ differ in signedness [-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)
     ^
In file included from /usr/include/python2.7/Python.h:85:0,
                 from ext/_yaml.c:4:
/usr/include/python2.7/unicodeobject.h:261:31: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’
 # define PyUnicode_DecodeUTF8 PyUnicodeUCS4_DecodeUTF8
                               ^
/usr/include/python2.7/unicodeobject.h:750:23: note: in expansion of macro ‘PyUnicode_DecodeUTF8’
 PyAPI_FUNC(PyObject*) PyUnicode_DecodeUTF8(
                       ^
ext/_yaml.c:4584:5: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-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)
     ^
In file included from /usr/include/python2.7/Python.h:38:0,
                 from ext/_yaml.c:4:
/usr/include/string.h:399:15: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’
 extern size_t strlen (const char *__s)
               ^
ext/_yaml.c:4584:5: warning: pointer targets in passing argument 1 of ‘PyUnicodeUCS4_DecodeUTF8’ differ in signedness [-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)
     ^
In file included from /usr/include/python2.7/Python.h:85:0,
                 from ext/_yaml.c:4:
/usr/include/python2.7/unicodeobject.h:261:31: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’
 # define PyUnicode_DecodeUTF8 PyUnicodeUCS4_DecodeUTF8
                               ^
/usr/include/python2.7/unicodeobject.h:750:23: note: in expansion of macro ‘PyUnicode_DecodeUTF8’
 PyAPI_FUNC(PyObject*) PyUnicode_DecodeUTF8(
                       ^
ext/_yaml.c:5444:5: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-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)
     ^
In file included from /usr/include/python2.7/Python.h:38:0,
                 from ext/_yaml.c:4:
/usr/include/string.h:399:15: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’
 extern size_t strlen (const char *__s)
               ^
ext/_yaml.c:5444:5: warning: pointer targets in passing argument 1 of ‘PyUnicodeUCS4_DecodeUTF8’ differ in signedness [-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)
     ^
In file included from /usr/include/python2.7/Python.h:85:0,
                 from ext/_yaml.c:4:
/usr/include/python2.7/unicodeobject.h:261:31: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’
 # define PyUnicode_DecodeUTF8 PyUnicodeUCS4_DecodeUTF8
                               ^
/usr/include/python2.7/unicodeobject.h:750:23: note: in expansion of macro ‘PyUnicode_DecodeUTF8’
 PyAPI_FUNC(PyObject*) PyUnicode_DecodeUTF8(
                       ^
ext/_yaml.c:5518:5: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-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)
     ^
In file included from /usr/include/python2.7/Python.h:38:0,
                 from ext/_yaml.c:4:
/usr/include/string.h:399:15: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’
 extern size_t strlen (const char *__s)
               ^
ext/_yaml.c:5518:5: warning: pointer targets in passing argument 1 of ‘PyUnicodeUCS4_DecodeUTF8’ differ in signedness [-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)
     ^
In file included from /usr/include/python2.7/Python.h:85:0,
                 from ext/_yaml.c:4:
/usr/include/python2.7/unicodeobject.h:261:31: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’
 # define PyUnicode_DecodeUTF8 PyUnicodeUCS4_DecodeUTF8
                               ^
/usr/include/python2.7/unicodeobject.h:750:23: note: in expansion of macro ‘PyUnicode_DecodeUTF8’
 PyAPI_FUNC(PyObject*) PyUnicode_DecodeUTF8(
                       ^
ext/_yaml.c:5592:5: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-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)
     ^
In file included from /usr/include/python2.7/Python.h:38:0,
                 from ext/_yaml.c:4:
/usr/include/string.h:399:15: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’
 extern size_t strlen (const char *__s)
               ^
ext/_yaml.c:5592:5: warning: pointer targets in passing argument 1 of ‘PyUnicodeUCS4_DecodeUTF8’ differ in signedness [-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)
     ^
In file included from /usr/include/python2.7/Python.h:85:0,
                 from ext/_yaml.c:4:
/usr/include/python2.7/unicodeobject.h:261:31: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’
 # define PyUnicode_DecodeUTF8 PyUnicodeUCS4_DecodeUTF8
                               ^
/usr/include/python2.7/unicodeobject.h:750:23: note: in expansion of macro ‘PyUnicode_DecodeUTF8’
 PyAPI_FUNC(PyObject*) PyUnicode_DecodeUTF8(
                       ^
ext/_yaml.c:5604:5: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-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)
     ^
In file included from /usr/include/python2.7/Python.h:38:0,
                 from ext/_yaml.c:4:
/usr/include/string.h:399:15: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’
 extern size_t strlen (const char *__s)
               ^
ext/_yaml.c:5604:5: warning: pointer targets in passing argument 1 of ‘PyUnicodeUCS4_DecodeUTF8’ differ in signedness [-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)
     ^
In file included from /usr/include/python2.7/Python.h:85:0,
                 from ext/_yaml.c:4:
/usr/include/python2.7/unicodeobject.h:261:31: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’
 # define PyUnicode_DecodeUTF8 PyUnicodeUCS4_DecodeUTF8
                               ^
/usr/include/python2.7/unicodeobject.h:750:23: note: in expansion of macro ‘PyUnicode_DecodeUTF8’
 PyAPI_FUNC(PyObject*) PyUnicode_DecodeUTF8(
                       ^
ext/_yaml.c:5716:5: warning: pointer targets in passing argument 1 of ‘PyUnicodeUCS4_DecodeUTF8’ differ in signedness [-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)
     ^
In file included from /usr/include/python2.7/Python.h:85:0,
                 from ext/_yaml.c:4:
/usr/include/python2.7/unicodeobject.h:261:31: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’
 # define PyUnicode_DecodeUTF8 PyUnicodeUCS4_DecodeUTF8
                               ^
/usr/include/python2.7/unicodeobject.h:750:23: note: in expansion of macro ‘PyUnicode_DecodeUTF8’
 PyAPI_FUNC(PyObject*) PyUnicode_DecodeUTF8(
                       ^
ext/_yaml.c: In function ‘__pyx_f_5_yaml_7CParser__event_to_object’:
ext/_yaml.c:7424:9: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign]
         __pyx_t_4 = PyUnicode_FromString(__pyx_v_tag_directive->handle); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 574, __pyx_L1_error)
         ^
In file included from /usr/include/python2.7/Python.h:38:0,
                 from ext/_yaml.c:4:
/usr/include/string.h:399:15: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’
 extern size_t strlen (const char *__s)
               ^
ext/_yaml.c:7424:9: warning: pointer targets in passing argument 1 of ‘PyUnicodeUCS4_DecodeUTF8’ differ in signedness [-Wpointer-sign]
         __pyx_t_4 = PyUnicode_FromString(__pyx_v_tag_directive->handle); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 574, __pyx_L1_error)
         ^
In file included from /usr/include/python2.7/Python.h:85:0,
                 from ext/_yaml.c:4:
/usr/include/python2.7/unicodeobject.h:261:31: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’
 # define PyUnicode_DecodeUTF8 PyUnicodeUCS4_DecodeUTF8
                               ^
/usr/include/python2.7/unicodeobject.h:750:23: note: in expansion of macro ‘PyUnicode_DecodeUTF8’
 PyAPI_FUNC(PyObject*) PyUnicode_DecodeUTF8(
                       ^
ext/_yaml.c:7436:9: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign]
         __pyx_t_4 = PyUnicode_FromString(__pyx_v_tag_directive->prefix); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 575, __pyx_L1_error)
         ^
In file included from /usr/include/python2.7/Python.h:38:0,
                 from ext/_yaml.c:4:
/usr/include/string.h:399:15: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’
 extern size_t strlen (const char *__s)
               ^
ext/_yaml.c:7436:9: warning: pointer targets in passing argument 1 of ‘PyUnicodeUCS4_DecodeUTF8’ differ in signedness [-Wpointer-sign]
         __pyx_t_4 = PyUnicode_FromString(__pyx_v_tag_directive->prefix); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 575, __pyx_L1_error)
         ^
In file included from /usr/include/python2.7/Python.h:85:0,
                 from ext/_yaml.c:4:
/usr/include/python2.7/unicodeobject.h:261:31: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’
 # define PyUnicode_DecodeUTF8 PyUnicodeUCS4_DecodeUTF8
                               ^
/usr/include/python2.7/unicodeobject.h:750:23: note: in expansion of macro ‘PyUnicode_DecodeUTF8’
 PyAPI_FUNC(PyObject*) PyUnicode_DecodeUTF8(
                       ^
ext/_yaml.c:7655:5: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-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)
     ^
In file included from /usr/include/python2.7/Python.h:38:0,
                 from ext/_yaml.c:4:
/usr/include/string.h:399:15: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’
 extern size_t strlen (const char *__s)
               ^
ext/_yaml.c:7655:5: warning: pointer targets in passing argument 1 of ‘PyUnicodeUCS4_DecodeUTF8’ differ in signedness [-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)
     ^
In file included from /usr/include/python2.7/Python.h:85:0,
                 from ext/_yaml.c:4:
/usr/include/python2.7/unicodeobject.h:261:31: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’
 # define PyUnicode_DecodeUTF8 PyUnicodeUCS4_DecodeUTF8
                               ^
/usr/include/python2.7/unicodeobject.h:750:23: note: in expansion of macro ‘PyUnicode_DecodeUTF8’
 PyAPI_FUNC(PyObject*) PyUnicode_DecodeUTF8(
                       ^
ext/_yaml.c:7749:7: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-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)
       ^
In file included from /usr/include/python2.7/Python.h:38:0,
                 from ext/_yaml.c:4:
/usr/include/string.h:399:15: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’
 extern size_t strlen (const char *__s)
               ^
ext/_yaml.c:7749:7: warning: pointer targets in passing argument 1 of ‘PyUnicodeUCS4_DecodeUTF8’ differ in signedness [-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)
       ^
In file included from /usr/include/python2.7/Python.h:85:0,
                 from ext/_yaml.c:4:
/usr/include/python2.7/unicodeobject.h:261:31: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’
 # define PyUnicode_DecodeUTF8 PyUnicodeUCS4_DecodeUTF8
                               ^
/usr/include/python2.7/unicodeobject.h:750:23: note: in expansion of macro ‘PyUnicode_DecodeUTF8’
 PyAPI_FUNC(PyObject*) PyUnicode_DecodeUTF8(
                       ^
ext/_yaml.c:7790:7: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-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)
       ^
In file included from /usr/include/python2.7/Python.h:38:0,
                 from ext/_yaml.c:4:
/usr/include/string.h:399:15: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’
 extern size_t strlen (const char *__s)
               ^
ext/_yaml.c:7790:7: warning: pointer targets in passing argument 1 of ‘PyUnicodeUCS4_DecodeUTF8’ differ in signedness [-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)
       ^
In file included from /usr/include/python2.7/Python.h:85:0,
                 from ext/_yaml.c:4:
/usr/include/python2.7/unicodeobject.h:261:31: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’
 # define PyUnicode_DecodeUTF8 PyUnicodeUCS4_DecodeUTF8
                               ^
/usr/include/python2.7/unicodeobject.h:750:23: note: in expansion of macro ‘PyUnicode_DecodeUTF8’
 PyAPI_FUNC(PyObject*) PyUnicode_DecodeUTF8(
                       ^
ext/_yaml.c:7811:5: warning: pointer targets in passing argument 1 of ‘PyUnicodeUCS4_DecodeUTF8’ differ in signedness [-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)
     ^
In file included from /usr/include/python2.7/Python.h:85:0,
                 from ext/_yaml.c:4:
/usr/include/python2.7/unicodeobject.h:261:31: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’
 # define PyUnicode_DecodeUTF8 PyUnicodeUCS4_DecodeUTF8
                               ^
/usr/include/python2.7/unicodeobject.h:750:23: note: in expansion of macro ‘PyUnicode_DecodeUTF8’
 PyAPI_FUNC(PyObject*) PyUnicode_DecodeUTF8(
                       ^
ext/_yaml.c:8179:7: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-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)
       ^
In file included from /usr/include/python2.7/Python.h:38:0,
                 from ext/_yaml.c:4:
/usr/include/string.h:399:15: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’
 extern size_t strlen (const char *__s)
               ^
ext/_yaml.c:8179:7: warning: pointer targets in passing argument 1 of ‘PyUnicodeUCS4_DecodeUTF8’ differ in signedness [-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)
       ^
In file included from /usr/include/python2.7/Python.h:85:0,
                 from ext/_yaml.c:4:
/usr/include/python2.7/unicodeobject.h:261:31: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’
 # define PyUnicode_DecodeUTF8 PyUnicodeUCS4_DecodeUTF8
                               ^
/usr/include/python2.7/unicodeobject.h:750:23: note: in expansion of macro ‘PyUnicode_DecodeUTF8’
 PyAPI_FUNC(PyObject*) PyUnicode_DecodeUTF8(
                       ^
ext/_yaml.c:8220:7: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-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)
       ^
In file included from /usr/include/python2.7/Python.h:38:0,
                 from ext/_yaml.c:4:
/usr/include/string.h:399:15: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’
 extern size_t strlen (const char *__s)
               ^
ext/_yaml.c:8220:7: warning: pointer targets in passing argument 1 of ‘PyUnicodeUCS4_DecodeUTF8’ differ in signedness [-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)
       ^
In file included from /usr/include/python2.7/Python.h:85:0,
                 from ext/_yaml.c:4:
/usr/include/python2.7/unicodeobject.h:261:31: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’
 # define PyUnicode_DecodeUTF8 PyUnicodeUCS4_DecodeUTF8
                               ^
/usr/include/python2.7/unicodeobject.h:750:23: note: in expansion of macro ‘PyUnicode_DecodeUTF8’
 PyAPI_FUNC(PyObject*) PyUnicode_DecodeUTF8(
                       ^
ext/_yaml.c:8449:7: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-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)
       ^
In file included from /usr/include/python2.7/Python.h:38:0,
                 from ext/_yaml.c:4:
/usr/include/string.h:399:15: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’
 extern size_t strlen (const char *__s)
               ^
ext/_yaml.c:8449:7: warning: pointer targets in passing argument 1 of ‘PyUnicodeUCS4_DecodeUTF8’ differ in signedness [-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)
       ^
In file included from /usr/include/python2.7/Python.h:85:0,
                 from ext/_yaml.c:4:
/usr/include/python2.7/unicodeobject.h:261:31: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’
 # define PyUnicode_DecodeUTF8 PyUnicodeUCS4_DecodeUTF8
                               ^
/usr/include/python2.7/unicodeobject.h:750:23: note: in expansion of macro ‘PyUnicode_DecodeUTF8’
 PyAPI_FUNC(PyObject*) PyUnicode_DecodeUTF8(
                       ^
ext/_yaml.c:8490:7: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-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)
       ^
In file included from /usr/include/python2.7/Python.h:38:0,
                 from ext/_yaml.c:4:
/usr/include/string.h:399:15: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’
 extern size_t strlen (const char *__s)
               ^
ext/_yaml.c:8490:7: warning: pointer targets in passing argument 1 of ‘PyUnicodeUCS4_DecodeUTF8’ differ in signedness [-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)
       ^
In file included from /usr/include/python2.7/Python.h:85:0,
                 from ext/_yaml.c:4:
/usr/include/python2.7/unicodeobject.h:261:31: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’
 # define PyUnicode_DecodeUTF8 PyUnicodeUCS4_DecodeUTF8
                               ^
/usr/include/python2.7/unicodeobject.h:750:23: note: in expansion of macro ‘PyUnicode_DecodeUTF8’
 PyAPI_FUNC(PyObject*) PyUnicode_DecodeUTF8(
                       ^
ext/_yaml.c: In function ‘__pyx_f_5_yaml_7CParser__compose_node’:
ext/_yaml.c:10094:5: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-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)
     ^
In file included from /usr/include/python2.7/Python.h:38:0,
                 from ext/_yaml.c:4:
/usr/include/string.h:399:15: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’
 extern size_t strlen (const char *__s)
               ^
ext/_yaml.c:10094:5: warning: pointer targets in passing argument 1 of ‘PyUnicodeUCS4_DecodeUTF8’ differ in signedness [-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)
     ^
In file included from /usr/include/python2.7/Python.h:85:0,
                 from ext/_yaml.c:4:
/usr/include/python2.7/unicodeobject.h:261:31: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’
 # define PyUnicode_DecodeUTF8 PyUnicodeUCS4_DecodeUTF8
                               ^
/usr/include/python2.7/unicodeobject.h:750:23: note: in expansion of macro ‘PyUnicode_DecodeUTF8’
 PyAPI_FUNC(PyObject*) PyUnicode_DecodeUTF8(
                       ^
ext/_yaml.c:10378:5: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-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)
     ^
In file included from /usr/include/python2.7/Python.h:38:0,
                 from ext/_yaml.c:4:
/usr/include/string.h:399:15: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’
 extern size_t strlen (const char *__s)
               ^
ext/_yaml.c:10378:5: warning: pointer targets in passing argument 1 of ‘PyUnicodeUCS4_DecodeUTF8’ differ in signedness [-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)
     ^
In file included from /usr/include/python2.7/Python.h:85:0,
                 from ext/_yaml.c:4:
/usr/include/python2.7/unicodeobject.h:261:31: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’
 # define PyUnicode_DecodeUTF8 PyUnicodeUCS4_DecodeUTF8
                               ^
/usr/include/python2.7/unicodeobject.h:750:23: note: in expansion of macro ‘PyUnicode_DecodeUTF8’
 PyAPI_FUNC(PyObject*) PyUnicode_DecodeUTF8(
                       ^
ext/_yaml.c:10434:5: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-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)
     ^
In file included from /usr/include/python2.7/Python.h:38:0,
                 from ext/_yaml.c:4:
/usr/include/string.h:399:15: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’
 extern size_t strlen (const char *__s)
               ^
ext/_yaml.c:10434:5: warning: pointer targets in passing argument 1 of ‘PyUnicodeUCS4_DecodeUTF8’ differ in signedness [-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)
     ^
In file included from /usr/include/python2.7/Python.h:85:0,
                 from ext/_yaml.c:4:
/usr/include/python2.7/unicodeobject.h:261:31: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’
 # define PyUnicode_DecodeUTF8 PyUnicodeUCS4_DecodeUTF8
                               ^
/usr/include/python2.7/unicodeobject.h:750:23: note: in expansion of macro ‘PyUnicode_DecodeUTF8’
 PyAPI_FUNC(PyObject*) PyUnicode_DecodeUTF8(
                       ^
ext/_yaml.c:10490:5: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-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)
     ^
In file included from /usr/include/python2.7/Python.h:38:0,
                 from ext/_yaml.c:4:
/usr/include/string.h:399:15: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’
 extern size_t strlen (const char *__s)
               ^
ext/_yaml.c:10490:5: warning: pointer targets in passing argument 1 of ‘PyUnicodeUCS4_DecodeUTF8’ differ in signedness [-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)
     ^
In file included from /usr/include/python2.7/Python.h:85:0,
                 from ext/_yaml.c:4:
/usr/include/python2.7/unicodeobject.h:261:31: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’
 # define PyUnicode_DecodeUTF8 PyUnicodeUCS4_DecodeUTF8
                               ^
/usr/include/python2.7/unicodeobject.h:750:23: note: in expansion of macro ‘PyUnicode_DecodeUTF8’
 PyAPI_FUNC(PyObject*) PyUnicode_DecodeUTF8(
                       ^
ext/_yaml.c: In function ‘__pyx_f_5_yaml_7CParser__compose_scalar_node’:
ext/_yaml.c:11109:3: warning: pointer targets in passing argument 1 of ‘PyUnicodeUCS4_DecodeUTF8’ differ in signedness [-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)
   ^
In file included from /usr/include/python2.7/Python.h:85:0,
                 from ext/_yaml.c:4:
/usr/include/python2.7/unicodeobject.h:261:31: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’
 # define PyUnicode_DecodeUTF8 PyUnicodeUCS4_DecodeUTF8
                               ^
/usr/include/python2.7/unicodeobject.h:750:23: note: in expansion of macro ‘PyUnicode_DecodeUTF8’
 PyAPI_FUNC(PyObject*) PyUnicode_DecodeUTF8(
                       ^
ext/_yaml.c:11310:5: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-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)
     ^
In file included from /usr/include/python2.7/Python.h:38:0,
                 from ext/_yaml.c:4:
/usr/include/string.h:399:15: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’
 extern size_t strlen (const char *__s)
               ^
ext/_yaml.c:11310:5: warning: pointer targets in passing argument 1 of ‘PyUnicodeUCS4_DecodeUTF8’ differ in signedness [-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)
     ^
In file included from /usr/include/python2.7/Python.h:85:0,
                 from ext/_yaml.c:4:
/usr/include/python2.7/unicodeobject.h:261:31: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’
 # define PyUnicode_DecodeUTF8 PyUnicodeUCS4_DecodeUTF8
                               ^