Quantcast
Channel: Active questions tagged python - Stack Overflow
Viewing all articles
Browse latest Browse all 23131

python os.getenv() don't see any of my custom variables from Jupyter notebook (os x el capitan)

$
0
0

I declared several variables in my bash (through ~/.bash_profile) , and they work in bash itself as well as in python started in bash.

Example:

export PUIBy="Dropbox/CUSP/1_1_PUI/PUI_Bycicle_Research/"

However, when I start Jupyter notebook, os.environ dont see any of them, showing some default list of variables (PWD, SUDO_USER, USERNAME, JPY_PARENT_PID, SSH_AUTH_SOCK, SUDO_UID, GIT_PAGER etc)

My sistem is Mac OS El Captain, anaconda ipython 2.7


Viewing all articles
Browse latest Browse all 23131

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>