Home > other >  Consult a python package exe, an error in the wrong operation
Consult a python package exe, an error in the wrong operation

Time:10-01

Error message: cannot find a 64 - bit Oracle client: could not find the specified module,
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 right

CodePudding 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 variable

CodePudding 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 together

CodePudding user response:

Pyinstaller -f Spaces - p space module path space need packaging file name
  • Related