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

doesn't work with OSX after installing with pip #1

Open
z0mbi3 opened this issue Nov 16, 2016 · 0 comments
Open

doesn't work with OSX after installing with pip #1

z0mbi3 opened this issue Nov 16, 2016 · 0 comments

Comments

@z0mbi3
Copy link

z0mbi3 commented Nov 16, 2016

I get this error when I type import structfmt:

scalpel:~ miguel$ python
Python 2.7.12 (default, Oct 11 2016, 05:20:59)
[GCC 4.2.1 Compatible Apple LLVM 8.0.0 (clang-800.0.38)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import structfmt
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python2.7/site-packages/structfmt/__init__.py", line 2, in <module>
    from .structfmt import struct_format, struct_named_format
  File "/usr/local/lib/python2.7/site-packages/structfmt/structfmt.py", line 2, in <module>
    from .StructNamedFormatter import StructNamedFormatter
  File "/usr/local/lib/python2.7/site-packages/structfmt/StructNamedFormatter.py", line 79
    def bool(self, *fields, mapper=None):
                                 ^
SyntaxError: invalid syntax

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

1 participant