in Education by
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)

1 Answer

0 votes
by
All environment variables used by Python are listed here: Python environment variables Ensure that your Python interpreter has the same version than the external one .

Related questions

0 votes
    Why we use script mode for python programming while we have the interactive mode. Select the correct answer from above options...
asked Dec 19, 2021 in Education by JackTerrance
0 votes
    I'm using $.ajax() to load new pages on my site if certain conditions are met (a flash-based ... , JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Mar 4, 2022 in Education by JackTerrance
0 votes
    Suppose that while writing the R code that consists of multiple functions. While executing the code, there is an error ... you use to find the function that is facing problem?...
asked Oct 16, 2020 in Technology by JackTerrance
0 votes
    Trying to use ES6 but I'm stuck on something. To make it simple there is two problems : JS ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Apr 17, 2022 in Education by JackTerrance
0 votes
    What will happen after executing the script? (a) Execute script (b) Layout positioning of DOM elements (c ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Oct 22, 2021 in Education by JackTerrance
0 votes
    Transmission delay does not depend on _____________. A. Packet length B. Distance between the routers C. Transmission rate D. Bandwidth of medium...
asked Jan 9, 2023 in Technology by JackTerrance
0 votes
0 votes
    The phase and group velocities does not depend on which of the following? (a) Frequency (b) ... proposed by,electromagnetic theory engineering physics,electromagnetic theory nptel...
asked Nov 6, 2021 in Education by JackTerrance
0 votes
    Enumeration does not depend on which of the following services? (a) DNS enumeration (b) SNMP enumeration (c) NTP ... Security questions and answers pdf, mcq on Cyber Security pdf,...
asked Nov 4, 2021 in Education by JackTerrance
0 votes
    The capacitance of a capacitor does not depend on the absolute permittivity of the medium between the plates. (a) ... GATE EC Exam, Network Theory MCQ (Multiple Choice Questions)...
asked Oct 20, 2021 in Education by JackTerrance
0 votes
    The capacitance of a capacitor does not depend on the absolute permittivity of the medium between the plates. (a ... portion Circuit Elements and Kirchhoff's Laws of Network Theory...
asked Oct 10, 2021 in Education by JackTerrance
0 votes
    In the context of a complex application, I need to import user-supplied 'scripts'. Ideally, a script ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Feb 9, 2022 in Education by JackTerrance
0 votes
    In the context of a complex application, I need to import user-supplied 'scripts'. Ideally, a script ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Feb 5, 2022 in Education by JackTerrance
0 votes
    If I use a while loop for my below code, it is not giving the desired output, but when i use for loop i am anle ... x += 1 print(Comm) Select the correct answer from above options...
asked Jan 9, 2022 in Education by JackTerrance
0 votes
    I'm trying to open up a PDF as an image using Wand. If I run the code below in Jupyter Notebook ... , JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Apr 21, 2022 in Education by JackTerrance
...