I declared several variables in my bash (via ~ / .bash_profile) and they work in both bash and python running in bash.
Example:
export PUIBy="Dropbox/CUSP/1_1_PUI/PUI_Bycicle_Research/"
However, when I start the Jupyter laptop, it os.environ
does not see any of them, showing a list of default variables (PWD, SUDO_USER, USERNAME, JPY_PARENT_PID, SSH_AUTH_SOCK, SUDO_UID, GIT_PAGER, etc.)
My system is Mac OS El Captain, anaconda ipython 2.7
source
share