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.

Issue with tutorial #3

See original GitHub issue

Python environment: pyenv local with Python 3.6.8

Metaflow 2.0.0 executing PlayListFlow for user:minhtue

The next version of our playlist generator that uses the statistics
generated from 'Episode 02' to improve the title recommendations.

The flow performs the following steps:

1) Load the genre specific statistics from the MovieStatsFlow.
2) In parallel branches:
- A) Build a playlist from the top grossing films in the requested genre.
- B) Choose a random movie.
3) Join the two to create a movie playlist and display it.

Step start
    Use the Metaflow client to retrieve the latest successful run from our
    MovieStatsFlow and assign them as data artifacts in this flow.
    => bonus_movie, genre_movies

Step bonus_movie
    This step chooses a random title for a different movie genre.
    => join

Step genre_movies
    Select the top performing movies from the use specified genre.
    => join

Step join
    Join our parallel branches and merge results.
    => end

Step end
    Print out the playlist and bonus movie.

➜  metaflow-tutorials python 03-playlist-redux/playlist.py run
Metaflow 2.0.0 executing PlayListFlow for user:minhtue
Validating your flow...
    The graph looks good!
Running pylint...
    Pylint not found, so extra checks are disabled.
2019-12-03 16:46:33.660 Workflow starting (run-id 1575420393649410):
2019-12-03 16:46:33.681 [1575420393649410/start/1 (pid 34515)] Task is starting.
2019-12-03 16:46:34.074 [1575420393649410/start/1 (pid 34515)] <flow PlayListFlow step start> failed:
2019-12-03 16:46:34.075 [1575420393649410/start/1 (pid 34515)] Object not found:
2019-12-03 16:46:34.075 [1575420393649410/start/1 (pid 34515)] Using metadata provider: local@/Users/minhtue/workspace/metaflow/metaflow-tutorials
2019-12-03 16:46:34.075 [1575420393649410/start/1 (pid 34515)] Flow('MovieStatsFlow') does not exist
2019-12-03 16:46:34.126 [1575420393649410/start/1 (pid 34515)]
2019-12-03 16:46:34.131 [1575420393649410/start/1 (pid 34515)] Task failed.
2019-12-03 16:46:34.131 Workflow failed.
    Step failure:
    Step start (task-id 1) failed.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:9 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
mpkochercommented, Dec 4, 2019

@minhtuev I believe that workflow 02 requires ‘pandas’ installed, Hence the error message:

import pandas 2019-12-04 13:43:05.177 [1575495784736229/start/1 (pid 46310)] ModuleNotFoundError: No module named 'pandas'

0reactions
minhtuevcommented, Dec 4, 2019

Ah got it thanks

Read more comments on GitHub >

github_iconTop Results From Across the Web

Tutorial 3 is a buggy mess - Project Hospital - Steam Community
So I am on Tutorial where you create the surgical area. I have built all the rooms and all are checked green. It...
Read more >
Victoria III - Can't complete tutorial objective - Paradox Forum
Short summary of your issue Can't complete tutorial objective Game Version 1.0.3 What OS are you playing on?
Read more >
Attempting to start a Tutorial on Windows desktop with R 4.0.3 ...
Navigate to the Tutorial pane and attempt to start the Data basics tutorial. Select OK when prompted to install required packages. Select Yes ......
Read more >
Tutorial 3 - Scaling, Inverse Kinematics, and Inverse Dynamics
I. Objectives. Purpose. The purpose of this tutorial is to demonstrate how OpenSim solves an inverse kinematics and dynamics problem using experimental data ......
Read more >
8. Errors and Exceptions — Python 3.11.1 documentation
... in <module> ZeroDivisionError: division by zero >>> 4 + spam*3 Traceback ... This is not an issue in simple scripts, but can...
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