Skip to content

Compiling pynfc in OSX 10.6 #1

@GoogleCodeExporter

Description

@GoogleCodeExporter
What steps will reproduce the problem?
1. you have to change in setup.py line that says /usr/include -> 
/usr/local/include (default dir where libnfc is install)

2. python setup.py build_ext 

some (a lot) warnings...

3. sudo python setup.py install

4. Let's try the example... python mifareauth.py 

What is the expected output? What do you see instead?

I expected to see The example running... but:

Traceback (most recent call last):
  File "mifareauth.py", line 20, in <module>
    import pynfc, pycrypto1, py14443a
  File "/Users/moebius/Downloads/RFID_Project/Software/pynfc-0.0.4/pynfc.py", line 30, in <module>
    MC_AUTH_A = nfc.MC_AUTH_A
AttributeError: 'module' object has no attribute 'MC_AUTH_A'

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

libnfc1.4.2 - OSX 10.6 - pynfc 0.0.4

Please provide any additional information below.

-

Original issue reported on code.google.com by nahuel.g...@gmail.com on 1 Apr 2011 at 1:17

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions