Advertisement
lamiastella

pip install wxpython

Jun 28th, 2020
147
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 16.87 KB | None | 0 0
  1. (base) mona@mona:~$ pip install wxpython
  2. Collecting wxpython
  3. Using cached wxPython-4.1.0.tar.gz (65.8 MB)
  4. Requirement already satisfied: pillow in ./anaconda3/lib/python3.7/site-packages (from wxpython) (7.0.0)
  5. Requirement already satisfied: six in ./anaconda3/lib/python3.7/site-packages (from wxpython) (1.14.0)
  6. Requirement already satisfied: numpy in ./anaconda3/lib/python3.7/site-packages (from wxpython) (1.16.4)
  7. Building wheels for collected packages: wxpython
  8. Building wheel for wxpython (setup.py) ... error
  9. ERROR: Command errored out with exit status 1:
  10. command: /home/mona/anaconda3/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-4w2zxg8e/wxpython/setup.py'"'"'; __file__='"'"'/tmp/pip-install-4w2zxg8e/wxpython/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-gxfmljs2
  11. cwd: /tmp/pip-install-4w2zxg8e/wxpython/
  12. Complete output (142 lines):
  13. running bdist_wheel
  14. running build
  15. WARNING: Building this way assumes that all generated files have been
  16. generated already. If that is not the case then use build.py directly
  17. to generate the source and perform the build stage. You can use
  18. --skip-build with the bdist_* or install commands to avoid this
  19. message and the wxWidgets and Phoenix build steps in the future.
  20.  
  21. "/home/mona/anaconda3/bin/python" -u build.py build
  22. Will build using: "/home/mona/anaconda3/bin/python"
  23. 3.7.6 (default, Jan 8 2020, 19:59:22)
  24. [GCC 7.3.0]
  25. Python's architecture is 64bit
  26. cfg.VERSION: 4.1.0
  27.  
  28. Running command: build
  29. Running command: build_wx
  30. wxWidgets build options: ['--wxpython', '--unicode', '--gtk3']
  31. Configure options: ['--enable-unicode', '--with-gtk=3', '--enable-sound', '--enable-graphics_ctx', '--enable-display', '--enable-geometry', '--enable-debug_flag', '--enable-optimise', '--disable-debugreport', '--enable-uiactionsim', '--enable-autoidman', '--with-sdl']
  32. /tmp/pip-install-4w2zxg8e/wxpython/ext/wxWidgets/configure --enable-unicode --with-gtk=3 --enable-sound --enable-graphics_ctx --enable-display --enable-geometry --enable-debug_flag --enable-optimise --disable-debugreport --enable-uiactionsim --enable-autoidman --with-sdl
  33. checking build system type... x86_64-pc-linux-gnu
  34. checking host system type... x86_64-pc-linux-gnu
  35. checking for toolkit... gtk
  36. checking for gcc... gcc
  37. checking whether the C compiler works... yes
  38. checking for C compiler default output file name... a.out
  39. checking for suffix of executables...
  40. checking whether we are cross compiling... no
  41. checking for suffix of object files... o
  42. checking whether we are using the GNU C compiler... yes
  43. checking whether gcc accepts -g... yes
  44. checking for gcc option to accept ISO C89... none needed
  45. checking whether we are using the Intel C compiler... no
  46. checking how to run the C preprocessor... gcc -E
  47. checking for grep that handles long lines and -e... /usr/bin/grep
  48. checking for egrep... /usr/bin/grep -E
  49. checking whether gcc needs -traditional... no
  50. checking for g++... g++
  51. checking whether we are using the GNU C++ compiler... yes
  52. checking whether g++ accepts -g... yes
  53. checking whether we are using the Intel C++ compiler... no
  54. checking whether we are using the Sun C++ compiler... no
  55. checking for ar... ar
  56. checking for ANSI C header files... yes
  57. checking for sys/types.h... yes
  58. checking for sys/stat.h... yes
  59. checking for stdlib.h... yes
  60. checking for string.h... yes
  61. checking for memory.h... yes
  62. checking for strings.h... yes
  63. checking for inttypes.h... yes
  64. checking for stdint.h... yes
  65. checking for unistd.h... yes
  66. checking for langinfo.h... yes
  67. checking for wchar.h... yes
  68. checking for sys/select.h... yes
  69. checking for cxxabi.h... yes
  70. checking for an ANSI C-conforming const... yes
  71. checking for inline... inline
  72. checking size of short... 2
  73. checking size of void *... 8
  74. checking size of int... 4
  75. checking size of long... 8
  76. checking size of size_t... 8
  77. checking size of long long... 8
  78. checking size of wchar_t... 4
  79. checking for va_copy... yes
  80. checking whether the compiler supports variadic macros... yes
  81. checking for _FILE_OFFSET_BITS value needed for large files... 64
  82. checking if large file support is available... yes
  83. checking for _LARGEFILE_SOURCE value needed for large files... no
  84. checking whether byte ordering is bigendian... no
  85. checking for std::wstring in <string>... yes
  86. checking for std::istream... yes
  87. checking for std::ostream... yes
  88. checking for type_traits... yes
  89. checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... yes
  90. checking for libraries directories... /usr/lib/x86_64-linux-gnu /usr/lib
  91. checking for cos... no
  92. checking for floor... no
  93. checking if floating point functions link without -lm... no
  94. checking for sin... yes
  95. checking for ceil... yes
  96. checking if floating point functions link with -lm... yes
  97. checking for strtoull... yes
  98. checking for pkg-config... /usr/bin/pkg-config
  99. checking pkg-config is at least version 0.9.0... yes
  100. configure: WARNING: Defaulting to the builtin regex library for Unicode build.
  101. checking for zlib.h >= 1.1.4... no
  102. checking for zlib.h... (cached) no
  103. configure: WARNING: zlib library not found or too old, will use built-in instead
  104. checking for png.h > 0.90... no
  105. checking for png.h... (cached) no
  106. configure: WARNING: system png library not found or too old, will use built-in instead
  107. checking for jpeglib.h... no
  108. configure: WARNING: system jpeg library not found, will use built-in instead
  109. checking lzma.h usability... no
  110. checking lzma.h presence... no
  111. checking for lzma.h... no
  112. checking for jbg_dec_init in -ljbig... no
  113. checking for LIBTIFF... not found via pkg-config
  114. checking for tiffio.h... no
  115. configure: WARNING: system tiff library not found, will use built-in instead
  116. checking for expat.h... no
  117. configure: WARNING: system expat library not found, will use built-in instead
  118. checking for gcc option to accept ISO C99... none needed
  119. checking for GTK+ version...
  120. checking for pkg-config... (cached) /usr/bin/pkg-config
  121. checking pkg-config is at least version 0.16... yes
  122. checking for GTK+ - version >= 3.0.0... Package gtk+-3.0 was not found in the pkg-config search path.
  123. Perhaps you should add the directory containing `gtk+-3.0.pc'
  124. to the PKG_CONFIG_PATH environment variable
  125. No package 'gtk+-3.0' found
  126. Package gthread-2.0 was not found in the pkg-config search path.
  127. Perhaps you should add the directory containing `gthread-2.0.pc'
  128. to the PKG_CONFIG_PATH environment variable
  129. No package 'gthread-2.0' found
  130. no
  131. *** Could not run GTK+ test program, checking why...
  132. *** The test program failed to compile or link. See the file config.log for the
  133. *** exact error that occurred. This usually means GTK+ is incorrectly installed.
  134. configure: error:
  135. The development files for GTK+ were not found. For GTK+ 2, please
  136. ensure that pkg-config is in the path and that gtk+-2.0.pc is
  137. installed. For GTK+ 1.2 please check that gtk-config is in the path,
  138. and that the version is 1.2.3 or above. Also check that the
  139. libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
  140. --libs' are in the LD_LIBRARY_PATH or equivalent.
  141.  
  142. Error running configure
  143. ERROR: failed building wxWidgets
  144. Traceback (most recent call last):
  145. File "build.py", line 1471, in cmd_build_wx
  146. wxbuild.main(wxDir(), build_options)
  147. File "/tmp/pip-install-4w2zxg8e/wxpython/buildtools/build_wxwidgets.py", line 373, in main
  148. "Error running configure")
  149. File "/tmp/pip-install-4w2zxg8e/wxpython/buildtools/build_wxwidgets.py", line 85, in exitIfError
  150. raise builder.BuildError(msg)
  151. buildtools.builder.BuildError: Error running configure
  152. Finished command: build_wx (0m3.68s)
  153. Finished command: build (0m3.68s)
  154. Command '"/home/mona/anaconda3/bin/python" -u build.py build' failed with exit code 1.
  155. ----------------------------------------
  156. ERROR: Failed building wheel for wxpython
  157. Running setup.py clean for wxpython
  158. Failed to build wxpython
  159. Installing collected packages: wxpython
  160. Running setup.py install for wxpython ... error
  161. ERROR: Command errored out with exit status 1:
  162. command: /home/mona/anaconda3/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-4w2zxg8e/wxpython/setup.py'"'"'; __file__='"'"'/tmp/pip-install-4w2zxg8e/wxpython/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-d056n9yz/install-record.txt --single-version-externally-managed --compile --install-headers /home/mona/anaconda3/include/python3.7m/wxpython
  163. cwd: /tmp/pip-install-4w2zxg8e/wxpython/
  164. Complete output (142 lines):
  165. running install
  166. running build
  167. WARNING: Building this way assumes that all generated files have been
  168. generated already. If that is not the case then use build.py directly
  169. to generate the source and perform the build stage. You can use
  170. --skip-build with the bdist_* or install commands to avoid this
  171. message and the wxWidgets and Phoenix build steps in the future.
  172.  
  173. "/home/mona/anaconda3/bin/python" -u build.py build
  174. Will build using: "/home/mona/anaconda3/bin/python"
  175. 3.7.6 (default, Jan 8 2020, 19:59:22)
  176. [GCC 7.3.0]
  177. Python's architecture is 64bit
  178. cfg.VERSION: 4.1.0
  179.  
  180. Running command: build
  181. Running command: build_wx
  182. wxWidgets build options: ['--wxpython', '--unicode', '--gtk3']
  183. Configure options: ['--enable-unicode', '--with-gtk=3', '--enable-sound', '--enable-graphics_ctx', '--enable-display', '--enable-geometry', '--enable-debug_flag', '--enable-optimise', '--disable-debugreport', '--enable-uiactionsim', '--enable-autoidman', '--with-sdl']
  184. /tmp/pip-install-4w2zxg8e/wxpython/ext/wxWidgets/configure --enable-unicode --with-gtk=3 --enable-sound --enable-graphics_ctx --enable-display --enable-geometry --enable-debug_flag --enable-optimise --disable-debugreport --enable-uiactionsim --enable-autoidman --with-sdl
  185. checking build system type... x86_64-pc-linux-gnu
  186. checking host system type... x86_64-pc-linux-gnu
  187. checking for toolkit... gtk
  188. checking for gcc... gcc
  189. checking whether the C compiler works... yes
  190. checking for C compiler default output file name... a.out
  191. checking for suffix of executables...
  192. checking whether we are cross compiling... no
  193. checking for suffix of object files... o
  194. checking whether we are using the GNU C compiler... yes
  195. checking whether gcc accepts -g... yes
  196. checking for gcc option to accept ISO C89... none needed
  197. checking whether we are using the Intel C compiler... no
  198. checking how to run the C preprocessor... gcc -E
  199. checking for grep that handles long lines and -e... /usr/bin/grep
  200. checking for egrep... /usr/bin/grep -E
  201. checking whether gcc needs -traditional... no
  202. checking for g++... g++
  203. checking whether we are using the GNU C++ compiler... yes
  204. checking whether g++ accepts -g... yes
  205. checking whether we are using the Intel C++ compiler... no
  206. checking whether we are using the Sun C++ compiler... no
  207. checking for ar... ar
  208. checking for ANSI C header files... yes
  209. checking for sys/types.h... yes
  210. checking for sys/stat.h... yes
  211. checking for stdlib.h... yes
  212. checking for string.h... yes
  213. checking for memory.h... yes
  214. checking for strings.h... yes
  215. checking for inttypes.h... yes
  216. checking for stdint.h... yes
  217. checking for unistd.h... yes
  218. checking for langinfo.h... yes
  219. checking for wchar.h... yes
  220. checking for sys/select.h... yes
  221. checking for cxxabi.h... yes
  222. checking for an ANSI C-conforming const... yes
  223. checking for inline... inline
  224. checking size of short... 2
  225. checking size of void *... 8
  226. checking size of int... 4
  227. checking size of long... 8
  228. checking size of size_t... 8
  229. checking size of long long... 8
  230. checking size of wchar_t... 4
  231. checking for va_copy... yes
  232. checking whether the compiler supports variadic macros... yes
  233. checking for _FILE_OFFSET_BITS value needed for large files... 64
  234. checking if large file support is available... yes
  235. checking for _LARGEFILE_SOURCE value needed for large files... no
  236. checking whether byte ordering is bigendian... no
  237. checking for std::wstring in <string>... yes
  238. checking for std::istream... yes
  239. checking for std::ostream... yes
  240. checking for type_traits... yes
  241. checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... yes
  242. checking for libraries directories... /usr/lib/x86_64-linux-gnu /usr/lib
  243. checking for cos... no
  244. checking for floor... no
  245. checking if floating point functions link without -lm... no
  246. checking for sin... yes
  247. checking for ceil... yes
  248. checking if floating point functions link with -lm... yes
  249. checking for strtoull... yes
  250. checking for pkg-config... /usr/bin/pkg-config
  251. checking pkg-config is at least version 0.9.0... yes
  252. configure: WARNING: Defaulting to the builtin regex library for Unicode build.
  253. checking for zlib.h >= 1.1.4... no
  254. checking for zlib.h... (cached) no
  255. configure: WARNING: zlib library not found or too old, will use built-in instead
  256. checking for png.h > 0.90... no
  257. checking for png.h... (cached) no
  258. configure: WARNING: system png library not found or too old, will use built-in instead
  259. checking for jpeglib.h... no
  260. configure: WARNING: system jpeg library not found, will use built-in instead
  261. checking lzma.h usability... no
  262. checking lzma.h presence... no
  263. checking for lzma.h... no
  264. checking for jbg_dec_init in -ljbig... no
  265. checking for LIBTIFF... not found via pkg-config
  266. checking for tiffio.h... no
  267. configure: WARNING: system tiff library not found, will use built-in instead
  268. checking for expat.h... no
  269. configure: WARNING: system expat library not found, will use built-in instead
  270. checking for gcc option to accept ISO C99... none needed
  271. checking for GTK+ version...
  272. checking for pkg-config... (cached) /usr/bin/pkg-config
  273. checking pkg-config is at least version 0.16... yes
  274. checking for GTK+ - version >= 3.0.0... Package gtk+-3.0 was not found in the pkg-config search path.
  275. Perhaps you should add the directory containing `gtk+-3.0.pc'
  276. to the PKG_CONFIG_PATH environment variable
  277. No package 'gtk+-3.0' found
  278. Package gthread-2.0 was not found in the pkg-config search path.
  279. Perhaps you should add the directory containing `gthread-2.0.pc'
  280. to the PKG_CONFIG_PATH environment variable
  281. No package 'gthread-2.0' found
  282. no
  283. *** Could not run GTK+ test program, checking why...
  284. *** The test program failed to compile or link. See the file config.log for the
  285. *** exact error that occurred. This usually means GTK+ is incorrectly installed.
  286. configure: error:
  287. The development files for GTK+ were not found. For GTK+ 2, please
  288. ensure that pkg-config is in the path and that gtk+-2.0.pc is
  289. installed. For GTK+ 1.2 please check that gtk-config is in the path,
  290. and that the version is 1.2.3 or above. Also check that the
  291. libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
  292. --libs' are in the LD_LIBRARY_PATH or equivalent.
  293.  
  294. Error running configure
  295. ERROR: failed building wxWidgets
  296. Traceback (most recent call last):
  297. File "build.py", line 1471, in cmd_build_wx
  298. wxbuild.main(wxDir(), build_options)
  299. File "/tmp/pip-install-4w2zxg8e/wxpython/buildtools/build_wxwidgets.py", line 373, in main
  300. "Error running configure")
  301. File "/tmp/pip-install-4w2zxg8e/wxpython/buildtools/build_wxwidgets.py", line 85, in exitIfError
  302. raise builder.BuildError(msg)
  303. buildtools.builder.BuildError: Error running configure
  304. Finished command: build_wx (0m2.900s)
  305. Finished command: build (0m2.900s)
  306. Command '"/home/mona/anaconda3/bin/python" -u build.py build' failed with exit code 1.
  307. ----------------------------------------
  308. ERROR: Command errored out with exit status 1: /home/mona/anaconda3/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-4w2zxg8e/wxpython/setup.py'"'"'; __file__='"'"'/tmp/pip-install-4w2zxg8e/wxpython/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-d056n9yz/install-record.txt --single-version-externally-managed --compile --install-headers /home/mona/anaconda3/include/python3.7m/wxpython Check the logs for full command output.
  309. (base) mona@mona:~$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement