Advertisement
Guest User

Untitled

a guest
Jul 21st, 2015
593
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.84 KB | None | 0 0
  1. $ pip install rpy2
  2. Collecting rpy2
  3. /home/gabriel/.pyenv/versions/2.7.8/lib/python2.7/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:90: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
  4. InsecurePlatformWarning
  5. Using cached rpy2-2.6.1.tar.gz
  6. Requirement already satisfied (use --upgrade to upgrade): six in /home/gabriel/.pyenv/versions/2.7.8/lib/python2.7/site-packages (from rpy2)
  7. Requirement already satisfied (use --upgrade to upgrade): singledispatch in /home/gabriel/.pyenv/versions/2.7.8/lib/python2.7/site-packages (from rpy2)
  8. Building wheels for collected packages: rpy2
  9. Running setup.py bdist_wheel for rpy2
  10. Complete output from command /home/gabriel/.pyenv/versions/2.7.8/bin/python2.7 -c "import setuptools;__file__='/tmp/pip-build-5KWfUt/rpy2/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" bdist_wheel -d /tmp/tmp19ledJpip-wheel-:
  11. R version 3.0.2 (2013-09-25) -- "Frisbee Sailing"
  12. /usr/lib/R/bin/R CMD config --ldflags
  13. /usr/lib/R/bin/R CMD config --cppflags
  14.  
  15. Compilation parameters for rpy2's C components:
  16. include_dirs = ['/usr/share/R/include']
  17. library_dirs = ['/usr/lib/R/lib']
  18. libraries = ['R']
  19. extra_link_args = []
  20.  
  21. running bdist_wheel
  22. running build
  23. running build_py
  24. creating build
  25. creating build/lib.linux-x86_64-2.7
  26. creating build/lib.linux-x86_64-2.7/rpy2
  27. copying ./rpy/rpy_classic.py -> build/lib.linux-x86_64-2.7/rpy2
  28. copying ./rpy/__init__.py -> build/lib.linux-x86_64-2.7/rpy2
  29. copying ./rpy/tests.py -> build/lib.linux-x86_64-2.7/rpy2
  30. copying ./rpy/tests_rpy_classic.py -> build/lib.linux-x86_64-2.7/rpy2
  31. creating build/lib.linux-x86_64-2.7/rpy2/rlike
  32. copying ./rpy/rlike/indexing.py -> build/lib.linux-x86_64-2.7/rpy2/rlike
  33. copying ./rpy/rlike/__init__.py -> build/lib.linux-x86_64-2.7/rpy2/rlike
  34. copying ./rpy/rlike/container.py -> build/lib.linux-x86_64-2.7/rpy2/rlike
  35. copying ./rpy/rlike/functional.py -> build/lib.linux-x86_64-2.7/rpy2/rlike
  36. creating build/lib.linux-x86_64-2.7/rpy2/rlike/tests
  37. copying ./rpy/rlike/tests/test_container.py -> build/lib.linux-x86_64-2.7/rpy2/rlike/tests
  38. copying ./rpy/rlike/tests/__init__.py -> build/lib.linux-x86_64-2.7/rpy2/rlike/tests
  39. copying ./rpy/rlike/tests/test_functional.py -> build/lib.linux-x86_64-2.7/rpy2/rlike/tests
  40. copying ./rpy/rlike/tests/test_indexing.py -> build/lib.linux-x86_64-2.7/rpy2/rlike/tests
  41. creating build/lib.linux-x86_64-2.7/rpy2/rinterface
  42. copying ./rpy/rinterface/__init__.py -> build/lib.linux-x86_64-2.7/rpy2/rinterface
  43. creating build/lib.linux-x86_64-2.7/rpy2/rinterface/tests
  44. copying ./rpy/rinterface/tests/test_SexpVectorNumeric.py -> build/lib.linux-x86_64-2.7/rpy2/rinterface/tests
  45. copying ./rpy/rinterface/tests/test_SexpExtPtr.py -> build/lib.linux-x86_64-2.7/rpy2/rinterface/tests
  46. copying ./rpy/rinterface/tests/test_Sexp.py -> build/lib.linux-x86_64-2.7/rpy2/rinterface/tests
  47. copying ./rpy/rinterface/tests/test_SexpClosure.py -> build/lib.linux-x86_64-2.7/rpy2/rinterface/tests
  48. copying ./rpy/rinterface/tests/__init__.py -> build/lib.linux-x86_64-2.7/rpy2/rinterface/tests
  49. copying ./rpy/rinterface/tests/test_SexpSymbol.py -> build/lib.linux-x86_64-2.7/rpy2/rinterface/tests
  50. copying ./rpy/rinterface/tests/test_Device.py -> build/lib.linux-x86_64-2.7/rpy2/rinterface/tests
  51. copying ./rpy/rinterface/tests/test_SexpVector.py -> build/lib.linux-x86_64-2.7/rpy2/rinterface/tests
  52. copying ./rpy/rinterface/tests/test_SexpEnvironment.py -> build/lib.linux-x86_64-2.7/rpy2/rinterface/tests
  53. copying ./rpy/rinterface/tests/test_EmbeddedR.py -> build/lib.linux-x86_64-2.7/rpy2/rinterface/tests
  54. creating build/lib.linux-x86_64-2.7/rpy2/robjects
  55. copying ./rpy/robjects/robject.py -> build/lib.linux-x86_64-2.7/rpy2/robjects
  56. copying ./rpy/robjects/help.py -> build/lib.linux-x86_64-2.7/rpy2/robjects
  57. copying ./rpy/robjects/conversion.py -> build/lib.linux-x86_64-2.7/rpy2/robjects
  58. copying ./rpy/robjects/__init__.py -> build/lib.linux-x86_64-2.7/rpy2/robjects
  59. copying ./rpy/robjects/functions.py -> build/lib.linux-x86_64-2.7/rpy2/robjects
  60. copying ./rpy/robjects/vectors.py -> build/lib.linux-x86_64-2.7/rpy2/robjects
  61. copying ./rpy/robjects/packages_utils.py -> build/lib.linux-x86_64-2.7/rpy2/robjects
  62. copying ./rpy/robjects/constants.py -> build/lib.linux-x86_64-2.7/rpy2/robjects
  63. copying ./rpy/robjects/pandas2ri.py -> build/lib.linux-x86_64-2.7/rpy2/robjects
  64. copying ./rpy/robjects/numpy2ri.py -> build/lib.linux-x86_64-2.7/rpy2/robjects
  65. copying ./rpy/robjects/language.py -> build/lib.linux-x86_64-2.7/rpy2/robjects
  66. copying ./rpy/robjects/methods.py -> build/lib.linux-x86_64-2.7/rpy2/robjects
  67. copying ./rpy/robjects/environments.py -> build/lib.linux-x86_64-2.7/rpy2/robjects
  68. copying ./rpy/robjects/packages.py -> build/lib.linux-x86_64-2.7/rpy2/robjects
  69. creating build/lib.linux-x86_64-2.7/rpy2/robjects/tests
  70. copying ./rpy/robjects/tests/testDataFrame.py -> build/lib.linux-x86_64-2.7/rpy2/robjects/tests
  71. copying ./rpy/robjects/tests/testRobjects.py -> build/lib.linux-x86_64-2.7/rpy2/robjects/tests
  72. copying ./rpy/robjects/tests/testNumpyConversions.py -> build/lib.linux-x86_64-2.7/rpy2/robjects/tests
  73. copying ./rpy/robjects/tests/__init__.py -> build/lib.linux-x86_64-2.7/rpy2/robjects/tests
  74. copying ./rpy/robjects/tests/testEnvironment.py -> build/lib.linux-x86_64-2.7/rpy2/robjects/tests
  75. copying ./rpy/robjects/tests/testHelp.py -> build/lib.linux-x86_64-2.7/rpy2/robjects/tests
  76. copying ./rpy/robjects/tests/testPandasConversions.py -> build/lib.linux-x86_64-2.7/rpy2/robjects/tests
  77. copying ./rpy/robjects/tests/testArray.py -> build/lib.linux-x86_64-2.7/rpy2/robjects/tests
  78. copying ./rpy/robjects/tests/testLanguage.py -> build/lib.linux-x86_64-2.7/rpy2/robjects/tests
  79. copying ./rpy/robjects/tests/testMethods.py -> build/lib.linux-x86_64-2.7/rpy2/robjects/tests
  80. copying ./rpy/robjects/tests/testRObject.py -> build/lib.linux-x86_64-2.7/rpy2/robjects/tests
  81. copying ./rpy/robjects/tests/testFormula.py -> build/lib.linux-x86_64-2.7/rpy2/robjects/tests
  82. copying ./rpy/robjects/tests/testVector.py -> build/lib.linux-x86_64-2.7/rpy2/robjects/tests
  83. copying ./rpy/robjects/tests/testFunction.py -> build/lib.linux-x86_64-2.7/rpy2/robjects/tests
  84. copying ./rpy/robjects/tests/testPackages.py -> build/lib.linux-x86_64-2.7/rpy2/robjects/tests
  85. creating build/lib.linux-x86_64-2.7/rpy2/robjects/lib
  86. copying ./rpy/robjects/lib/grid.py -> build/lib.linux-x86_64-2.7/rpy2/robjects/lib
  87. copying ./rpy/robjects/lib/__init__.py -> build/lib.linux-x86_64-2.7/rpy2/robjects/lib
  88. copying ./rpy/robjects/lib/ggplot2.py -> build/lib.linux-x86_64-2.7/rpy2/robjects/lib
  89. creating build/lib.linux-x86_64-2.7/rpy2/robjects/lib/tests
  90. copying ./rpy/robjects/lib/tests/test_ggplot2.py -> build/lib.linux-x86_64-2.7/rpy2/robjects/lib/tests
  91. copying ./rpy/robjects/lib/tests/__init__.py -> build/lib.linux-x86_64-2.7/rpy2/robjects/lib/tests
  92. creating build/lib.linux-x86_64-2.7/rpy2/interactive
  93. copying ./rpy/interactive/__init__.py -> build/lib.linux-x86_64-2.7/rpy2/interactive
  94. copying ./rpy/interactive/process_revents.py -> build/lib.linux-x86_64-2.7/rpy2/interactive
  95. copying ./rpy/interactive/packages.py -> build/lib.linux-x86_64-2.7/rpy2/interactive
  96. creating build/lib.linux-x86_64-2.7/rpy2/interactive/tests
  97. copying ./rpy/interactive/tests/__init__.py -> build/lib.linux-x86_64-2.7/rpy2/interactive/tests
  98. creating build/lib.linux-x86_64-2.7/rpy2/ipython
  99. copying ./rpy/ipython/ggplot.py -> build/lib.linux-x86_64-2.7/rpy2/ipython
  100. copying ./rpy/ipython/__init__.py -> build/lib.linux-x86_64-2.7/rpy2/ipython
  101. copying ./rpy/ipython/rmagic.py -> build/lib.linux-x86_64-2.7/rpy2/ipython
  102. copying ./rpy/ipython/html.py -> build/lib.linux-x86_64-2.7/rpy2/ipython
  103. creating build/lib.linux-x86_64-2.7/rpy2/ipython/tests
  104. copying ./rpy/ipython/tests/__init__.py -> build/lib.linux-x86_64-2.7/rpy2/ipython/tests
  105. copying ./rpy/ipython/tests/test_rmagic.py -> build/lib.linux-x86_64-2.7/rpy2/ipython/tests
  106. running build_ext
  107. R version 3.0.2 (2013-09-25) -- "Frisbee Sailing"
  108. building 'rpy2.rinterface._rinterface' extension
  109. creating build/temp.linux-x86_64-2.7
  110. creating build/temp.linux-x86_64-2.7/rpy
  111. creating build/temp.linux-x86_64-2.7/rpy/rinterface
  112. gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DR_INTERFACE_PTRS=1 -DHAVE_POSIX_SIGJMP=1 -DRIF_HAS_RSIGHAND=1 -DCSTACK_DEFNS=1 -DHAS_READLINE=1 -I./rpy/rinterface -I/usr/share/R/include -I/home/gabriel/.pyenv/versions/2.7.8/include/python2.7 -c ./rpy/rinterface/_rinterface.c -o build/temp.linux-x86_64-2.7/./rpy/rinterface/_rinterface.o
  113. In file included from /home/gabriel/.pyenv/versions/2.7.8/include/python2.7/Python.h:8:0,
  114. from ./rpy/rinterface/_rinterface.c:55:
  115. /home/gabriel/.pyenv/versions/2.7.8/include/python2.7/pyconfig.h:1182:0: warning: "_POSIX_C_SOURCE" redefined [enabled by default]
  116. #define _POSIX_C_SOURCE 200112L
  117. ^
  118. In file included from /usr/include/signal.h:28:0,
  119. from ./rpy/rinterface/_rinterface.c:51:
  120. /usr/include/features.h:230:0: note: this is the location of the previous definition
  121. # define _POSIX_C_SOURCE 200809L
  122. ^
  123. In file included from /usr/share/R/include/R.h:40:0,
  124. from ./rpy/rinterface/_rinterface.h:8,
  125. from ./rpy/rinterface/_rinterface.c:58:
  126. /usr/share/R/include/R_ext/Memory.h:40:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
  127. int R_gc_running();
  128. ^
  129. In file included from ./rpy/rinterface/_rinterface.h:9:0,
  130. from ./rpy/rinterface/_rinterface.c:58:
  131. /usr/share/R/include/Rinternals.h:719:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
  132. const char *R_curErrorBuf();
  133. ^
  134. In file included from ./rpy/rinterface/_rinterface.c:70:0:
  135. /usr/share/R/include/Rinterface.h:129:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
  136. extern void (*ptr_R_ProcessEvents)();
  137. ^
  138. In file included from ./rpy/rinterface/_rinterface.c:79:0:
  139. /usr/share/R/include/R_ext/Rdynload.h:32:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
  140. typedef void * (*DL_FUNC)();
  141. ^
  142. In file included from ./rpy/rinterface/_rinterface.c:122:0:
  143. ./rpy/rinterface/embeddedr.c: In function ‘SexpObject_clear’:
  144. ./rpy/rinterface/embeddedr.c:48:12: warning: unused variable ‘res’ [-Wunused-variable]
  145. SEXP res = rpy_remove(Rf_mkString(name_buf),
  146. ^
  147. In file included from ./rpy/rinterface/_rinterface.c:125:0:
  148. ./rpy/rinterface/sexp.c: In function ‘Sexp_init’:
  149. ./rpy/rinterface/sexp.c:738:13: warning: unused variable ‘copy’ [-Wunused-variable]
  150. PyObject *copy = Py_True;
  151. ^
  152. In file included from ./rpy/rinterface/_rinterface.c:126:0:
  153. ./rpy/rinterface/r_utils.c: At top level:
  154. ./rpy/rinterface/r_utils.c:32:31: fatal error: R_ext/Rallocators.h: No existe el archivo o el directorio
  155. #include <R_ext/Rallocators.h>
  156. ^
  157. compilation terminated.
  158. error: command 'gcc' failed with exit status 1
  159.  
  160. ----------------------------------------
  161. Failed building wheel for rpy2
  162. Failed to build rpy2
  163. Installing collected packages: rpy2
  164. Running setup.py install for rpy2
  165. Complete output from command /home/gabriel/.pyenv/versions/2.7.8/bin/python2.7 -c "import setuptools, tokenize;__file__='/tmp/pip-build-5KWfUt/rpy2/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-B9RaXz-record/install-record.txt --single-version-externally-managed --compile:
  166. R version 3.0.2 (2013-09-25) -- "Frisbee Sailing"
  167. /usr/lib/R/bin/R CMD config --ldflags
  168. /usr/lib/R/bin/R CMD config --cppflags
  169.  
  170. Compilation parameters for rpy2's C components:
  171. include_dirs = ['/usr/share/R/include']
  172. library_dirs = ['/usr/lib/R/lib']
  173. libraries = ['R']
  174. extra_link_args = []
  175.  
  176. running install
  177. running build
  178. running build_py
  179. running build_ext
  180. R version 3.0.2 (2013-09-25) -- "Frisbee Sailing"
  181. building 'rpy2.rinterface._rinterface' extension
  182. gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DR_INTERFACE_PTRS=1 -DHAVE_POSIX_SIGJMP=1 -DRIF_HAS_RSIGHAND=1 -DCSTACK_DEFNS=1 -DHAS_READLINE=1 -I./rpy/rinterface -I/usr/share/R/include -I/home/gabriel/.pyenv/versions/2.7.8/include/python2.7 -c ./rpy/rinterface/_rinterface.c -o build/temp.linux-x86_64-2.7/./rpy/rinterface/_rinterface.o
  183. In file included from /home/gabriel/.pyenv/versions/2.7.8/include/python2.7/Python.h:8:0,
  184. from ./rpy/rinterface/_rinterface.c:55:
  185. /home/gabriel/.pyenv/versions/2.7.8/include/python2.7/pyconfig.h:1182:0: warning: "_POSIX_C_SOURCE" redefined [enabled by default]
  186. #define _POSIX_C_SOURCE 200112L
  187. ^
  188. In file included from /usr/include/signal.h:28:0,
  189. from ./rpy/rinterface/_rinterface.c:51:
  190. /usr/include/features.h:230:0: note: this is the location of the previous definition
  191. # define _POSIX_C_SOURCE 200809L
  192. ^
  193. In file included from /usr/share/R/include/R.h:40:0,
  194. from ./rpy/rinterface/_rinterface.h:8,
  195. from ./rpy/rinterface/_rinterface.c:58:
  196. /usr/share/R/include/R_ext/Memory.h:40:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
  197. int R_gc_running();
  198. ^
  199. In file included from ./rpy/rinterface/_rinterface.h:9:0,
  200. from ./rpy/rinterface/_rinterface.c:58:
  201. /usr/share/R/include/Rinternals.h:719:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
  202. const char *R_curErrorBuf();
  203. ^
  204. In file included from ./rpy/rinterface/_rinterface.c:70:0:
  205. /usr/share/R/include/Rinterface.h:129:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
  206. extern void (*ptr_R_ProcessEvents)();
  207. ^
  208. In file included from ./rpy/rinterface/_rinterface.c:79:0:
  209. /usr/share/R/include/R_ext/Rdynload.h:32:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
  210. typedef void * (*DL_FUNC)();
  211. ^
  212. In file included from ./rpy/rinterface/_rinterface.c:122:0:
  213. ./rpy/rinterface/embeddedr.c: In function ‘SexpObject_clear’:
  214. ./rpy/rinterface/embeddedr.c:48:12: warning: unused variable ‘res’ [-Wunused-variable]
  215. SEXP res = rpy_remove(Rf_mkString(name_buf),
  216. ^
  217. In file included from ./rpy/rinterface/_rinterface.c:125:0:
  218. ./rpy/rinterface/sexp.c: In function ‘Sexp_init’:
  219. ./rpy/rinterface/sexp.c:738:13: warning: unused variable ‘copy’ [-Wunused-variable]
  220. PyObject *copy = Py_True;
  221. ^
  222. In file included from ./rpy/rinterface/_rinterface.c:126:0:
  223. ./rpy/rinterface/r_utils.c: At top level:
  224. ./rpy/rinterface/r_utils.c:32:31: fatal error: R_ext/Rallocators.h: No existe el archivo o el directorio
  225. #include <R_ext/Rallocators.h>
  226. ^
  227. compilation terminated.
  228. error: command 'gcc' failed with exit status 1
  229.  
  230. ----------------------------------------
  231. Command "/home/gabriel/.pyenv/versions/2.7.8/bin/python2.7 -c "import setuptools, tokenize;__file__='/tmp/pip-build-5KWfUt/rpy2/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-B9RaXz-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-5KWfUt/rpy2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement