Today, when calling ABBYY, it is necessary to pass AppID and apppasswd to the system environment in order to execute the corresponding Python calling code.
After setting, because write the code to turn off the terminal, directly after running the error, access rights do not exist. Thought I applied for the account password has been wrong, to troubleshoot a half-day.
Later, the query, found that the problem appears on the Export command.
Explain:
The export command defines the variable "valid only for the current shell (BASH)"
Define the variable directly under the shell's command line using the [export variable name = variable value], which is valid only under the current shell (bash) or its child shell (bash).
When the shell is closed, the variable is invalidated, and when the new shell is opened there is no such variable, and it needs to be redefined.
Linux under Export can only set temporary variables