Program is very simple, just a cx_Oracle, a tkinter,
Packaging - p specifies the cx_Oracle path:
Pyinstaller -f -p path to the file
There are a great god met the same problem,
CodePudding user response:
Is this machine can be run, other machines can't run?CodePudding user response:
Yes, running EXE rightCodePudding user response:
Running EXE machine to install oracle client is also this problem,CodePudding user response:
Should be packaged in the module, you try to add the corresponding library to try environment variableCodePudding user response:
Thank you big problem has been solved, although not the most perfect,Download an instant - client in Oracle, about 30 m, then the configuration of the file on the user environment variable, just dig in for 2 days, from the python version number, Oracle version number, version pyinstaller digits, cx_Oracle version, finally gave up, can use this stupid method to make do with it, such as time in study why yao after cx_Oracle modules are packed so hard!!!!!!
CodePudding user response:
how to put the modules and main program packaged togetherCodePudding user response:
Pyinstaller -f Spaces - p space module path space need packaging file name