こすたろーんエンジニアの試行錯誤部屋

作成物の備忘録を書いていきますー

How to resolve "Metaflow could not determine the user name based on the environment variable".

We have previously built a metaflow-enabled environment.
technoxs-stacker.hatenablog.com

This is a memorandum of how to deal with errors related to user name settings that occurred when actually writing and executing the code.

contents

スポンサーリンク

abstract

how to resolve "Metaflow could not determine the user name based on the environment variable".

1. requirement

Jetson Xavier NX
ubuntu18.04
docker 19.03.6
Python 3.6.9

2. Error contents

When I run metaflow with the following command without setting a user name, the following error occurs.

Metaflow 2.7.14 executing MnistFlow    Unknown user:
Metaflow could not determine your user name based on environment variables ($USERNAME etc.)

スポンサーリンク

3.How to resolve

The error can be resolved by setting the user name with the following command.

export USERNAME='your-name'

refarence

github.com