ccgreen13 / gui2py

Automatically exported from code.google.com/p/gui2py
GNU Lesser General Public License v3.0
0 stars 0 forks source link

import error with 2.9.5.0 gtk2 (classic): No module named adv #11

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

Python 2.7.5 (default, Sep  6 2013, 09:55:21) 
[GCC 4.8.1 20130725 (prerelease)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import wx
>>> wx.version()
'2.9.5.0 gtk2 (classic)'
>>> import gui
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "gui/__init__.py", line 22, in <module>
    from .controls import Label, Button, TextBox, CheckBox, ListBox, ComboBox, \
  File "gui/controls/__init__.py", line 17, in <module>
    from .textbox import TextBox
  File "gui/controls/textbox.py", line 322, in <module>
    import wx.adv
ImportError: No module named adv
>
What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?
Archlinux

Please provide any additional information below.

Thanks

Original issue reported on code.google.com by mrec...@gmail.com on 4 Nov 2013 at 4:02

GoogleCodeExporter commented 9 years ago
I have the same problem on osx

Python 2.7.2 (default, Oct 11 2012, 20:14:37) 
[GCC 4.2.1 Compatible Apple Clang 4.0 (tags/Apple/clang-418.0.60)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import wx
>>> wx.version()
'2.9.5.0 osx-cocoa (classic)'
>>> import gui
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "gui/__init__.py", line 22, in <module>
    from .controls import Label, Button, TextBox, CheckBox, ListBox, ComboBox, \
  File "gui/controls/__init__.py", line 17, in <module>
    from .textbox import TextBox
  File "gui/controls/textbox.py", line 318, in <module>
    import wx.adv
ImportError: No module named adv

Original comment by anderson...@gmail.com on 5 Dec 2013 at 5:21

GoogleCodeExporter commented 9 years ago
Command executed: python sample.pyw

######## Error:
Traceback (most recent call last):
  File "sample.pyw", line 17, in <module>
    import gui          # import gui2py package (shortcuts)
  File "E:\Softs\python-gui\google\gui2py-0.9.3\gui\__init__.py", line 22, in <module>
    from .controls import Label, Button, TextBox, CheckBox, ListBox, ComboBox, \
  File "E:\Softs\python-gui\google\gui2py-0.9.3\gui\controls\__init__.py", line 17, in <module>
    from .textbox import TextBox
  File "E:\Softs\python-gui\google\gui2py-0.9.3\gui\controls\textbox.py", line 318, in <module>
    import wx.adv
ImportError: No module named adv
##############################################

Details about environment:
OS: Win7-x64
Python: version-2.7.1 (64-bit)
wxPython: version-2.9.5.0 (64-bit)
gui2py: version-0.9.3 (64-bit)

Original comment by jigneshv...@gmail.com on 16 Dec 2013 at 6:34

GoogleCodeExporter commented 9 years ago
Same on 64-bit Win7 with the current wxPython release:
Python 2.7.3 (default, Apr 10 2012, 23:24:47) [MSC v.1500 64 bit (AMD64)] on 
win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import wx
>>> wx.version()
'3.0.0.0 msw (classic)'
>>> import gui
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\Python27\lib\site-packages\gui\__init__.py", line 22, in <module>
    from .controls import Label, Button, TextBox, CheckBox, ListBox, ComboBox, \
  File "C:\Python27\lib\site-packages\gui\controls\__init__.py", line 17, in <module>
    from .textbox import TextBox
  File "C:\Python27\lib\site-packages\gui\controls\textbox.py", line 318, in <module>
    import wx.adv
ImportError: No module named adv
>>>

Original comment by l2kp...@gmail.com on 12 Feb 2014 at 11:33

GoogleCodeExporter commented 9 years ago
Python 2.7.5 |Anaconda 1.9.1 (32-bit)| (default, Jul  1 2013, 12:41:55) [MSC 
v.1500 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import wx
>>> wx.version()
'3.0.0.0 msw (classic)'
>>> import gui
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\Anaconda\lib\site-packages\gui\__init__.py", line 22, in <module>
    from .controls import Label, Button, TextBox, CheckBox, ListBox, ComboBox, \
  File "C:\Anaconda\lib\site-packages\gui\controls\__init__.py", line 17, in <module>
    from .textbox import TextBox
  File "C:\Anaconda\lib\site-packages\gui\controls\textbox.py", line 318, in <module>
    import wx.adv
ImportError: No module named adv

Original comment by Victor.P...@gmail.com on 25 Feb 2014 at 5:13

GoogleCodeExporter commented 9 years ago
Same on Win XP:
D:\temp\gui2py-0.9.3>python
Python 2.7.5 (default, May 15 2013, 22:43:36) [MSC v.1500 32 bit (Intel)] on win
32

>>> import wx
>>> wx.version()
'3.0.1.1 msw (classic)'

>>> import gui
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "gui\__init__.py", line 22, in <module>
    from .controls import Label, Button, TextBox, CheckBox, ListBox, ComboBox, \

  File "gui\controls\__init__.py", line 17, in <module>
    from .textbox import TextBox
  File "gui\controls\textbox.py", line 318, in <module>
    import wx.adv
ImportError: No module named adv

Original comment by autic...@gmail.com on 2 Nov 2014 at 12:14

GoogleCodeExporter commented 9 years ago
Here are a few useful links to the people that are having this issue:
http://wxpython.org/Phoenix/docs/html/classic_vs_phoenix.html
http://wiki.wxpython.org/ProjectPhoenix

TL;DR: Basically, I believe you will need Phoenix, not classic.

Original comment by Bljuzgav...@gmail.com on 27 Jan 2015 at 9:01