{"action":"opened","issue":{"url":"https://api.github.com/repos/nfcpy/nfcpy/issues/101","repository_url":"https://api.github.com/repos/nfcpy/nfcpy","labels_url":"https://api.github.com/repos/nfcpy/nfcpy/issues/101/labels{/name}","comments_url":"https://api.github.com/repos/nfcpy/nfcpy/issues/101/comments","events_url":"https://api.github.com/repos/nfcpy/nfcpy/issues/101/events","html_url":"https://github.com/nfcpy/nfcpy/issues/101","id":305108513,"number":101,"title":"[Error 193] %1 is not a valid Win32 application","user":{"login":"stnfc","id":9846518,"avatar_url":"https://avatars2.githubusercontent.com/u/9846518?v=4","gravatar_id":"","url":"https://api.github.com/users/stnfc","html_url":"https://github.com/stnfc","followers_url":"https://api.github.com/users/stnfc/followers","following_url":"https://api.github.com/users/stnfc/following{/other_user}","gists_url":"https://api.github.com/users/stnfc/gists{/gist_id}","starred_url":"https://api.github.com/users/stnfc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stnfc/subscriptions","organizations_url":"https://api.github.com/users/stnfc/orgs","repos_url":"https://api.github.com/users/stnfc/repos","events_url":"https://api.github.com/users/stnfc/events{/privacy}","received_events_url":"https://api.github.com/users/stnfc/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-14T10:51:04Z","updated_at":"2018-03-14T10:51:04Z","closed_at":null,"author_association":"NONE","body":"Hello,\r\nSorry for creating this issue. \r\nIt seems I have a common python error, but I haven't been able to find a solution.\r\n\r\nI'm starting trying to use nfcpy and when I execute python-m nfc, I have the following error:\r\n$ python -m nfc\r\nTraceback (most recent call last):\r\n  File \"C:\\Python27\\lib\\runpy.py\", line 163, in _run_module_as_main\r\n    mod_name, _Error)\r\n  File \"C:\\Python27\\lib\\runpy.py\", line 111, in _get_module_details\r\n    __import__(mod_name)  # Do not catch exceptions initializing package\r\n  File \"C:\\Python27\\lib\\site-packages\\nfc\\__init__.py\", line 22, in <module>\r\n    from . import clf                                                  # noqa: F401\r\n  File \"C:\\Python27\\lib\\site-packages\\nfc\\clf\\__init__.py\", line 25, in <module>\r\n    from . import device\r\n  File \"C:\\Python27\\lib\\site-packages\\nfc\\clf\\device.py\", line 32, in <module>\r\n    from . import transport\r\n  File \"C:\\Python27\\lib\\site-packages\\nfc\\clf\\transport.py\", line 31, in <module>\r\n    import usb1 as libusb\r\n  File \"C:\\Python27\\lib\\site-packages\\usb1\\__init__.py\", line 61, in <module>\r\n    from . import libusb1\r\n  File \"C:\\Python27\\lib\\site-packages\\usb1\\libusb1.py\", line 199, in <module>\r\n    libusb = _loadLibrary()\r\n  File \"C:\\Python27\\lib\\site-packages\\usb1\\libusb1.py\", line 173, in _loadLibrary\r\n    return dll_loader('libusb-1.0' + suffix, **loader_kw)\r\n  File \"C:\\Python27\\lib\\ctypes\\__init__.py\", line 366, in __init__\r\n    self._handle = _dlopen(self._name, mode)\r\nWindowsError: [Error 193] %1 is not a valid Win32 application\r\n\r\nI tried with 2 different python 2.7 installer version:\r\n-> Python 2.7.14 (v2.7.14:84471935ed, Sep 16 2017, 20:25:58) [**MSC v.1500 64 bit (AMD64)**] on win32\r\n-> Python 2.7.14 (v2.7.14:84471935ed, Sep 16 2017, 20:19:30) [**MSC v.1500 32 bit (Intel)**] on win32\r\n\r\nAny help would be very appreciated !\r\n\r\nthanks in advance."}}
{"actor":{"display_login":"stnfc"}}