The awkward scenario
I am developing a python package and would like to make use of an external package, that was not written by myself, as a dependency.
Since the external package is quite complex it also comes with all kinds of surplus software like its own bash or python executable. Naturally I do not want to use the bash or the delivered python executable but rather use my own IDE setup.
I therefore started to check the environment variables of the delivered bash like the PATH, PYTHONPATH or the LD_LIBRARAY_PATH (the external package relies on compiled shared objects).
After setting those environment variables I tried to run a simple "Hello World" script from within my IDE but did not succeed (which is why I am posting here^^). On the other hand if I run the same script from within the delivered bash it runs without a problem.
Questions
What kind of dependencies does python, or even more complex, python code rely on?
Is there a way to check why the script executed from two different environments behaves differently?
The problem I have running the script from within my IDE is a bug in the package and not some cannot find shared object or unable to load module ... or something. But why does it behave differently?
What other issues than environment variables might there be to make two different python executables run exactly the same?
JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)