Closed LewisNeal closed 7 years ago
Thanks for the report. Toga support on Windows is lagging behind on other platforms, and the most recent updates to the core framework haven't been reflected on the Windows backend.
Closing as an effective duplicate of #4.
OK thanks for the update. I have been following the project and hope the improvements keep coming!
executing toga-demo in command prompt gives the following error:
(VEpy35) C:\Users\lewis\VEpy35\Lib\site-packages>toga-demo Traceback (most recent call last): File "C:\Python35\lib\runpy.py", line 184, in _run_module_as_main "main", mod_spec) File "C:\Python35\lib\runpy.py", line 85, in _run_code exec(code, run_globals) File "C:\users\lewis\VEpy35\Scripts\toga-demo.exemain.py", line 5, in
File "c:\users\lewis\vepy35\lib\site-packages\toga_demomain.py", line 6,
in
from .app import TogaDemo
File "c:\users\lewis\vepy35\lib\site-packages\toga_demo\app.py", line 4, in
import toga
File "c:\users\lewis\vepy35\lib\site-packages\togainit.py", line 91, in
set_platform()
File "c:\users\lewis\vepy35\lib\site-packages\togainit.py", line 73, in set_platform
locals['platform'] = importlib.import_module(module_name)
File "C:\Python35\lib\importlibinit.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "c:\users\lewis\vepy35\lib\site-packages\toga_win32init.py", line 7, in
from .widgets.button import *
File "c:\users\lewis\vepy35\lib\site-packages\toga_win32\widgets\button.py", line 5, in
from .base import Widget
File "c:\users\lewis\vepy35\lib\site-packages\toga_win32\widgets\base.py", line 3, in
from toga_cassowary.widget import Widget as CassowaryWidget
File "c:\users\lewis\vepy35\lib\site-packages\toga_cassowary\widget.py", line
3, in
from toga.constraint import Attribute, Constraint
ImportError: No module named 'toga.constraint'