Description of expected behavior and the observed behavior
I added an environment variable using the following method (assuming a Linux OS) within the wsl2 ubuntu 20.0 terminal.
The variable saves the path for my data location as a string for later use in python, I use the exact same method on a mac and works perfectly.
When trying to access the variable it is not shown within a jupyter notebook
Not 100% sure if this is a bug or a feature request :)
I'm having an issue with setting and using environment variables within a wsl2 Ubuntu 20.0 distro using jupyter and VS code
I have tried:
But none of these solutions have solved the issue
ALL software version info
(anaconda-project version, conda version, etc.)
Description of expected behavior and the observed behavior
I added an environment variable using the following method (assuming a Linux OS) within the wsl2 ubuntu 20.0 terminal. The variable saves the path for my data location as a string for later use in python, I use the exact same method on a mac and works perfectly. When trying to access the variable it is not shown within a jupyter notebook
Relevant configuration files
-> activate.d/env_vars.sh file:
-> deactivate.d/env_vars.sh file:
Complete, minimal, self-contained example code that reproduces the issue
Expected output:
'/mnt/c/Users/user_name/folder 1/folder 2'
Obtained output: getting the variable raises a KeyErrorCommand output and/or screenshots of the bug in action