Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pip install toga gives error in Python3 virtualenv #7

Closed
jtauber opened this issue Aug 2, 2014 · 1 comment
Closed

pip install toga gives error in Python3 virtualenv #7

jtauber opened this issue Aug 2, 2014 · 1 comment

Comments

@jtauber
Copy link

jtauber commented Aug 2, 2014

Due to the L in /toga/platform/win32/libs/constants.py line 533 it appears

$ pip install toga
Downloading/unpacking toga
  Downloading toga-0.1.0-py2.py3-none-any.whl (526kB): 526kB downloaded
Downloading/unpacking cassowary (from toga)
  Downloading cassowary-0.5.0.tar.gz
  Running setup.py (path:/Users/jtauber/Development/VirtualEnvs/toga-test/build/cassowary/setup.py) egg_info for package cassowary

    warning: no files found matching 'requirements*.txt'
Installing collected packages: toga, cassowary
*** Error compiling '/Users/jtauber/Development/VirtualEnvs/toga-test/build/toga/toga/platform/win32/libs/constants.py'...
  File "/Users/jtauber/Development/VirtualEnvs/toga-test/build/toga/toga/platform/win32/libs/constants.py", line 533
    MB_TOPMOST = 262144L
                       ^
SyntaxError: invalid syntax

  Running setup.py install for cassowary

    warning: no files found matching 'requirements*.txt'
Successfully installed toga cassowary
Cleaning up...
@freakboy3742
Copy link
Member

This was addressed by #3.

freakboy3742 added a commit that referenced this issue Oct 23, 2016
Use compatibility layer for Py2/Py3.
mhsmith pushed a commit that referenced this issue Jan 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants