Guest User

Untitled

a guest
Jun 23rd, 2018
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.56 KB | None | 0 0
  1. Collecting oursql
  2. Using cached oursql-0.9.3.1.tar.bz2
  3. Building wheels for collected packages: oursql
  4. Running setup.py bdist_wheel for oursql
  5. Complete output from command /home/raghav/janpro/release_1/venv/bin/python2 -c "import setuptools;__file__='/tmp/pip-build-ndxBoY/oursql/setup.py';exec(compile(open(__file__).read().replace('rn', 'n'), __file__, 'exec'))" bdist_wheel -d /tmp/tmpe4k7ejpip-wheel-:
  6. cython not found, using previously-cython'd .c file.
  7. running bdist_wheel
  8. running build
  9. running build_ext
  10. warning: no usable mysql_config and no _winreg module to try; hopefully you have usable CFLAGS/LDFLAGS set.
  11. building 'oursql' extension
  12. creating build
  13. creating build/temp.linux-x86_64-2.7
  14. creating build/temp.linux-x86_64-2.7/oursqlx
  15. x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/python2.7 -c oursqlx/oursql.c -o build/temp.linux-x86_64-2.7/oursqlx/oursql.o
  16. oursqlx/oursql.c:4:20: fatal error: Python.h: No such file or directory
  17. compilation terminated.
  18. error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
  19.  
  20. ----------------------------------------
  21. Failed building wheel for oursql
  22. Failed to build oursql
  23. Installing collected packages: oursql
  24. Running setup.py install for oursql
  25. Complete output from command /home/raghav/janpro/release_1/venv/bin/python2 -c "import setuptools, tokenize;__file__='/tmp/pip-build-ndxBoY/oursql/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('rn', 'n'), __file__, 'exec'))" install --record /tmp/pip-awH5dT-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/raghav/janpro/release_1/venv/include/site/python2.7/oursql:
  26. cython not found, using previously-cython'd .c file.
  27. running install
  28. running build
  29. running build_ext
  30. warning: no usable mysql_config and no _winreg module to try; hopefully you have usable CFLAGS/LDFLAGS set.
  31. building 'oursql' extension
  32. x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/python2.7 -c oursqlx/oursql.c -o build/temp.linux-x86_64-2.7/oursqlx/oursql.o
  33. oursqlx/oursql.c:4:20: fatal error: Python.h: No such file or directory
  34. compilation terminated.
  35. error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
  36.  
  37. ----------------------------------------
  38. Command "/home/raghav/janpro/release_1/venv/bin/python2 -c "import setuptools, tokenize;__file__='/tmp/pip-build-ndxBoY/oursql/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('rn', 'n'), __file__, 'exec'))" install --record /tmp/pip-awH5dT-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/raghav/janpro/release_1/venv/include/site/python2.7/oursql" failed with error code 1 in /tmp/pip-build-ndxBoY/oursql
  39.  
  40. The directory '/home/raghav/.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.
  41. The directory '/home/raghav/.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.
  42. Collecting oursql
  43. Downloading oursql-0.9.3.1.tar.bz2 (119kB)
  44. 100% |████████████████████████████████| 122kB 986kB/s
  45. Installing collected packages: oursql
  46. Running setup.py install for oursql
  47. Complete output from command /usr/bin/python -c "import setuptools, tokenize;__file__='/tmp/pip-build-GbfPiA/oursql/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('rn', 'n'), __file__, 'exec'))" install --record /tmp/pip-avSCME-record/install-record.txt --single-version-externally-managed --compile:
  48. cython not found, using previously-cython'd .c file.
  49. running install
  50. running build
  51. running build_ext
  52. warning: no usable mysql_config and no _winreg module to try; hopefully you have usable CFLAGS/LDFLAGS set.
  53. building 'oursql' extension
  54. creating build
  55. creating build/temp.linux-x86_64-2.7
  56. creating build/temp.linux-x86_64-2.7/oursqlx
  57. x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/python2.7 -c oursqlx/oursql.c -o build/temp.linux-x86_64-2.7/oursqlx/oursql.o
  58. oursqlx/oursql.c:4:20: fatal error: Python.h: No such file or directory
  59. compilation terminated.
  60. error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
  61.  
  62. ----------------------------------------
  63. Command "/usr/bin/python -c "import setuptools, tokenize;__file__='/tmp/pip-build-GbfPiA/oursql/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('rn', 'n'), __file__, 'exec'))" install --record /tmp/pip-avSCME-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-GbfPiA/oursql
  64.  
  65. the directory '/home/raghav/.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.
Add Comment
Please, Sign In to add comment