{"action":"created","issue":{"url":"https://api.github.com/repos/PmagPy/PmagPy/issues/351","repository_url":"https://api.github.com/repos/PmagPy/PmagPy","labels_url":"https://api.github.com/repos/PmagPy/PmagPy/issues/351/labels{/name}","comments_url":"https://api.github.com/repos/PmagPy/PmagPy/issues/351/comments","events_url":"https://api.github.com/repos/PmagPy/PmagPy/issues/351/events","html_url":"https://github.com/PmagPy/PmagPy/issues/351","id":321325270,"number":351,"title":"Problems with getting make_magic_plots working on EC2 Unbuntu 16.04 server","user":{"login":"njarboe","id":1278789,"avatar_url":"https://avatars0.githubusercontent.com/u/1278789?v=4","gravatar_id":"","url":"https://api.github.com/users/njarboe","html_url":"https://github.com/njarboe","followers_url":"https://api.github.com/users/njarboe/followers","following_url":"https://api.github.com/users/njarboe/following{/other_user}","gists_url":"https://api.github.com/users/njarboe/gists{/gist_id}","starred_url":"https://api.github.com/users/njarboe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/njarboe/subscriptions","organizations_url":"https://api.github.com/users/njarboe/orgs","repos_url":"https://api.github.com/users/njarboe/repos","events_url":"https://api.github.com/users/njarboe/events{/privacy}","received_events_url":"https://api.github.com/users/njarboe/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":16,"created_at":"2018-05-08T19:56:17Z","updated_at":"2018-05-15T00:25:44Z","closed_at":null,"author_association":"COLLABORATOR","body":"We want to run the make_python_plots on tofetolu to display the plots for the MagIC website. It is running:\r\nCentOS release 6.9 (Final)\r\n\r\nI tried miniconda3 to start as Anthony suggested we did not need to install everything. Since that did not work I upgraded to anaconda. Now when I run:\r\npip install --upgrade --pre -f https://wxpython.org/Phoenix/snapshot-builds/ wxPython\r\n\r\nI get this error (total shell output given below):\r\nchecking for GTK+ - version >= 3.0.0... no\r\n    *** Could not run GTK+ test program, checking why...\r\n    *** The test program failed to compile or link. See the file config.log for the\r\n    *** exact error that occured. This usually means GTK+ is incorrectly installed.\r\n    configure: error:\r\n    The development files for GTK+ were not found. For GTK+ 2, please\r\n    ensure that pkg-config is in the path and that gtk+-2.0.pc is\r\n    installed. For GTK+ 1.2 please check that gtk-config is in the path,\r\n    and that the version is 1.2.3 or above. Also check that the\r\n    libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config\r\n    --libs' are in the LD_LIBRARY_PATH or equivalent.\r\n\r\nA little googling and it seems that GTK 3.0 is not included in CENTOS 6.x but is in 7.0 (https://itvision.altervista.org/compiling-and-installing-gtk3-in-centos6.html)\r\nIt can be compiled from the source, but I am leary to do that. Will ask Rupert and Anthony how to proceed and report back here.\r\n-----------------------------------------------\r\n[magic@tofetolu ~]$ pip install --upgrade --pre -f https://wxpython.org/Phoenix/snapshot-builds/ wxPython\r\nCollecting wxPython\r\n  Using cached https://wxpython.org/Phoenix/snapshot-builds/wxPython-4.0.2a1.dev3759+2e5430d5.tar.gz\r\nRequirement already up-to-date: six in ./miniconda3/lib/python3.6/site-packages (from wxPython)\r\nRequirement already up-to-date: PyPubSub in ./miniconda3/lib/python3.6/site-packages (from wxPython)\r\nBuilding wheels for collected packages: wxPython\r\n  Running setup.py bdist_wheel for wxPython ... error\r\n  Complete output from command /home/magic/miniconda3/bin/python -u -c \"import setuptools, tokenize;__file__='/tmp/pip-build-1adheysl/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/tmptb69wy7hpip-wheel- --python-tag cp36:\r\n  running bdist_wheel\r\n  running build\r\n  WARNING: Building this way assumes that all generated files have been\r\n  generated already.  If that is not the case then use build.py directly\r\n  to generate the source and perform the build stage.  You can use\r\n  --skip-build with the bdist_* or install commands to avoid this\r\n  message and the wxWidgets and Phoenix build steps in the future.\r\n  \r\n  \"/home/magic/miniconda3/bin/python\" -u build.py build\r\n  Will build using: \"/home/magic/miniconda3/bin/python\"\r\n  3.6.4 |Anaconda custom (64-bit)| (default, Jan 16 2018, 18:10:19)\r\n  [GCC 7.2.0]\r\n  Python's architecture is 64bit\r\n  cfg.VERSION: 4.0.2a1.dev3759+2e5430d5\r\n  \r\n  Running command: build\r\n  Running command: build_wx\r\n  wxWidgets build options: ['--wxpython', '--unicode', '--gtk3']\r\n  Configure options: ['--enable-unicode', '--with-gtk=3', '--with-opengl', '--enable-sound', '--enable-graphics_ctx', '--enable-mediactrl', '--enable-display', '--enable-geometry', '--enable-debug_flag', '--enable-optimise', '--disable-debugreport', '--enable-uiactionsim', '--with-sdl']\r\n  /tmp/pip-build-1adheysl/wxPython/ext/wxWidgets/configure --enable-unicode --with-gtk=3 --with-opengl --enable-sound --enable-graphics_ctx --enable-mediactrl --enable-display --enable-geometry --enable-debug_flag --enable-optimise --disable-debugreport --enable-uiactionsim --with-sdl\r\n  checking build system type... x86_64-pc-linux-gnu\r\n  checking host system type... x86_64-pc-linux-gnu\r\n  checking for --disable-gui... no\r\n  checking for --enable-monolithic... no\r\n  checking for --enable-plugins... no\r\n  checking for --without-subdirs... no\r\n  checking for --enable-official_build... no\r\n  checking for --disable-all-features... no\r\n  checking for --enable-universal... no\r\n  checking for --enable-nanox... no\r\n  checking for --enable-gpe... no\r\n  checking for toolkit... gtk\r\n  checking for --with-libpng... yes\r\n  checking for --with-libjpeg... yes\r\n  checking for --with-libtiff... yes\r\n  checking for --without-libjbig... no\r\n  checking for --without-liblzma... no\r\n  checking for --with-libxpm... yes\r\n  checking for --with-libiconv... yes\r\n  checking for --with-libmspack... no\r\n  checking for --without-gtkprint... no\r\n  checking for --with-gnomevfs... no\r\n  checking for --with-libnotify... yes\r\n  checking for --with-hildon... no\r\n  checking for --with-opengl... yes\r\n  checking for --with-dmalloc... no\r\n  checking for --with-sdl... yes\r\n  checking for --with-regex... yes\r\n  checking for --with-zlib... yes\r\n  checking for --with-expat... yes\r\n  checking for --with-macosx-sdk...\r\n  checking for --with-macosx-version-min...\r\n  checking for --enable-debug... default\r\n  checking for --disable-debug_flag... no\r\n  checking for --enable-debug_info... no\r\n  checking for --enable-debug_gdb... no\r\n  checking for --enable-debug_cntxt... no\r\n  checking for --enable-mem_tracing... no\r\n  checking for --disable-shared... no\r\n  checking for --enable-stl... no\r\n  checking for --enable-std_containers... no\r\n  checking for --enable-std_iostreams... yes\r\n  checking for --enable-std_string... yes\r\n  checking for --enable-std_string_conv_in_wxstring... no\r\n  checking for --disable-unicode... no\r\n  checking for --enable-mslu... no\r\n  checking for --enable-utf8... no\r\n  checking for --enable-utf8only... no\r\n  checking for --enable-extended_rtti... no\r\n  checking for --disable-optimise... no\r\n  checking for --enable-profile... no\r\n  checking for --enable-no_rtti... no\r\n  checking for --enable-no_exceptions... no\r\n  checking for --enable-permissive... no\r\n  checking for --enable-no_deps... no\r\n  checking for --disable-vararg_macros... no\r\n  checking for --enable-universal_binary... no\r\n  checking for --enable-macosx_arch... no\r\n  checking for --enable-compat26... no\r\n  checking for --disable-compat28... no\r\n  checking for --disable-rpath... no\r\n  checking for --enable-objc_uniquifying... no\r\n  checking for --disable-visibility... no\r\n  checking for --disable-tls... no\r\n  checking for --enable-intl... yes\r\n  checking for --enable-xlocale... yes\r\n  checking for --enable-config... yes\r\n  checking for --enable-protocols... yes\r\n  checking for --enable-ftp... yes\r\n  checking for --enable-http... yes\r\n  checking for --enable-fileproto... yes\r\n  checking for --enable-sockets... yes\r\n  checking for --enable-ipv6... no\r\n  checking for --enable-ole... yes\r\n  checking for --enable-dataobj... yes\r\n  checking for --enable-ipc... yes\r\n  checking for --enable-baseevtloop... yes\r\n  checking for --enable-epollloop... yes\r\n  checking for --enable-selectloop... yes\r\n  checking for --enable-any... yes\r\n  checking for --enable-apple_ieee... yes\r\n  checking for --enable-arcstream... yes\r\n  checking for --enable-base64... yes\r\n  checking for --enable-backtrace... yes\r\n  checking for --enable-catch_segvs... yes\r\n  checking for --enable-cmdline... yes\r\n  checking for --enable-datetime... yes\r\n  checking for --enable-debugreport... no\r\n  checking for --enable-dialupman... yes\r\n  checking for --enable-dynlib... yes\r\n  checking for --enable-dynamicloader... yes\r\n  checking for --enable-exceptions... yes\r\n  checking for --enable-ffile... yes\r\n  checking for --enable-file... yes\r\n  checking for --enable-filehistory... yes\r\n  checking for --enable-filesystem... yes\r\n  checking for --enable-fontenum... yes\r\n  checking for --enable-fontmap... yes\r\n  checking for --enable-fs_archive... yes\r\n  checking for --enable-fs_inet... yes\r\n  checking for --enable-fs_zip... yes\r\n  checking for --enable-fsvolume... yes\r\n  checking for --enable-fswatcher... yes\r\n  checking for --enable-geometry... yes\r\n  checking for --enable-log... yes\r\n  checking for --enable-longlong... yes\r\n  checking for --enable-mimetype... yes\r\n  checking for --enable-printfposparam... yes\r\n  checking for --enable-snglinst... yes\r\n  checking for --enable-sound... yes\r\n  checking for --enable-stdpaths... yes\r\n  checking for --enable-stopwatch... yes\r\n  checking for --enable-streams... yes\r\n  checking for --enable-sysoptions... yes\r\n  checking for --enable-tarstream... yes\r\n  checking for --enable-textbuf... yes\r\n  checking for --enable-textfile... yes\r\n  checking for --enable-timer... yes\r\n  checking for --enable-variant... yes\r\n  checking for --enable-zipstream... yes\r\n  checking for --enable-url... yes\r\n  checking for --enable-protocol... yes\r\n  checking for --enable-protocol_http... yes\r\n  checking for --enable-protocol_ftp... yes\r\n  checking for --enable-protocol_file... yes\r\n  checking for --enable-threads... yes\r\n  checking for --enable-iniconf... no\r\n  checking for --enable-regkey... yes\r\n  checking for --enable-docview... yes\r\n  checking for --enable-help... yes\r\n  checking for --enable-mshtmlhelp... yes\r\n  checking for --enable-html... yes\r\n  checking for --enable-htmlhelp... yes\r\n  checking for --enable-xrc... yes\r\n  checking for --enable-aui... yes\r\n  checking for --enable-propgrid... yes\r\n  checking for --enable-ribbon... yes\r\n  checking for --enable-stc... yes\r\n  checking for --enable-constraints... yes\r\n  checking for --enable-loggui... yes\r\n  checking for --enable-logwin... yes\r\n  checking for --enable-logdialog... yes\r\n  checking for --enable-mdi... yes\r\n  checking for --enable-mdidoc... yes\r\n  checking for --enable-mediactrl... yes\r\n  checking for --enable-gstreamer8... no\r\n  checking for --enable-richtext... yes\r\n  checking for --enable-postscript... yes\r\n  checking for --enable-printarch... yes\r\n  checking for --enable-svg... yes\r\n  checking for --enable-webkit... yes\r\n  checking for --enable-webview... yes\r\n  checking for --enable-graphics_ctx... yes\r\n  checking for --enable-clipboard... yes\r\n  checking for --enable-dnd... yes\r\n  checking for --disable-controls... no\r\n  checking for --enable-markup... yes\r\n  checking for --enable-accel... yes\r\n  checking for --enable-animatectrl... yes\r\n  checking for --enable-bannerwindow... yes\r\n  checking for --enable-artstd... yes\r\n  checking for --enable-arttango... auto\r\n  checking for --enable-bmpbutton... yes\r\n  checking for --enable-bmpcombobox... yes\r\n  checking for --enable-button... yes\r\n  checking for --enable-calendar... yes\r\n  checking for --enable-caret... yes\r\n  checking for --enable-checkbox... yes\r\n  checking for --enable-checklst... yes\r\n  checking for --enable-choice... yes\r\n  checking for --enable-choicebook... yes\r\n  checking for --enable-collpane... yes\r\n  checking for --enable-colourpicker... yes\r\n  checking for --enable-combobox... yes\r\n  checking for --enable-comboctrl... yes\r\n  checking for --enable-commandlinkbutton... yes\r\n  checking for --enable-dataviewctrl... yes\r\n  checking for --enable-datepick... yes\r\n  checking for --enable-detect_sm... yes\r\n  checking for --enable-dirpicker... yes\r\n  checking for --enable-display... yes\r\n  checking for --enable-editablebox... yes\r\n  checking for --enable-filectrl... yes\r\n  checking for --enable-filepicker... yes\r\n  checking for --enable-fontpicker... yes\r\n  checking for --enable-gauge... yes\r\n  checking for --enable-grid... yes\r\n  checking for --enable-headerctrl... yes\r\n  checking for --enable-hyperlink... yes\r\n  checking for --enable-imaglist... yes\r\n  checking for --enable-infobar... yes\r\n  checking for --enable-listbook... yes\r\n  checking for --enable-listbox... yes\r\n  checking for --enable-listctrl... yes\r\n  checking for --enable-notebook... yes\r\n  checking for --enable-notifmsg... yes\r\n  checking for --enable-odcombobox... yes\r\n  checking for --enable-popupwin... yes\r\n  checking for --enable-prefseditor... yes\r\n  checking for --enable-radiobox... yes\r\n  checking for --enable-radiobtn... yes\r\n  checking for --enable-richmsgdlg... yes\r\n  checking for --enable-richtooltip... yes\r\n  checking for --enable-rearrangectrl... yes\r\n  checking for --enable-sash... yes\r\n  checking for --enable-scrollbar... yes\r\n  checking for --enable-searchctrl... yes\r\n  checking for --enable-slider... yes\r\n  checking for --enable-spinbtn... yes\r\n  checking for --enable-spinctrl... yes\r\n  checking for --enable-splitter... yes\r\n  checking for --enable-statbmp... yes\r\n  checking for --enable-statbox... yes\r\n  checking for --enable-statline... yes\r\n  checking for --enable-stattext... yes\r\n  checking for --enable-statusbar... yes\r\n  checking for --enable-taskbaricon... yes\r\n  checking for --enable-tbarnative... yes\r\n  checking for --enable-textctrl... yes\r\n  checking for --enable-datepick... yes\r\n  checking for --enable-tipwindow... yes\r\n  checking for --enable-togglebtn... yes\r\n  checking for --enable-toolbar... yes\r\n  checking for --enable-toolbook... yes\r\n  checking for --enable-treebook... yes\r\n  checking for --enable-treectrl... yes\r\n  checking for --enable-treelist... yes\r\n  checking for --enable-commondlg... yes\r\n  checking for --enable-aboutdlg... yes\r\n  checking for --enable-choicedlg... yes\r\n  checking for --enable-coldlg... yes\r\n  checking for --enable-filedlg... yes\r\n  checking for --enable-finddlg... yes\r\n  checking for --enable-fontdlg... yes\r\n  checking for --enable-dirdlg... yes\r\n  checking for --enable-msgdlg... yes\r\n  checking for --enable-numberdlg... yes\r\n  checking for --enable-splash... yes\r\n  checking for --enable-textdlg... yes\r\n  checking for --enable-tipdlg... yes\r\n  checking for --enable-progressdlg... yes\r\n  checking for --enable-wizarddlg... yes\r\n  checking for --enable-menus... yes\r\n  checking for --enable-miniframe... yes\r\n  checking for --enable-tooltips... yes\r\n  checking for --enable-splines... yes\r\n  checking for --enable-mousewheel... yes\r\n  checking for --enable-validators... yes\r\n  checking for --enable-busyinfo... yes\r\n  checking for --enable-hotkey... auto\r\n  checking for --enable-joystick... yes\r\n  checking for --enable-metafile... auto\r\n  checking for --enable-dragimage... yes\r\n  checking for --enable-accessibility... no\r\n  checking for --enable-uiactionsim... yes\r\n  checking for --enable-dctransform... yes\r\n  checking for --enable-webviewwebkit... yes\r\n  checking for --enable-palette... yes\r\n  checking for --enable-image... yes\r\n  checking for --enable-gif... yes\r\n  checking for --enable-pcx... yes\r\n  checking for --enable-tga... yes\r\n  checking for --enable-iff... yes\r\n  checking for --enable-pnm... yes\r\n  checking for --enable-xpm... yes\r\n  checking for --enable-ico_cur... yes\r\n  checking for --enable-dccache... yes\r\n  checking for --enable-ps-in-msw... yes\r\n  checking for --enable-ownerdrawn... yes\r\n  checking for --enable-uxtheme... yes\r\n  checking for --enable-wxdib... yes\r\n  checking for --enable-webviewie... yes\r\n  checking for --enable-autoidman... no\r\n  checking for gcc... gcc\r\n  checking whether the C compiler works... yes\r\n  checking for C compiler default output file name... a.out\r\n  checking for suffix of executables...\r\n  checking whether we are cross compiling... no\r\n  checking for suffix of object files... o\r\n  checking whether we are using the GNU C compiler... yes\r\n  checking whether gcc accepts -g... yes\r\n  checking for gcc option to accept ISO C89... none needed\r\n  checking whether we are using the Intel C compiler... no\r\n  checking how to run the C preprocessor... gcc -E\r\n  checking for grep that handles long lines and -e... /bin/grep\r\n  checking for egrep... /bin/grep -E\r\n  checking whether gcc needs -traditional... no\r\n  checking for g++... g++\r\n  checking whether we are using the GNU C++ compiler... yes\r\n  checking whether g++ accepts -g... yes\r\n  checking whether we are using the Intel C++ compiler... no\r\n  checking whether we are using the Sun C++ compiler... no\r\n  checking for ar... ar\r\n  checking for ANSI C header files... yes\r\n  checking for sys/types.h... yes\r\n  checking for sys/stat.h... yes\r\n  checking for stdlib.h... yes\r\n  checking for string.h... yes\r\n  checking for memory.h... yes\r\n  checking for strings.h... yes\r\n  checking for inttypes.h... yes\r\n  checking for stdint.h... yes\r\n  checking for unistd.h... yes\r\n  checking for langinfo.h... yes\r\n  checking for wchar.h... yes\r\n  checking for sys/select.h... yes\r\n  checking for cxxabi.h... yes\r\n  checking for an ANSI C-conforming const... yes\r\n  checking for inline... inline\r\n  checking size of short... 2\r\n  checking size of void *... 8\r\n  checking size of int... 4\r\n  checking size of long... 8\r\n  checking size of size_t... 8\r\n  checking size of long long... 8\r\n  checking size of wchar_t... 4\r\n  checking for va_copy... yes\r\n  checking whether the compiler supports variadic macros... yes\r\n  checking for _FILE_OFFSET_BITS value needed for large files... 64\r\n  checking if large file support is available... yes\r\n  checking for _LARGEFILE_SOURCE value needed for large files... no\r\n  checking whether byte ordering is bigendian... no\r\n  checking for iostream... yes\r\n  checking if C++ compiler supports the explicit keyword... yes\r\n  checking for std::wstring in <string>... yes\r\n  checking for std::istream... yes\r\n  checking for std::ostream... yes\r\n  checking how to run the C++ preprocessor... g++ -E\r\n  checking type_traits usability... no\r\n  checking type_traits presence... no\r\n  checking for type_traits... no\r\n  checking tr1/type_traits usability... yes\r\n  checking tr1/type_traits presence... yes\r\n  checking for tr1/type_traits... yes\r\n  checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... yes\r\n  checking for libraries directories... /usr/lib64\r\n  checking for cos... no\r\n  checking for floor... no\r\n  checking if floating point functions link without -lm... no\r\n  checking for sin... yes\r\n  checking for ceil... yes\r\n  checking if floating point functions link with -lm... yes\r\n  checking for strtoull... yes\r\n  checking for pkg-config... /usr/bin/pkg-config\r\n  checking pkg-config is at least version 0.9.0... yes\r\n  configure: WARNING: Defaulting to the builtin regex library for Unicode build.\r\n  checking for zlib.h >= 1.1.4... yes\r\n  checking for zlib.h... (cached) yes\r\n  checking for deflate in -lz... yes\r\n  checking for png.h > 0.90... no\r\n  checking for png.h... (cached) no\r\n  configure: WARNING: system png library not found or too old, will use built-in instead\r\n  checking for jpeglib.h... yes\r\n  checking for jpeg_read_header in -ljpeg... yes\r\n  checking for tiffio.h... yes\r\n  checking for TIFFError in -ltiff... yes\r\n  checking for expat.h... no\r\n  configure: WARNING: system expat library not found, will use built-in instead\r\n  checking for GTK+ version...\r\n  checking for pkg-config... /usr/bin/pkg-config\r\n  checking for GTK+ - version >= 3.0.0... no\r\n  *** Could not run GTK+ test program, checking why...\r\n  *** The test program failed to compile or link. See the file config.log for the\r\n  *** exact error that occured. This usually means GTK+ is incorrectly installed.\r\n  configure: error:\r\n  The development files for GTK+ were not found. For GTK+ 2, please\r\n  ensure that pkg-config is in the path and that gtk+-2.0.pc is\r\n  installed. For GTK+ 1.2 please check that gtk-config is in the path,\r\n  and that the version is 1.2.3 or above. Also check that the\r\n  libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config\r\n  --libs' are in the LD_LIBRARY_PATH or equivalent.\r\n  \r\n  Error running configure\r\n  ERROR: failed building wxWidgets\r\n  Traceback (most recent call last):\r\n    File \"build.py\", line 1321, in cmd_build_wx\r\n      wxbuild.main(wxDir(), build_options)\r\n    File \"/tmp/pip-build-1adheysl/wxPython/buildtools/build_wxwidgets.py\", line 374, in main\r\n      \"Error running configure\")\r\n    File \"/tmp/pip-build-1adheysl/wxPython/buildtools/build_wxwidgets.py\", line 85, in exitIfError\r\n      raise builder.BuildError(msg)\r\n  buildtools.builder.BuildError: Error running configure\r\n  Finished command: build_wx (0m8.804s)\r\n  Finished command: build (0m8.804s)\r\n  Command '\"/home/magic/miniconda3/bin/python\" -u build.py build' failed with exit code 1.\r\n  \r\n  ----------------------------------------\r\n  Failed building wheel for wxPython\r\n  Running setup.py clean for wxPython\r\nFailed to build wxPython\r\nInstalling collected packages: wxPython\r\n  Running setup.py install for wxPython ... error\r\n    Complete output from command /home/magic/miniconda3/bin/python -u -c \"import setuptools, tokenize;__file__='/tmp/pip-build-1adheysl/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-40b3zjii-record/install-record.txt --single-version-externally-managed --compile:\r\n    running install\r\n    running build\r\n    WARNING: Building this way assumes that all generated files have been\r\n    generated already.  If that is not the case then use build.py directly\r\n    to generate the source and perform the build stage.  You can use\r\n    --skip-build with the bdist_* or install commands to avoid this\r\n    message and the wxWidgets and Phoenix build steps in the future.\r\n    \r\n    \"/home/magic/miniconda3/bin/python\" -u build.py build\r\n    Will build using: \"/home/magic/miniconda3/bin/python\"\r\n    3.6.4 |Anaconda custom (64-bit)| (default, Jan 16 2018, 18:10:19)\r\n    [GCC 7.2.0]\r\n    Python's architecture is 64bit\r\n    cfg.VERSION: 4.0.2a1.dev3759+2e5430d5\r\n    \r\n    Running command: build\r\n    Running command: build_wx\r\n    wxWidgets build options: ['--wxpython', '--unicode', '--gtk3']\r\n    Configure options: ['--enable-unicode', '--with-gtk=3', '--with-opengl', '--enable-sound', '--enable-graphics_ctx', '--enable-mediactrl', '--enable-display', '--enable-geometry', '--enable-debug_flag', '--enable-optimise', '--disable-debugreport', '--enable-uiactionsim', '--with-sdl']\r\n    /tmp/pip-build-1adheysl/wxPython/ext/wxWidgets/configure --enable-unicode --with-gtk=3 --with-opengl --enable-sound --enable-graphics_ctx --enable-mediactrl --enable-display --enable-geometry --enable-debug_flag --enable-optimise --disable-debugreport --enable-uiactionsim --with-sdl\r\n    checking build system type... x86_64-pc-linux-gnu\r\n    checking host system type... x86_64-pc-linux-gnu\r\n    checking for --disable-gui... no\r\n    checking for --enable-monolithic... no\r\n    checking for --enable-plugins... no\r\n    checking for --without-subdirs... no\r\n    checking for --enable-official_build... no\r\n    checking for --disable-all-features... no\r\n    checking for --enable-universal... no\r\n    checking for --enable-nanox... no\r\n    checking for --enable-gpe... no\r\n    checking for toolkit... gtk\r\n    checking for --with-libpng... yes\r\n    checking for --with-libjpeg... yes\r\n    checking for --with-libtiff... yes\r\n    checking for --without-libjbig... no\r\n    checking for --without-liblzma... no\r\n    checking for --with-libxpm... yes\r\n    checking for --with-libiconv... yes\r\n    checking for --with-libmspack... no\r\n    checking for --without-gtkprint... no\r\n    checking for --with-gnomevfs... no\r\n    checking for --with-libnotify... yes\r\n    checking for --with-hildon... no\r\n    checking for --with-opengl... yes\r\n    checking for --with-dmalloc... no\r\n    checking for --with-sdl... yes\r\n    checking for --with-regex... yes\r\n    checking for --with-zlib... yes\r\n    checking for --with-expat... yes\r\n    checking for --with-macosx-sdk...\r\n    checking for --with-macosx-version-min...\r\n    checking for --enable-debug... default\r\n    checking for --disable-debug_flag... no\r\n    checking for --enable-debug_info... no\r\n    checking for --enable-debug_gdb... no\r\n    checking for --enable-debug_cntxt... no\r\n    checking for --enable-mem_tracing... no\r\n    checking for --disable-shared... no\r\n    checking for --enable-stl... no\r\n    checking for --enable-std_containers... no\r\n    checking for --enable-std_iostreams... yes\r\n    checking for --enable-std_string... yes\r\n    checking for --enable-std_string_conv_in_wxstring... no\r\n    checking for --disable-unicode... no\r\n    checking for --enable-mslu... no\r\n    checking for --enable-utf8... no\r\n    checking for --enable-utf8only... no\r\n    checking for --enable-extended_rtti... no\r\n    checking for --disable-optimise... no\r\n    checking for --enable-profile... no\r\n    checking for --enable-no_rtti... no\r\n    checking for --enable-no_exceptions... no\r\n    checking for --enable-permissive... no\r\n    checking for --enable-no_deps... no\r\n    checking for --disable-vararg_macros... no\r\n    checking for --enable-universal_binary... no\r\n    checking for --enable-macosx_arch... no\r\n    checking for --enable-compat26... no\r\n    checking for --disable-compat28... no\r\n    checking for --disable-rpath... no\r\n    checking for --enable-objc_uniquifying... no\r\n    checking for --disable-visibility... no\r\n    checking for --disable-tls... no\r\n    checking for --enable-intl... yes\r\n    checking for --enable-xlocale... yes\r\n    checking for --enable-config... yes\r\n    checking for --enable-protocols... yes\r\n    checking for --enable-ftp... yes\r\n    checking for --enable-http... yes\r\n    checking for --enable-fileproto... yes\r\n    checking for --enable-sockets... yes\r\n    checking for --enable-ipv6... no\r\n    checking for --enable-ole... yes\r\n    checking for --enable-dataobj... yes\r\n    checking for --enable-ipc... yes\r\n    checking for --enable-baseevtloop... yes\r\n    checking for --enable-epollloop... yes\r\n    checking for --enable-selectloop... yes\r\n    checking for --enable-any... yes\r\n    checking for --enable-apple_ieee... yes\r\n    checking for --enable-arcstream... yes\r\n    checking for --enable-base64... yes\r\n    checking for --enable-backtrace... yes\r\n    checking for --enable-catch_segvs... yes\r\n    checking for --enable-cmdline... yes\r\n    checking for --enable-datetime... yes\r\n    checking for --enable-debugreport... no\r\n    checking for --enable-dialupman... yes\r\n    checking for --enable-dynlib... yes\r\n    checking for --enable-dynamicloader... yes\r\n    checking for --enable-exceptions... yes\r\n    checking for --enable-ffile... yes\r\n    checking for --enable-file... yes\r\n    checking for --enable-filehistory... yes\r\n    checking for --enable-filesystem... yes\r\n    checking for --enable-fontenum... yes\r\n    checking for --enable-fontmap... yes\r\n    checking for --enable-fs_archive... yes\r\n    checking for --enable-fs_inet... yes\r\n    checking for --enable-fs_zip... yes\r\n    checking for --enable-fsvolume... yes\r\n    checking for --enable-fswatcher... yes\r\n    checking for --enable-geometry... yes\r\n    checking for --enable-log... yes\r\n    checking for --enable-longlong... yes\r\n    checking for --enable-mimetype... yes\r\n    checking for --enable-printfposparam... yes\r\n    checking for --enable-snglinst... yes\r\n    checking for --enable-sound... yes\r\n    checking for --enable-stdpaths... yes\r\n    checking for --enable-stopwatch... yes\r\n    checking for --enable-streams... yes\r\n    checking for --enable-sysoptions... yes\r\n    checking for --enable-tarstream... yes\r\n    checking for --enable-textbuf... yes\r\n    checking for --enable-textfile... yes\r\n    checking for --enable-timer... yes\r\n    checking for --enable-variant... yes\r\n    checking for --enable-zipstream... yes\r\n    checking for --enable-url... yes\r\n    checking for --enable-protocol... yes\r\n    checking for --enable-protocol_http... yes\r\n    checking for --enable-protocol_ftp... yes\r\n    checking for --enable-protocol_file... yes\r\n    checking for --enable-threads... yes\r\n    checking for --enable-iniconf... no\r\n    checking for --enable-regkey... yes\r\n    checking for --enable-docview... yes\r\n    checking for --enable-help... yes\r\n    checking for --enable-mshtmlhelp... yes\r\n    checking for --enable-html... yes\r\n    checking for --enable-htmlhelp... yes\r\n    checking for --enable-xrc... yes\r\n    checking for --enable-aui... yes\r\n    checking for --enable-propgrid... yes\r\n    checking for --enable-ribbon... yes\r\n    checking for --enable-stc... yes\r\n    checking for --enable-constraints... yes\r\n    checking for --enable-loggui... yes\r\n    checking for --enable-logwin... yes\r\n    checking for --enable-logdialog... yes\r\n    checking for --enable-mdi... yes\r\n    checking for --enable-mdidoc... yes\r\n    checking for --enable-mediactrl... yes\r\n    checking for --enable-gstreamer8... no\r\n    checking for --enable-richtext... yes\r\n    checking for --enable-postscript... yes\r\n    checking for --enable-printarch... yes\r\n    checking for --enable-svg... yes\r\n    checking for --enable-webkit... yes\r\n    checking for --enable-webview... yes\r\n    checking for --enable-graphics_ctx... yes\r\n    checking for --enable-clipboard... yes\r\n    checking for --enable-dnd... yes\r\n    checking for --disable-controls... no\r\n    checking for --enable-markup... yes\r\n    checking for --enable-accel... yes\r\n    checking for --enable-animatectrl... yes\r\n    checking for --enable-bannerwindow... yes\r\n    checking for --enable-artstd... yes\r\n    checking for --enable-arttango... auto\r\n    checking for --enable-bmpbutton... yes\r\n    checking for --enable-bmpcombobox... yes\r\n    checking for --enable-button... yes\r\n    checking for --enable-calendar... yes\r\n    checking for --enable-caret... yes\r\n    checking for --enable-checkbox... yes\r\n    checking for --enable-checklst... yes\r\n    checking for --enable-choice... yes\r\n    checking for --enable-choicebook... yes\r\n    checking for --enable-collpane... yes\r\n    checking for --enable-colourpicker... yes\r\n    checking for --enable-combobox... yes\r\n    checking for --enable-comboctrl... yes\r\n    checking for --enable-commandlinkbutton... yes\r\n    checking for --enable-dataviewctrl... yes\r\n    checking for --enable-datepick... yes\r\n    checking for --enable-detect_sm... yes\r\n    checking for --enable-dirpicker... yes\r\n    checking for --enable-display... yes\r\n    checking for --enable-editablebox... yes\r\n    checking for --enable-filectrl... yes\r\n    checking for --enable-filepicker... yes\r\n    checking for --enable-fontpicker... yes\r\n    checking for --enable-gauge... yes\r\n    checking for --enable-grid... yes\r\n    checking for --enable-headerctrl... yes\r\n    checking for --enable-hyperlink... yes\r\n    checking for --enable-imaglist... yes\r\n    checking for --enable-infobar... yes\r\n    checking for --enable-listbook... yes\r\n    checking for --enable-listbox... yes\r\n    checking for --enable-listctrl... yes\r\n    checking for --enable-notebook... yes\r\n    checking for --enable-notifmsg... yes\r\n    checking for --enable-odcombobox... yes\r\n    checking for --enable-popupwin... yes\r\n    checking for --enable-prefseditor... yes\r\n    checking for --enable-radiobox... yes\r\n    checking for --enable-radiobtn... yes\r\n    checking for --enable-richmsgdlg... yes\r\n    checking for --enable-richtooltip... yes\r\n    checking for --enable-rearrangectrl... yes\r\n    checking for --enable-sash... yes\r\n    checking for --enable-scrollbar... yes\r\n    checking for --enable-searchctrl... yes\r\n    checking for --enable-slider... yes\r\n    checking for --enable-spinbtn... yes\r\n    checking for --enable-spinctrl... yes\r\n    checking for --enable-splitter... yes\r\n    checking for --enable-statbmp... yes\r\n    checking for --enable-statbox... yes\r\n    checking for --enable-statline... yes\r\n    checking for --enable-stattext... yes\r\n    checking for --enable-statusbar... yes\r\n    checking for --enable-taskbaricon... yes\r\n    checking for --enable-tbarnative... yes\r\n    checking for --enable-textctrl... yes\r\n    checking for --enable-datepick... yes\r\n    checking for --enable-tipwindow... yes\r\n    checking for --enable-togglebtn... yes\r\n    checking for --enable-toolbar... yes\r\n    checking for --enable-toolbook... yes\r\n    checking for --enable-treebook... yes\r\n    checking for --enable-treectrl... yes\r\n    checking for --enable-treelist... yes\r\n    checking for --enable-commondlg... yes\r\n    checking for --enable-aboutdlg... yes\r\n    checking for --enable-choicedlg... yes\r\n    checking for --enable-coldlg... yes\r\n    checking for --enable-filedlg... yes\r\n    checking for --enable-finddlg... yes\r\n    checking for --enable-fontdlg... yes\r\n    checking for --enable-dirdlg... yes\r\n    checking for --enable-msgdlg... yes\r\n    checking for --enable-numberdlg... yes\r\n    checking for --enable-splash... yes\r\n    checking for --enable-textdlg... yes\r\n    checking for --enable-tipdlg... yes\r\n    checking for --enable-progressdlg... yes\r\n    checking for --enable-wizarddlg... yes\r\n    checking for --enable-menus... yes\r\n    checking for --enable-miniframe... yes\r\n    checking for --enable-tooltips... yes\r\n    checking for --enable-splines... yes\r\n    checking for --enable-mousewheel... yes\r\n    checking for --enable-validators... yes\r\n    checking for --enable-busyinfo... yes\r\n    checking for --enable-hotkey... auto\r\n    checking for --enable-joystick... yes\r\n    checking for --enable-metafile... auto\r\n    checking for --enable-dragimage... yes\r\n    checking for --enable-accessibility... no\r\n    checking for --enable-uiactionsim... yes\r\n    checking for --enable-dctransform... yes\r\n    checking for --enable-webviewwebkit... yes\r\n    checking for --enable-palette... yes\r\n    checking for --enable-image... yes\r\n    checking for --enable-gif... yes\r\n    checking for --enable-pcx... yes\r\n    checking for --enable-tga... yes\r\n    checking for --enable-iff... yes\r\n    checking for --enable-pnm... yes\r\n    checking for --enable-xpm... yes\r\n    checking for --enable-ico_cur... yes\r\n    checking for --enable-dccache... yes\r\n    checking for --enable-ps-in-msw... yes\r\n    checking for --enable-ownerdrawn... yes\r\n    checking for --enable-uxtheme... yes\r\n    checking for --enable-wxdib... yes\r\n    checking for --enable-webviewie... yes\r\n    checking for --enable-autoidman... no\r\n    checking for gcc... gcc\r\n    checking whether the C compiler works... yes\r\n    checking for C compiler default output file name... a.out\r\n    checking for suffix of executables...\r\n    checking whether we are cross compiling... no\r\n    checking for suffix of object files... o\r\n    checking whether we are using the GNU C compiler... yes\r\n    checking whether gcc accepts -g... yes\r\n    checking for gcc option to accept ISO C89... none needed\r\n    checking whether we are using the Intel C compiler... no\r\n    checking how to run the C preprocessor... gcc -E\r\n    checking for grep that handles long lines and -e... /bin/grep\r\n    checking for egrep... /bin/grep -E\r\n    checking whether gcc needs -traditional... no\r\n    checking for g++... g++\r\n    checking whether we are using the GNU C++ compiler... yes\r\n    checking whether g++ accepts -g... yes\r\n    checking whether we are using the Intel C++ compiler... no\r\n    checking whether we are using the Sun C++ compiler... no\r\n    checking for ar... ar\r\n    checking for ANSI C header files... yes\r\n    checking for sys/types.h... yes\r\n    checking for sys/stat.h... yes\r\n    checking for stdlib.h... yes\r\n    checking for string.h... yes\r\n    checking for memory.h... yes\r\n    checking for strings.h... yes\r\n    checking for inttypes.h... yes\r\n    checking for stdint.h... yes\r\n    checking for unistd.h... yes\r\n    checking for langinfo.h... yes\r\n    checking for wchar.h... yes\r\n    checking for sys/select.h... yes\r\n    checking for cxxabi.h... yes\r\n    checking for an ANSI C-conforming const... yes\r\n    checking for inline... inline\r\n    checking size of short... 2\r\n    checking size of void *... 8\r\n    checking size of int... 4\r\n    checking size of long... 8\r\n    checking size of size_t... 8\r\n    checking size of long long... 8\r\n    checking size of wchar_t... 4\r\n    checking for va_copy... yes\r\n    checking whether the compiler supports variadic macros... yes\r\n    checking for _FILE_OFFSET_BITS value needed for large files... 64\r\n    checking if large file support is available... yes\r\n    checking for _LARGEFILE_SOURCE value needed for large files... no\r\n    checking whether byte ordering is bigendian... no\r\n    checking for iostream... yes\r\n    checking if C++ compiler supports the explicit keyword... yes\r\n    checking for std::wstring in <string>... yes\r\n    checking for std::istream... yes\r\n    checking for std::ostream... yes\r\n    checking how to run the C++ preprocessor... g++ -E\r\n    checking type_traits usability... no\r\n    checking type_traits presence... no\r\n    checking for type_traits... no\r\n    checking tr1/type_traits usability... yes\r\n    checking tr1/type_traits presence... yes\r\n    checking for tr1/type_traits... yes\r\n    checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... yes\r\n    checking for libraries directories... /usr/lib64\r\n    checking for cos... no\r\n    checking for floor... no\r\n    checking if floating point functions link without -lm... no\r\n    checking for sin... yes\r\n    checking for ceil... yes\r\n    checking if floating point functions link with -lm... yes\r\n    checking for strtoull... yes\r\n    checking for pkg-config... /usr/bin/pkg-config\r\n    checking pkg-config is at least version 0.9.0... yes\r\n    configure: WARNING: Defaulting to the builtin regex library for Unicode build.\r\n    checking for zlib.h >= 1.1.4... yes\r\n    checking for zlib.h... (cached) yes\r\n    checking for deflate in -lz... yes\r\n    checking for png.h > 0.90... no\r\n    checking for png.h... (cached) no\r\n    configure: WARNING: system png library not found or too old, will use built-in instead\r\n    checking for jpeglib.h... yes\r\n    checking for jpeg_read_header in -ljpeg... yes\r\n    checking for tiffio.h... yes\r\n    checking for TIFFError in -ltiff... yes\r\n    checking for expat.h... no\r\n    configure: WARNING: system expat library not found, will use built-in instead\r\n    checking for GTK+ version...\r\n    checking for pkg-config... /usr/bin/pkg-config\r\n    checking for GTK+ - version >= 3.0.0... no\r\n    *** Could not run GTK+ test program, checking why...\r\n    *** The test program failed to compile or link. See the file config.log for the\r\n    *** exact error that occured. This usually means GTK+ is incorrectly installed.\r\n    configure: error:\r\n    The development files for GTK+ were not found. For GTK+ 2, please\r\n    ensure that pkg-config is in the path and that gtk+-2.0.pc is\r\n    installed. For GTK+ 1.2 please check that gtk-config is in the path,\r\n    and that the version is 1.2.3 or above. Also check that the\r\n    libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config\r\n    --libs' are in the LD_LIBRARY_PATH or equivalent.\r\n    \r\n    Error running configure\r\n    ERROR: failed building wxWidgets\r\n    Traceback (most recent call last):\r\n      File \"build.py\", line 1321, in cmd_build_wx\r\n        wxbuild.main(wxDir(), build_options)\r\n      File \"/tmp/pip-build-1adheysl/wxPython/buildtools/build_wxwidgets.py\", line 374, in main\r\n        \"Error running configure\")\r\n      File \"/tmp/pip-build-1adheysl/wxPython/buildtools/build_wxwidgets.py\", line 85, in exitIfError\r\n        raise builder.BuildError(msg)\r\n    buildtools.builder.BuildError: Error running configure\r\n    Finished command: build_wx (0m3.906s)\r\n    Finished command: build (0m3.907s)\r\n    Command '\"/home/magic/miniconda3/bin/python\" -u build.py build' failed with exit code 1.\r\n    \r\n    ----------------------------------------\r\nCommand \"/home/magic/miniconda3/bin/python -u -c \"import setuptools, tokenize;__file__='/tmp/pip-build-1adheysl/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-40b3zjii-record/install-record.txt --single-version-externally-managed --compile\" failed with error code 1 in /tmp/pip-build-1adheysl/wxPython/\r\n[magic@tofetolu ~]$ \r\n\r\n"},"comment":{"url":"https://api.github.com/repos/PmagPy/PmagPy/issues/comments/389003865","html_url":"https://github.com/PmagPy/PmagPy/issues/351#issuecomment-389003865","issue_url":"https://api.github.com/repos/PmagPy/PmagPy/issues/351","id":389003865,"user":{"login":"njarboe","id":1278789,"avatar_url":"https://avatars0.githubusercontent.com/u/1278789?v=4","gravatar_id":"","url":"https://api.github.com/users/njarboe","html_url":"https://github.com/njarboe","followers_url":"https://api.github.com/users/njarboe/followers","following_url":"https://api.github.com/users/njarboe/following{/other_user}","gists_url":"https://api.github.com/users/njarboe/gists{/gist_id}","starred_url":"https://api.github.com/users/njarboe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/njarboe/subscriptions","organizations_url":"https://api.github.com/users/njarboe/orgs","repos_url":"https://api.github.com/users/njarboe/repos","events_url":"https://api.github.com/users/njarboe/events{/privacy}","received_events_url":"https://api.github.com/users/njarboe/received_events","type":"User","site_admin":false},"created_at":"2018-05-15T00:25:44Z","updated_at":"2018-05-15T00:25:44Z","author_association":"COLLABORATOR","body":"Thanks Lori - I guessed you meant:\r\nmatplotlib.pyplot.switch_backend()\r\n\r\nSwitching to agg from tkagg seems to help as now I am getting a different errors related to the eqarea.py code. Fixed one bug. Working on the next one. Not sure how batch plotting worked before with these bugs. Hopefully I'll getting it working soon.\r\n\r\n"}}
{"actor":{"display_login":"njarboe"}}