I launched notebook in Anaconda, and had the code in screenshot. I don't know what's wrong with my code.
Asked
Active
Viewed 169 times
1 Answers
0
You need to actually run the first cell. Notebook is essentially a thin wrapper over a Python shell, and by default, it just executes one cell at a time. The [1]
indicates that you only ran the second cell.

Randy
- 14,349
- 2
- 36
- 42
-
When I run the first cell, it also has an error. ValueError: unknown locale: UTF-8. I can add to my question – Jiadong Aug 01 '16 at 03:11
-
Sounds like you may have some other environment issue. Maybe try the suggestion here as well: http://stackoverflow.com/questions/19961239/pelican-3-3-pelican-quickstart-error-valueerror-unknown-locale-utf-8 – Randy Aug 01 '16 at 03:12