backend.ai
backend.ai copied to clipboard
backend.ai CLI fails to load `.env` file
What Operating System(s) are you seeing this problem on?
macOS (Apple Silicon)
Backend.AI version
22.09.1
Describe the bug
Seems like Backend.AI CLI is failing to load .env
file when CLI is installed via pip.
To Reproduce
- Install Backend.AI CLI with
pip install backend.ai-client
- Create
.env
file with environmentsBACKEND_ACCESS_KEY
,BACKEND_SECRET_KEY
,BACKEND_ENDPOINT
andBACKEND_ENDPOINT_TYPE
- Run
backend.ai config
Expected Behavior
backend.ai config
should print access key information as provided on .env
file
Anything else?
No response
Please refer #800 on why this happens and how to fix it.