Guest User

Untitled

a guest
Sep 29th, 2017
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 3.59 KB | None | 0 0
  1. running build_ext
  2. cythoning oursqlx/oursql.pyx to oursqlx/oursql.c
  3. warning: oursqlx/query.pyx:162:8: Unreachable code
  4. 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.
  5. 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.
  6. 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.
  7. 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.
  8. 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.
  9. 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.
  10.  
  11. Error compiling Cython file:
  12. ------------------------------------------------------------
  13. ...
  14. }
  15.  
  16. Timestamp = datetime.datetime
  17. Date = datetime.date
  18. Time = datetime.time
  19. Binary = buffer
  20.               ^
  21. ------------------------------------------------------------
  22.  
  23. oursqlx/conversions.pyx:53:15: undeclared name not builtin: buffer
  24.  
  25. Error compiling Cython file:
  26. ------------------------------------------------------------
  27. ...
  28. class Warning(exceptions.Warning): pass
  29. class Note(Warning): pass
  30.  
  31. class Error(exceptions.StandardError):
  32.     def __init__(self, message, errno=None, extra=None):
  33.         StandardError.__init__(self, errno, message, extra)
  34.                     ^
  35. ------------------------------------------------------------
  36.  
  37. oursqlx/oursql.pyx:57:21: undeclared name not builtin: StandardError
  38. building 'oursql' extension
  39. mysql_config --cflags
  40. Traceback (most recent call last):
  41.   File "setup.py", line 234, in <module>
  42.     cmdclass=oursql_commands,
  43.   File "/home/ubuntu/anaconda3/lib/python3.6/distutils/core.py", line 148, in setup
  44.     dist.run_commands()
  45.   File "/home/ubuntu/anaconda3/lib/python3.6/distutils/dist.py", line 955, in run_commands
  46.     self.run_command(cmd)
  47.   File "/home/ubuntu/anaconda3/lib/python3.6/distutils/dist.py", line 974, in run_command
  48.     cmd_obj.run()
  49.   File "/home/ubuntu/anaconda3/lib/python3.6/site-packages/Cython/Distutils/old_build_ext.py", line 185, in run
  50.     _build_ext.build_ext.run(self)
  51.   File "/home/ubuntu/anaconda3/lib/python3.6/distutils/command/build_ext.py", line 339, in run
  52.     self.build_extensions()
  53.   File "/home/ubuntu/anaconda3/lib/python3.6/site-packages/Cython/Distutils/old_build_ext.py", line 193, in build_extensions
  54.     self.build_extension(ext)
  55.   File "setup.py", line 150, in build_extension
  56.     build_ext.build_extension(self, ext)
  57.   File "/home/ubuntu/anaconda3/lib/python3.6/distutils/command/build_ext.py", line 521, in build_extension
  58.     extra_args = ext.extra_compile_args or []
  59.   File "setup.py", line 29, in _get_extra_compile_args
  60.     self._mysql_compile_args = self.get_mysql_compile_args()
  61.   File "setup.py", line 100, in <lambda>
  62.     lambda: self.get_mysql_config('cflags'))
  63.   File "setup.py", line 96, in get_mysql_config
  64.     return split_quoted(stdout.strip())
  65.   File "/home/ubuntu/anaconda3/lib/python3.6/distutils/util.py", line 245, in split_quoted
  66.     m = _wordchars_re.match(s, pos)
  67. TypeError: cannot use a string pattern on a bytes-like object
Advertisement
Add Comment
Please, Sign In to add comment