backend.ai icon indicating copy to clipboard operation
backend.ai copied to clipboard

backend.ai CLI fails to load `.env` file

Open kyujin-cho opened this issue 2 years ago • 1 comments

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

  1. Install Backend.AI CLI with pip install backend.ai-client
  2. Create .env file with environments BACKEND_ACCESS_KEY, BACKEND_SECRET_KEY, BACKEND_ENDPOINT and BACKEND_ENDPOINT_TYPE
  3. Run backend.ai config image

Expected Behavior

backend.ai config should print access key information as provided on .env file

Anything else?

No response

kyujin-cho avatar Oct 14 '22 05:10 kyujin-cho

Please refer #800 on why this happens and how to fix it.

achimnol avatar Oct 19 '22 10:10 achimnol