ruimalheiro / wx-ka-lite-gui

Just an experiment
0 stars 1 forks source link

ImportError: cannot import name adv #1

Open radinamatic opened 8 years ago

radinamatic commented 8 years ago

Full output here, just in case Slack is still keen on snipping snippets... :stuck_out_tongue_closed_eyes:

GNOME Ubuntu 15.10 freshly updated, first I get the ImportError: No module named wx error, try to install python-wxtools, but when after that I re-run main.py the ImportError: cannot import name adv appears.

Let me know if I can test something else!

didign@didign-VirtualBox:~/Desktop$ python main.py 
Collecting wxPython-Phoenix
  Downloading http://wxpython.org/Phoenix/snapshot-builds/wxPython_Phoenix-3.0.3.dev1851+eedf718.tar.gz (41.0MB)
    100% |████████████████████████████████| 41.0MB 894kB/s 
Building wheels for collected packages: wxPython-Phoenix
  Running setup.py bdist_wheel for wxPython-Phoenix ... error
  Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-boeDyq/wxPython-Phoenix/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" bdist_wheel -d /tmp/tmphmjAk1pip-wheel- --python-tag cp27:
  running bdist_wheel
  running build
  WARNING: Building this way assumes that all generated files have been
  generated already.  If that is not the case then use build.py directly
  to generate the source and perform the build stage.  You can use
  --skip-build with the bdist_* or install commands to avoid this
  message and the wxWidgets and Phoenix build steps in the future.

  /usr/bin/python -u build.py build
  Build using: "/usr/bin/python"
  2.7.10 (default, Oct 14 2015, 16:09:02)
  [GCC 5.2.1 20151010]
  Python's architecture is 64bit
  cfg.VERSION: 3.0.3.dev1851+eedf718

  Running command: build
  Running command: build_wx
  wxWidgets build options: ['--wxpython', '--unicode']
  Configure options: ['--enable-unicode', '--with-opengl', '--enable-sound', '--enable-graphics_ctx', '--enable-mediactrl', '--enable-display', '--enable-geometry', '--enable-debug_flag', '--enable-optimise', '--disable-debugreport', '--enable-uiactionsim', '--with-sdl']
  /tmp/pip-build-boeDyq/wxPython-Phoenix/ext/wxWidgets/configure --enable-unicode --with-opengl --enable-sound --enable-graphics_ctx --enable-mediactrl --enable-display --enable-geometry --enable-debug_flag --enable-optimise --disable-debugreport --enable-uiactionsim --with-sdl
  checking build system type... x86_64-unknown-linux-gnu
  checking host system type... x86_64-unknown-linux-gnu
  checking for --disable-gui... no
  checking for --enable-monolithic... no
  checking for --enable-plugins... no
  checking for --without-subdirs... no
  checking for --enable-official_build... no
  checking for --disable-all-features... no
  checking for --enable-universal... no
  checking for --enable-nanox... no
  checking for --enable-gpe... no
  checking for toolkit... gtk
  checking for --with-libpng... yes
  checking for --with-libjpeg... yes
  checking for --with-libtiff... yes
  checking for --without-libjbig... no
  checking for --without-liblzma... no
  checking for --with-libxpm... yes
  checking for --with-libiconv... yes
  checking for --with-libmspack... no
  checking for --without-gtkprint... no
  checking for --with-gnomevfs... no
  checking for --with-libnotify... yes
  checking for --with-hildon... no
  checking for --with-opengl... yes
  checking for --with-dmalloc... no
  checking for --with-sdl... yes
  checking for --with-regex... yes
  checking for --with-zlib... yes
  checking for --with-expat... yes
  checking for --with-macosx-sdk...
  checking for --with-macosx-version-min...
  checking for --enable-debug... default
  checking for --disable-debug_flag... no
  checking for --enable-debug_info... no
  checking for --enable-debug_gdb... no
  checking for --enable-debug_cntxt... no
  checking for --enable-mem_tracing... no
  checking for --disable-shared... no
  checking for --enable-stl... no
  checking for --enable-std_containers... no
  checking for --enable-std_iostreams... yes
  checking for --enable-std_string... yes
  checking for --enable-std_string_conv_in_wxstring... no
  checking for --disable-unicode... no
  checking for --enable-mslu... no
  checking for --enable-utf8... no
  checking for --enable-utf8only... no
  checking for --enable-extended_rtti... no
  checking for --disable-optimise... no
  checking for --enable-profile... no
  checking for --enable-no_rtti... no
  checking for --enable-no_exceptions... no
  checking for --enable-permissive... no
  checking for --enable-no_deps... no
  checking for --disable-vararg_macros... no
  checking for --enable-universal_binary... no
  checking for --enable-macosx_arch... no
  checking for --enable-compat26... no
  checking for --disable-compat28... no
  checking for --disable-rpath... no
  checking for --enable-objc_uniquifying... no
  checking for --disable-visibility... no
  checking for --disable-tls... no
  checking for --enable-intl... yes
  checking for --enable-xlocale... yes
  checking for --enable-config... yes
  checking for --enable-protocols... yes
  checking for --enable-ftp... yes
  checking for --enable-http... yes
  checking for --enable-fileproto... yes
  checking for --enable-sockets... yes
  checking for --enable-ipv6... no
  checking for --enable-ole... yes
  checking for --enable-dataobj... yes
  checking for --enable-ipc... yes
  checking for --enable-baseevtloop... yes
  checking for --enable-epollloop... yes
  checking for --enable-selectloop... yes
  checking for --enable-any... yes
  checking for --enable-apple_ieee... yes
  checking for --enable-arcstream... yes
  checking for --enable-base64... yes
  checking for --enable-backtrace... yes
  checking for --enable-catch_segvs... yes
  checking for --enable-cmdline... yes
  checking for --enable-datetime... yes
  checking for --enable-debugreport... no
  checking for --enable-dialupman... yes
  checking for --enable-dynlib... yes
  checking for --enable-dynamicloader... yes
  checking for --enable-exceptions... yes
  checking for --enable-ffile... yes
  checking for --enable-file... yes
  checking for --enable-filehistory... yes
  checking for --enable-filesystem... yes
  checking for --enable-fontenum... yes
  checking for --enable-fontmap... yes
  checking for --enable-fs_archive... yes
  checking for --enable-fs_inet... yes
  checking for --enable-fs_zip... yes
  checking for --enable-fsvolume... yes
  checking for --enable-fswatcher... yes
  checking for --enable-geometry... yes
  checking for --enable-log... yes
  checking for --enable-longlong... yes
  checking for --enable-mimetype... yes
  checking for --enable-printfposparam... yes
  checking for --enable-snglinst... yes
  checking for --enable-sound... yes
  checking for --enable-stdpaths... yes
  checking for --enable-stopwatch... yes
  checking for --enable-streams... yes
  checking for --enable-sysoptions... yes
  checking for --enable-tarstream... yes
  checking for --enable-textbuf... yes
  checking for --enable-textfile... yes
  checking for --enable-timer... yes
  checking for --enable-variant... yes
  checking for --enable-zipstream... yes
  checking for --enable-url... yes
  checking for --enable-protocol... yes
  checking for --enable-protocol_http... yes
  checking for --enable-protocol_ftp... yes
  checking for --enable-protocol_file... yes
  checking for --enable-threads... yes
  checking for --enable-iniconf... no
  checking for --enable-regkey... yes
  checking for --enable-docview... yes
  checking for --enable-help... yes
  checking for --enable-mshtmlhelp... yes
  checking for --enable-html... yes
  checking for --enable-htmlhelp... yes
  checking for --enable-xrc... yes
  checking for --enable-aui... yes
  checking for --enable-propgrid... yes
  checking for --enable-ribbon... yes
  checking for --enable-stc... yes
  checking for --enable-constraints... yes
  checking for --enable-loggui... yes
  checking for --enable-logwin... yes
  checking for --enable-logdialog... yes
  checking for --enable-mdi... yes
  checking for --enable-mdidoc... yes
  checking for --enable-mediactrl... yes
  checking for --enable-gstreamer8... no
  checking for --enable-richtext... yes
  checking for --enable-postscript... yes
  checking for --enable-printarch... yes
  checking for --enable-svg... yes
  checking for --enable-webkit... yes
  checking for --enable-webview... yes
  checking for --enable-graphics_ctx... yes
  checking for --enable-clipboard... yes
  checking for --enable-dnd... yes
  checking for --disable-controls... no
  checking for --enable-markup... yes
  checking for --enable-accel... yes
  checking for --enable-animatectrl... yes
  checking for --enable-bannerwindow... yes
  checking for --enable-artstd... yes
  checking for --enable-arttango... auto
  checking for --enable-bmpbutton... yes
  checking for --enable-bmpcombobox... yes
  checking for --enable-button... yes
  checking for --enable-calendar... yes
  checking for --enable-caret... yes
  checking for --enable-checkbox... yes
  checking for --enable-checklst... yes
  checking for --enable-choice... yes
  checking for --enable-choicebook... yes
  checking for --enable-collpane... yes
  checking for --enable-colourpicker... yes
  checking for --enable-combobox... yes
  checking for --enable-comboctrl... yes
  checking for --enable-commandlinkbutton... yes
  checking for --enable-dataviewctrl... yes
  checking for --enable-datepick... yes
  checking for --enable-detect_sm... yes
  checking for --enable-dirpicker... yes
  checking for --enable-display... yes
  checking for --enable-editablebox... yes
  checking for --enable-filectrl... yes
  checking for --enable-filepicker... yes
  checking for --enable-fontpicker... yes
  checking for --enable-gauge... yes
  checking for --enable-grid... yes
  checking for --enable-headerctrl... yes
  checking for --enable-hyperlink... yes
  checking for --enable-imaglist... yes
  checking for --enable-infobar... yes
  checking for --enable-listbook... yes
  checking for --enable-listbox... yes
  checking for --enable-listctrl... yes
  checking for --enable-notebook... yes
  checking for --enable-notifmsg... yes
  checking for --enable-odcombobox... yes
  checking for --enable-popupwin... yes
  checking for --enable-prefseditor... yes
  checking for --enable-radiobox... yes
  checking for --enable-radiobtn... yes
  checking for --enable-richmsgdlg... yes
  checking for --enable-richtooltip... yes
  checking for --enable-rearrangectrl... yes
  checking for --enable-sash... yes
  checking for --enable-scrollbar... yes
  checking for --enable-searchctrl... yes
  checking for --enable-slider... yes
  checking for --enable-spinbtn... yes
  checking for --enable-spinctrl... yes
  checking for --enable-splitter... yes
  checking for --enable-statbmp... yes
  checking for --enable-statbox... yes
  checking for --enable-statline... yes
  checking for --enable-stattext... yes
  checking for --enable-statusbar... yes
  checking for --enable-taskbaricon... yes
  checking for --enable-tbarnative... yes
  checking for --enable-textctrl... yes
  checking for --enable-datepick... yes
  checking for --enable-tipwindow... yes
  checking for --enable-togglebtn... yes
  checking for --enable-toolbar... yes
  checking for --enable-toolbook... yes
  checking for --enable-treebook... yes
  checking for --enable-treectrl... yes
  checking for --enable-treelist... yes
  checking for --enable-commondlg... yes
  checking for --enable-aboutdlg... yes
  checking for --enable-choicedlg... yes
  checking for --enable-coldlg... yes
  checking for --enable-filedlg... yes
  checking for --enable-finddlg... yes
  checking for --enable-fontdlg... yes
  checking for --enable-dirdlg... yes
  checking for --enable-msgdlg... yes
  checking for --enable-numberdlg... yes
  checking for --enable-splash... yes
  checking for --enable-textdlg... yes
  checking for --enable-tipdlg... yes
  checking for --enable-progressdlg... yes
  checking for --enable-wizarddlg... yes
  checking for --enable-menus... yes
  checking for --enable-miniframe... yes
  checking for --enable-tooltips... yes
  checking for --enable-splines... yes
  checking for --enable-mousewheel... yes
  checking for --enable-validators... yes
  checking for --enable-busyinfo... yes
  checking for --enable-hotkey... auto
  checking for --enable-joystick... yes
  checking for --enable-metafile... auto
  checking for --enable-dragimage... yes
  checking for --enable-accessibility... no
  checking for --enable-uiactionsim... yes
  checking for --enable-dctransform... yes
  checking for --enable-webviewwebkit... yes
  checking for --enable-palette... yes
  checking for --enable-image... yes
  checking for --enable-gif... yes
  checking for --enable-pcx... yes
  checking for --enable-tga... yes
  checking for --enable-iff... yes
  checking for --enable-pnm... yes
  checking for --enable-xpm... yes
  checking for --enable-ico_cur... yes
  checking for --enable-dccache... yes
  checking for --enable-ps-in-msw... yes
  checking for --enable-ownerdrawn... yes
  checking for --enable-uxtheme... yes
  checking for --enable-wxdib... yes
  checking for --enable-webviewie... yes
  checking for --enable-autoidman... no
  checking for gcc... gcc
  checking whether the C compiler works... yes
  checking for C compiler default output file name... a.out
  checking for suffix of executables...
  checking whether we are cross compiling... no
  checking for suffix of object files... o
  checking whether we are using the GNU C compiler... yes
  checking whether gcc accepts -g... yes
  checking for gcc option to accept ISO C89... none needed
  checking whether we are using the Intel C compiler... no
  checking how to run the C preprocessor... gcc -E
  checking for grep that handles long lines and -e... /bin/grep
  checking for egrep... /bin/grep -E
  checking whether gcc needs -traditional... no
  checking for g++... no
  checking for c++... no
  checking for gpp... no
  checking for aCC... no
  checking for CC... no
  checking for cxx... no
  checking for cc++... no
  checking for cl.exe... no
  checking for FCC... no
  checking for KCC... no
  checking for RCC... no
  checking for xlC_r... no
  checking for xlC... no
  checking whether we are using the GNU C++ compiler... no
  checking whether g++ accepts -g... no
  checking whether we are using the Intel C++ compiler... no
  checking whether we are using the Sun C++ compiler... no
  configure: error: C++ compiler is needed to build wxWidgets
  Error running configure
  ERROR: failed building wxWidgets
  Traceback (most recent call last):
    File "build.py", line 1143, in cmd_build_wx
      wxbuild.main(wxscript, build_options)
    File "/tmp/pip-build-boeDyq/wxPython-Phoenix/ext/wxWidgets/build/tools/build-wxwidgets.py", line 365, in main
      "Error running configure")
    File "/tmp/pip-build-boeDyq/wxPython-Phoenix/ext/wxWidgets/build/tools/build-wxwidgets.py", line 82, in exitIfError
      raise builder.BuildError(msg)
  BuildError
  Finished command: build_wx (2.456s)
  Finished command: build (2.456s)
  Command '/usr/bin/python -u build.py build' failed with exit code 1.

  ----------------------------------------
  Failed building wheel for wxPython-Phoenix
  Running setup.py clean for wxPython-Phoenix
Failed to build wxPython-Phoenix
Installing collected packages: wxPython-Phoenix
  Running setup.py install for wxPython-Phoenix ... error
    Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-boeDyq/wxPython-Phoenix/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-iy5VGI-record/install-record.txt --single-version-externally-managed --compile:
    running install
    running build
    WARNING: Building this way assumes that all generated files have been
    generated already.  If that is not the case then use build.py directly
    to generate the source and perform the build stage.  You can use
    --skip-build with the bdist_* or install commands to avoid this
    message and the wxWidgets and Phoenix build steps in the future.

    /usr/bin/python -u build.py build
    Build using: "/usr/bin/python"
    2.7.10 (default, Oct 14 2015, 16:09:02)
    [GCC 5.2.1 20151010]
    Python's architecture is 64bit
    cfg.VERSION: 3.0.3.dev1851+eedf718

    Running command: build
    Running command: build_wx
    wxWidgets build options: ['--wxpython', '--unicode']
    Configure options: ['--enable-unicode', '--with-opengl', '--enable-sound', '--enable-graphics_ctx', '--enable-mediactrl', '--enable-display', '--enable-geometry', '--enable-debug_flag', '--enable-optimise', '--disable-debugreport', '--enable-uiactionsim', '--with-sdl']
    /tmp/pip-build-boeDyq/wxPython-Phoenix/ext/wxWidgets/configure --enable-unicode --with-opengl --enable-sound --enable-graphics_ctx --enable-mediactrl --enable-display --enable-geometry --enable-debug_flag --enable-optimise --disable-debugreport --enable-uiactionsim --with-sdl
    checking build system type... x86_64-unknown-linux-gnu
    checking host system type... x86_64-unknown-linux-gnu
    checking for --disable-gui... no
    checking for --enable-monolithic... no
    checking for --enable-plugins... no
    checking for --without-subdirs... no
    checking for --enable-official_build... no
    checking for --disable-all-features... no
    checking for --enable-universal... no
    checking for --enable-nanox... no
    checking for --enable-gpe... no
    checking for toolkit... gtk
    checking for --with-libpng... yes
    checking for --with-libjpeg... yes
    checking for --with-libtiff... yes
    checking for --without-libjbig... no
    checking for --without-liblzma... no
    checking for --with-libxpm... yes
    checking for --with-libiconv... yes
    checking for --with-libmspack... no
    checking for --without-gtkprint... no
    checking for --with-gnomevfs... no
    checking for --with-libnotify... yes
    checking for --with-hildon... no
    checking for --with-opengl... yes
    checking for --with-dmalloc... no
    checking for --with-sdl... yes
    checking for --with-regex... yes
    checking for --with-zlib... yes
    checking for --with-expat... yes
    checking for --with-macosx-sdk...
    checking for --with-macosx-version-min...
    checking for --enable-debug... default
    checking for --disable-debug_flag... no
    checking for --enable-debug_info... no
    checking for --enable-debug_gdb... no
    checking for --enable-debug_cntxt... no
    checking for --enable-mem_tracing... no
    checking for --disable-shared... no
    checking for --enable-stl... no
    checking for --enable-std_containers... no
    checking for --enable-std_iostreams... yes
    checking for --enable-std_string... yes
    checking for --enable-std_string_conv_in_wxstring... no
    checking for --disable-unicode... no
    checking for --enable-mslu... no
    checking for --enable-utf8... no
    checking for --enable-utf8only... no
    checking for --enable-extended_rtti... no
    checking for --disable-optimise... no
    checking for --enable-profile... no
    checking for --enable-no_rtti... no
    checking for --enable-no_exceptions... no
    checking for --enable-permissive... no
    checking for --enable-no_deps... no
    checking for --disable-vararg_macros... no
    checking for --enable-universal_binary... no
    checking for --enable-macosx_arch... no
    checking for --enable-compat26... no
    checking for --disable-compat28... no
    checking for --disable-rpath... no
    checking for --enable-objc_uniquifying... no
    checking for --disable-visibility... no
    checking for --disable-tls... no
    checking for --enable-intl... yes
    checking for --enable-xlocale... yes
    checking for --enable-config... yes
    checking for --enable-protocols... yes
    checking for --enable-ftp... yes
    checking for --enable-http... yes
    checking for --enable-fileproto... yes
    checking for --enable-sockets... yes
    checking for --enable-ipv6... no
    checking for --enable-ole... yes
    checking for --enable-dataobj... yes
    checking for --enable-ipc... yes
    checking for --enable-baseevtloop... yes
    checking for --enable-epollloop... yes
    checking for --enable-selectloop... yes
    checking for --enable-any... yes
    checking for --enable-apple_ieee... yes
    checking for --enable-arcstream... yes
    checking for --enable-base64... yes
    checking for --enable-backtrace... yes
    checking for --enable-catch_segvs... yes
    checking for --enable-cmdline... yes
    checking for --enable-datetime... yes
    checking for --enable-debugreport... no
    checking for --enable-dialupman... yes
    checking for --enable-dynlib... yes
    checking for --enable-dynamicloader... yes
    checking for --enable-exceptions... yes
    checking for --enable-ffile... yes
    checking for --enable-file... yes
    checking for --enable-filehistory... yes
    checking for --enable-filesystem... yes
    checking for --enable-fontenum... yes
    checking for --enable-fontmap... yes
    checking for --enable-fs_archive... yes
    checking for --enable-fs_inet... yes
    checking for --enable-fs_zip... yes
    checking for --enable-fsvolume... yes
    checking for --enable-fswatcher... yes
    checking for --enable-geometry... yes
    checking for --enable-log... yes
    checking for --enable-longlong... yes
    checking for --enable-mimetype... yes
    checking for --enable-printfposparam... yes
    checking for --enable-snglinst... yes
    checking for --enable-sound... yes
    checking for --enable-stdpaths... yes
    checking for --enable-stopwatch... yes
    checking for --enable-streams... yes
    checking for --enable-sysoptions... yes
    checking for --enable-tarstream... yes
    checking for --enable-textbuf... yes
    checking for --enable-textfile... yes
    checking for --enable-timer... yes
    checking for --enable-variant... yes
    checking for --enable-zipstream... yes
    checking for --enable-url... yes
    checking for --enable-protocol... yes
    checking for --enable-protocol_http... yes
    checking for --enable-protocol_ftp... yes
    checking for --enable-protocol_file... yes
    checking for --enable-threads... yes
    checking for --enable-iniconf... no
    checking for --enable-regkey... yes
    checking for --enable-docview... yes
    checking for --enable-help... yes
    checking for --enable-mshtmlhelp... yes
    checking for --enable-html... yes
    checking for --enable-htmlhelp... yes
    checking for --enable-xrc... yes
    checking for --enable-aui... yes
    checking for --enable-propgrid... yes
    checking for --enable-ribbon... yes
    checking for --enable-stc... yes
    checking for --enable-constraints... yes
    checking for --enable-loggui... yes
    checking for --enable-logwin... yes
    checking for --enable-logdialog... yes
    checking for --enable-mdi... yes
    checking for --enable-mdidoc... yes
    checking for --enable-mediactrl... yes
    checking for --enable-gstreamer8... no
    checking for --enable-richtext... yes
    checking for --enable-postscript... yes
    checking for --enable-printarch... yes
    checking for --enable-svg... yes
    checking for --enable-webkit... yes
    checking for --enable-webview... yes
    checking for --enable-graphics_ctx... yes
    checking for --enable-clipboard... yes
    checking for --enable-dnd... yes
    checking for --disable-controls... no
    checking for --enable-markup... yes
    checking for --enable-accel... yes
    checking for --enable-animatectrl... yes
    checking for --enable-bannerwindow... yes
    checking for --enable-artstd... yes
    checking for --enable-arttango... auto
    checking for --enable-bmpbutton... yes
    checking for --enable-bmpcombobox... yes
    checking for --enable-button... yes
    checking for --enable-calendar... yes
    checking for --enable-caret... yes
    checking for --enable-checkbox... yes
    checking for --enable-checklst... yes
    checking for --enable-choice... yes
    checking for --enable-choicebook... yes
    checking for --enable-collpane... yes
    checking for --enable-colourpicker... yes
    checking for --enable-combobox... yes
    checking for --enable-comboctrl... yes
    checking for --enable-commandlinkbutton... yes
    checking for --enable-dataviewctrl... yes
    checking for --enable-datepick... yes
    checking for --enable-detect_sm... yes
    checking for --enable-dirpicker... yes
    checking for --enable-display... yes
    checking for --enable-editablebox... yes
    checking for --enable-filectrl... yes
    checking for --enable-filepicker... yes
    checking for --enable-fontpicker... yes
    checking for --enable-gauge... yes
    checking for --enable-grid... yes
    checking for --enable-headerctrl... yes
    checking for --enable-hyperlink... yes
    checking for --enable-imaglist... yes
    checking for --enable-infobar... yes
    checking for --enable-listbook... yes
    checking for --enable-listbox... yes
    checking for --enable-listctrl... yes
    checking for --enable-notebook... yes
    checking for --enable-notifmsg... yes
    checking for --enable-odcombobox... yes
    checking for --enable-popupwin... yes
    checking for --enable-prefseditor... yes
    checking for --enable-radiobox... yes
    checking for --enable-radiobtn... yes
    checking for --enable-richmsgdlg... yes
    checking for --enable-richtooltip... yes
    checking for --enable-rearrangectrl... yes
    checking for --enable-sash... yes
    checking for --enable-scrollbar... yes
    checking for --enable-searchctrl... yes
    checking for --enable-slider... yes
    checking for --enable-spinbtn... yes
    checking for --enable-spinctrl... yes
    checking for --enable-splitter... yes
    checking for --enable-statbmp... yes
    checking for --enable-statbox... yes
    checking for --enable-statline... yes
    checking for --enable-stattext... yes
    checking for --enable-statusbar... yes
    checking for --enable-taskbaricon... yes
    checking for --enable-tbarnative... yes
    checking for --enable-textctrl... yes
    checking for --enable-datepick... yes
    checking for --enable-tipwindow... yes
    checking for --enable-togglebtn... yes
    checking for --enable-toolbar... yes
    checking for --enable-toolbook... yes
    checking for --enable-treebook... yes
    checking for --enable-treectrl... yes
    checking for --enable-treelist... yes
    checking for --enable-commondlg... yes
    checking for --enable-aboutdlg... yes
    checking for --enable-choicedlg... yes
    checking for --enable-coldlg... yes
    checking for --enable-filedlg... yes
    checking for --enable-finddlg... yes
    checking for --enable-fontdlg... yes
    checking for --enable-dirdlg... yes
    checking for --enable-msgdlg... yes
    checking for --enable-numberdlg... yes
    checking for --enable-splash... yes
    checking for --enable-textdlg... yes
    checking for --enable-tipdlg... yes
    checking for --enable-progressdlg... yes
    checking for --enable-wizarddlg... yes
    checking for --enable-menus... yes
    checking for --enable-miniframe... yes
    checking for --enable-tooltips... yes
    checking for --enable-splines... yes
    checking for --enable-mousewheel... yes
    checking for --enable-validators... yes
    checking for --enable-busyinfo... yes
    checking for --enable-hotkey... auto
    checking for --enable-joystick... yes
    checking for --enable-metafile... auto
    checking for --enable-dragimage... yes
    checking for --enable-accessibility... no
    checking for --enable-uiactionsim... yes
    checking for --enable-dctransform... yes
    checking for --enable-webviewwebkit... yes
    checking for --enable-palette... yes
    checking for --enable-image... yes
    checking for --enable-gif... yes
    checking for --enable-pcx... yes
    checking for --enable-tga... yes
    checking for --enable-iff... yes
    checking for --enable-pnm... yes
    checking for --enable-xpm... yes
    checking for --enable-ico_cur... yes
    checking for --enable-dccache... yes
    checking for --enable-ps-in-msw... yes
    checking for --enable-ownerdrawn... yes
    checking for --enable-uxtheme... yes
    checking for --enable-wxdib... yes
    checking for --enable-webviewie... yes
    checking for --enable-autoidman... no
    checking for gcc... gcc
    checking whether the C compiler works... yes
    checking for C compiler default output file name... a.out
    checking for suffix of executables...
    checking whether we are cross compiling... no
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking for gcc option to accept ISO C89... none needed
    checking whether we are using the Intel C compiler... no
    checking how to run the C preprocessor... gcc -E
    checking for grep that handles long lines and -e... /bin/grep
    checking for egrep... /bin/grep -E
    checking whether gcc needs -traditional... no
    checking for g++... no
    checking for c++... no
    checking for gpp... no
    checking for aCC... no
    checking for CC... no
    checking for cxx... no
    checking for cc++... no
    checking for cl.exe... no
    checking for FCC... no
    checking for KCC... no
    checking for RCC... no
    checking for xlC_r... no
    checking for xlC... no
    checking whether we are using the GNU C++ compiler... no
    checking whether g++ accepts -g... no
    checking whether we are using the Intel C++ compiler... no
    checking whether we are using the Sun C++ compiler... no
    configure: error: C++ compiler is needed to build wxWidgets
    Error running configure
    ERROR: failed building wxWidgets
    Traceback (most recent call last):
      File "build.py", line 1143, in cmd_build_wx
        wxbuild.main(wxscript, build_options)
      File "/tmp/pip-build-boeDyq/wxPython-Phoenix/ext/wxWidgets/build/tools/build-wxwidgets.py", line 365, in main
        "Error running configure")
      File "/tmp/pip-build-boeDyq/wxPython-Phoenix/ext/wxWidgets/build/tools/build-wxwidgets.py", line 82, in exitIfError
        raise builder.BuildError(msg)
    BuildError
    Finished command: build_wx (0.548s)
    Finished command: build (0.548s)
    Command '/usr/bin/python -u build.py build' failed with exit code 1.

    ----------------------------------------
Command "/usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-boeDyq/wxPython-Phoenix/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-iy5VGI-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-boeDyq/wxPython-Phoenix
Traceback (most recent call last):
  File "main.py", line 6, in <module>
    import wx
ImportError: No module named wx
didign@didign-VirtualBox:~/Desktop$ sudo apt-get install python-wxtools
[sudo] password for didign: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libc-ares2 libv8-3.14.5
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  libwxbase3.0-0v5 libwxgtk3.0-0v5 python-wxgtk3.0 python-wxversion
The following NEW packages will be installed:
  libwxbase3.0-0v5 libwxgtk3.0-0v5 python-wxgtk3.0 python-wxtools
  python-wxversion
0 upgraded, 5 newly installed, 0 to remove and 3 not upgraded.
Need to get 10.5 MB of archives.
After this operation, 50.9 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://dk.archive.ubuntu.com/ubuntu/ wily/universe libwxbase3.0-0v5 amd64 3.0.2+dfsg-1.2 [972 kB]
Get:2 http://dk.archive.ubuntu.com/ubuntu/ wily/universe libwxgtk3.0-0v5 amd64 3.0.2+dfsg-1.2 [4,355 kB]
Get:3 http://dk.archive.ubuntu.com/ubuntu/ wily/universe python-wxversion all 3.0.2.0+dfsg-1build1 [12.7 kB]
Get:4 http://dk.archive.ubuntu.com/ubuntu/ wily/universe python-wxgtk3.0 amd64 3.0.2.0+dfsg-1build1 [5,194 kB]
Get:5 http://dk.archive.ubuntu.com/ubuntu/ wily/universe python-wxtools all 3.0.2.0+dfsg-1build1 [8,352 B]        
Fetched 10.5 MB in 14s (732 kB/s)                                                                                 
Selecting previously unselected package libwxbase3.0-0v5:amd64.
(Reading database ... 188324 files and directories currently installed.)
Preparing to unpack .../libwxbase3.0-0v5_3.0.2+dfsg-1.2_amd64.deb ...
Unpacking libwxbase3.0-0v5:amd64 (3.0.2+dfsg-1.2) ...
Selecting previously unselected package libwxgtk3.0-0v5:amd64.
Preparing to unpack .../libwxgtk3.0-0v5_3.0.2+dfsg-1.2_amd64.deb ...
Unpacking libwxgtk3.0-0v5:amd64 (3.0.2+dfsg-1.2) ...
Selecting previously unselected package python-wxversion.
Preparing to unpack .../python-wxversion_3.0.2.0+dfsg-1build1_all.deb ...
Unpacking python-wxversion (3.0.2.0+dfsg-1build1) ...
Selecting previously unselected package python-wxgtk3.0.
Preparing to unpack .../python-wxgtk3.0_3.0.2.0+dfsg-1build1_amd64.deb ...
Unpacking python-wxgtk3.0 (3.0.2.0+dfsg-1build1) ...
Selecting previously unselected package python-wxtools.
Preparing to unpack .../python-wxtools_3.0.2.0+dfsg-1build1_all.deb ...
Unpacking python-wxtools (3.0.2.0+dfsg-1build1) ...
Processing triggers for gnome-menus (3.13.3-6ubuntu1) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu3) ...
Processing triggers for mime-support (3.58ubuntu1) ...
Setting up libwxbase3.0-0v5:amd64 (3.0.2+dfsg-1.2) ...
Setting up libwxgtk3.0-0v5:amd64 (3.0.2+dfsg-1.2) ...
Setting up python-wxversion (3.0.2.0+dfsg-1build1) ...
Setting up python-wxgtk3.0 (3.0.2.0+dfsg-1build1) ...
update-alternatives: using /usr/lib/wx/python/wx3.0.pth to provide /usr/lib/wx/python/wx.pth (wx.pth) in auto mode
Setting up python-wxtools (3.0.2.0+dfsg-1build1) ...
Processing triggers for libc-bin (2.21-0ubuntu4.1) ...
didign@didign-VirtualBox:~/Desktop$ sudo python main.py 
Traceback (most recent call last):
  File "main.py", line 9, in <module>
    from wx import adv
ImportError: cannot import name adv
didign@didign-VirtualBox:~/Desktop$ 
radinamatic commented 8 years ago

Btw, if I run the main.py on Windows 7 VM, I get the following:

You are using pip version 7.0.1, however version 8.0.2 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
Collecting wxPython-Phoenix
  Downloading http://wxpython.org/Phoenix/snapshot-builds/wxPython_Phoenix-3.0.3
.dev1851+eedf718.tar.gz (41.0MB)
    100% |################################| 41.0MB 871kB/s
Installing collected packages: wxPython-Phoenix
  Running setup.py install for wxPython-Phoenix
    Complete output from command C:\Python27\python.exe -c "import setuptools, t
okenize;__file__='c:\\users\\ieuser\\appdata\\local\\temp\\pip-build-evjxu0\\wxP
ython-Phoenix\\setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).
read().replace('\r\n', '\n'), __file__, 'exec'))" install --record c:\users\ieus
er\appdata\local\temp\pip-ujqd90-record\install-record.txt --single-version-exte
rnally-managed --compile:
    running install
    running build
    Build using: "C:\Python27\python.exe"
    2.7.10 (default, May 23 2015, 09:40:32) [MSC v.1500 32 bit (Intel)]
    Python's architecture is 32bit
    cfg.VERSION: 3.0.3.dev1851+eedf718

    Running command: build
    Running command: build_wx
    Command '"C:\Python27\python.exe" -c "import distutils.msvc9compiler as msvc
; mc = msvc.MSVCCompiler(); mc.initialize(); print(mc.cc)"' failed with exit cod
e 1.
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "C:\Python27\lib\distutils\msvc9compiler.py", line 383, in initialize

        vc_env = query_vcvarsall(VERSION, plat_spec)
      File "C:\Python27\lib\distutils\msvc9compiler.py", line 271, in query_vcva
rsall
        raise DistutilsPlatformError("Unable to find vcvarsall.bat")
    distutils.errors.DistutilsPlatformError: Unable to find vcvarsall.bat
    Finished command: build_wx (0.31s)
    Finished command: build (0.31s)
    WARNING: Building this way assumes that all generated files have been
    generated already.  If that is not the case then use build.py directly
    to generate the source and perform the build stage.  You can use
    --skip-build with the bdist_* or install commands to avoid this
    message and the wxWidgets and Phoenix build steps in the future.

    C:\Python27\python.exe -u build.py build
    Command 'C:\Python27\python.exe -u build.py build' failed with exit code 1.

    ----------------------------------------

So basically, the only time I did not get errors while installing was on MacOSX last night, but I did not get to see the icon anyway... :(