Skip to content

Commit

Permalink
Merge pull request #1813 from jeffcjohnson/patch-1
Browse files Browse the repository at this point in the history
Add current directory to python path
  • Loading branch information
erikbern authored Aug 10, 2016
2 parents 3064491 + 699e803 commit 298a0d1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/example_top_artists.rst
Original file line number Diff line number Diff line change
Expand Up @@ -77,11 +77,11 @@ Try running this using eg.
$ cd examples
$ luigi --module top_artists AggregateArtists --local-scheduler --date-interval 2012-06
Note that *AggregateArtists* needs to be in your PYTHONPATH, or else this can produce an error (*ImportError: No module named AggregateArtists*). Add the current working directory to the command PYTHONPATH with:
Note that *top_artists* needs to be in your PYTHONPATH, or else this can produce an error (*ImportError: No module named top_artists*). Add the current working directory to the command PYTHONPATH with:

.. code-block:: console
$ PYTHONPATH='' luigi --module top_artists AggregateArtists --local-scheduler --date-interval 2012-06
$ PYTHONPATH='.' luigi --module top_artists AggregateArtists --local-scheduler --date-interval 2012-06
You can also try to view the manual using `--help` which will give you an
overview of the options.
Expand Down

0 comments on commit 298a0d1

Please sign in to comment.