I am new to python and encountering some issues while executing os commands.
I have set my environment variables like as shown below
SPARK_HOME = '/opt/spark'
HAIL_HOME = '/opt/hail/hail'
When I type os.getenv('SPARK_HOME'), I get the below output
'/opt/spark/'
But when I type os.getenv('HAIL_HOME'), I get blank output
Please note that I type the above two commands from a virtual environment using jupyter notebook.
- Why it works for
sparkand returns empty forhail
Can guide me with this issue?