Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- running build_ext
- cythoning oursqlx/oursql.pyx to oursqlx/oursql.c
- warning: oursqlx/query.pyx:162:8: Unreachable code
- warning: oursqlx/oursql.pxi:193:13: Non-trivial type declarators in shared declaration (e.g. mix of pointers and values). Each pointer declaration should be on its own line.
- warning: oursqlx/oursql.pxi:193:20: Non-trivial type declarators in shared declaration (e.g. mix of pointers and values). Each pointer declaration should be on its own line.
- warning: oursqlx/statement.pyx:273:24: Non-trivial type declarators in shared declaration (e.g. mix of pointers and values). Each pointer declaration should be on its own line.
- warning: oursqlx/statement.pyx:273:38: Non-trivial type declarators in shared declaration (e.g. mix of pointers and values). Each pointer declaration should be on its own line.
- warning: oursqlx/statement.pyx:274:25: Non-trivial type declarators in shared declaration (e.g. mix of pointers and values). Each pointer declaration should be on its own line.
- warning: oursqlx/statement.pyx:274:34: Non-trivial type declarators in shared declaration (e.g. mix of pointers and values). Each pointer declaration should be on its own line.
- Error compiling Cython file:
- ------------------------------------------------------------
- ...
- }
- Timestamp = datetime.datetime
- Date = datetime.date
- Time = datetime.time
- Binary = buffer
- ^
- ------------------------------------------------------------
- oursqlx/conversions.pyx:53:15: undeclared name not builtin: buffer
- Error compiling Cython file:
- ------------------------------------------------------------
- ...
- class Warning(exceptions.Warning): pass
- class Note(Warning): pass
- class Error(exceptions.StandardError):
- def __init__(self, message, errno=None, extra=None):
- StandardError.__init__(self, errno, message, extra)
- ^
- ------------------------------------------------------------
- oursqlx/oursql.pyx:57:21: undeclared name not builtin: StandardError
- building 'oursql' extension
- mysql_config --cflags
- Traceback (most recent call last):
- File "setup.py", line 234, in <module>
- cmdclass=oursql_commands,
- File "/home/ubuntu/anaconda3/lib/python3.6/distutils/core.py", line 148, in setup
- dist.run_commands()
- File "/home/ubuntu/anaconda3/lib/python3.6/distutils/dist.py", line 955, in run_commands
- self.run_command(cmd)
- File "/home/ubuntu/anaconda3/lib/python3.6/distutils/dist.py", line 974, in run_command
- cmd_obj.run()
- File "/home/ubuntu/anaconda3/lib/python3.6/site-packages/Cython/Distutils/old_build_ext.py", line 185, in run
- _build_ext.build_ext.run(self)
- File "/home/ubuntu/anaconda3/lib/python3.6/distutils/command/build_ext.py", line 339, in run
- self.build_extensions()
- File "/home/ubuntu/anaconda3/lib/python3.6/site-packages/Cython/Distutils/old_build_ext.py", line 193, in build_extensions
- self.build_extension(ext)
- File "setup.py", line 150, in build_extension
- build_ext.build_extension(self, ext)
- File "/home/ubuntu/anaconda3/lib/python3.6/distutils/command/build_ext.py", line 521, in build_extension
- extra_args = ext.extra_compile_args or []
- File "setup.py", line 29, in _get_extra_compile_args
- self._mysql_compile_args = self.get_mysql_compile_args()
- File "setup.py", line 100, in <lambda>
- lambda: self.get_mysql_config('cflags'))
- File "setup.py", line 96, in get_mysql_config
- return split_quoted(stdout.strip())
- File "/home/ubuntu/anaconda3/lib/python3.6/distutils/util.py", line 245, in split_quoted
- m = _wordchars_re.match(s, pos)
- TypeError: cannot use a string pattern on a bytes-like object
Advertisement
Add Comment
Please, Sign In to add comment