Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Finding Enviroment Variables - MAC OS #1

Open
kdeiri opened this issue Nov 28, 2022 · 0 comments
Open

Finding Enviroment Variables - MAC OS #1

kdeiri opened this issue Nov 28, 2022 · 0 comments

Comments

@kdeiri
Copy link
Collaborator

kdeiri commented Nov 28, 2022

Currently, every time the script is run on a new terminal, the environment variables need to be defined again using os.environ['SIMSCALE_API_KEY'] = "key".

Even though, the SIMSCALE API AND KEY are permanently added to the operating system terminal in the .zhsenv they are not automatically detected in the conda env. (They are different env)

Find a solution to append the API key and URL permanently into the conda env through a direct link to the OS env variables.
Another solution is to utilize the code to access those variables through the YAML file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant