Using Python 3.6, PyCharm 2019.3.1 CE, 64-bits Ubuntu 18.04
I have an environment variable that is accessed fine when running my python script from the command line, but does not show up when running with PyCharm.
This is the script:
import os
print(os.environ.get("GENICAM_GENTL64_PATH"))
From the terminal, this is my output:
:/usr/lib/ids/cti
While with PyCharm, this is my output:
None
What is happening here? Why does the environment variable not show up when running with PyCharm?