I have used Python 3.5.4 and Pyacrd 1.9.5, Pyinstaller 3.3.1 on the Windows system.
I have written a test program on the Pycharm, each time when I use the pyinstaller to transform the file .py to the .exe, it will tell me no module named "smartcard.scard._scard". However, it still managed to generate a file .exe . but could not open it normally. It will prompt script error
However if I run the programe just on the Pycharm. it never has the same problem.
Thanks for you attention!
PySCard does not support PyInstaller.
thank you, Ludovic Rousseau.
Could you give me some suggestion? I want to read the NFC ID through the device . Finnally use pyinstaller packaged in an exe file! thanks for your reply.