Sagemaker environment variable with .env

[Background]

I am used to use xx.py and defining a .env file in python project in Pycharm, and by doing

import os
os.environ['abc']

I will get the 'abc' variable defined in .env file.

[Question]

Now I need to work with sagemake studio, what is the best practice to manage env var with sagemake?

I tried to create a .env file, but got a rename error. Does it mean using .env is not a good try in sagemaker?

Rename Error
Cannot rename file or directory '/xx/untitled.txt'


Comments

Popular posts from this blog

I get wrong characters when retreiving the message body of an email using TIdIMAP4.UIDRetrieveTextPeek2()

How to drop the all the 1's in a correlation matrix

Today Walkin 14th-Sept