question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Metaflow 2.0.0 executing HelloFlow Unknown user

See original GitHub issue

I am trying to run metaflow-tutorials on local mac. after

pip install metaflow
metaflow
cd 00-helloworld 
python 00-helloworld/helloworld.py show

It shows the error

Metaflow could not determine your user name based on environment variables ($USERNAME etc.)

Did’t I miss some step? thanks

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:2
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

3reactions
meibenjincommented, Dec 11, 2019

I am trying to run metaflow-tutorials on local mac. after

pip install metaflow
metaflow
cd 00-helloworld 
python 00-helloworld/helloworld.py show

It shows the error

Metaflow could not determine your user name based on environment variables ($USERNAME etc.)

Did’t I miss some step? thanks

you can export USERNAME=‘your-name’ to resolve this problem,see:https://github.com/Netflix/metaflow/blob/5c047cf6950975e5ea1b69bbc89fa1ff80cfa004/metaflow/util.py#L136

2reactions
tduffy000commented, Dec 11, 2019

@ponggung They get resolved in the following order:

METAFLOW_USER
SUDO_USER
USERNAME
USER

So, as to @meibenjin 's point, try exporting something to any of them.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Metaflow/community - Gitter
Error:Metaflow 2.2.8 executing preprocessflow unknown user:Metaflow could not determine your username based on environment variables ($USERNAME etc.) 1 reply.
Read more >
Inspecting Flows and Results - Metaflow Docs
Metaflow provides a client API that is used to inspect results of past runs. It is particularly well suited to being used in...
Read more >
Metaflow 2.0.0 executing HelloFlow Unknown user about ...
I am trying to run metaflow-tutorials on local mac. ... Metaflow could not determine your user name based on environment variables ($USERNAME etc.)...
Read more >
Metaflowを使ってみた - Re:ゼロから始めるML生活
Run this flow to validate that Metaflow is installed correctly. ... Metaflow 2.0.0 executing HelloFlow Unknown user · Issue #45 · Netflix/ ...
Read more >
Metaflow 2.0.0 executing HelloFlow Unknown user - 微服务- 编程 ...
Metaflow 2.0.0 executing HelloFlow Unknown user. ... I am trying to run metaflow-tutorials on local mac. after pip install metaflow metaflow cd ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found