
Before I don't have the new ExcelB. Py, direct packaging OSRR. Py and Excel. Py is properly packaged, and built a ExcelB in OSRR. After import in py error, so I will ExcelB. Py import library, built a project after import run directly, also appear error, the following figure,


Now I don't have any idea, don't know how to troubleshoot the error, I uninstalled all the contents of the import to invoke the PIP install installed, still is invalid, please leaders guidance,
CodePudding user response:
Added, ExcelB import in the library, I run directly without error in visual studio, after is packaged into exe, after running exe file error,CodePudding user response:
I in Test1 py deleted all the import, and then try one by one, found is a string of code problem:The from pynput. The rid_device_info_keyboard import Key, the Controller
But still don't know how to solve this problem, and uninstall pynput and reshipment, or not,
CodePudding user response:
Problem has been solved, test out, ha ha ha ha ha