stat157 / recent-quakes

Stat 157 Homework 2 due on Monday 2013-10-21 at 11:59pm
0 stars 20 forks source link

Group 4 Reproducibility Issues #23

Open tandrasfay opened 10 years ago

tandrasfay commented 10 years ago

Followed all the preliminary setup steps but get this error: ImportError: No module named jinja2

ashleysiaailes commented 10 years ago

I concur

kqdtran commented 10 years ago

Strange... jinja2 is a template engine for Python, and we never used it anywhere in our code :(. If possible, could you attach a screenshot for where the error occurred?

tandrasfay commented 10 years ago

\ It was after importing folium in code box 9 **

ImportError Traceback (most recent call last)

in () ----> 1 import folium 2 import requests 3 import random /usr/local/lib/python2.7/dist-packages/folium/**init**.py in () 1 # -_\- coding: utf-8 -_- ----> 2 from folium import Map /usr/local/lib/python2.7/dist-packages/folium/folium.py in () 13 import json 14 import pandas as pd ---> 15 from jinja2 import Environment, PackageLoader 16 from pkg_resources import resource_string, resource_filename 17 import utilities ImportError: No module named jinja2
kqdtran commented 10 years ago

Right... our apologies. It turns out that folium requires jinja2 to run... and I somehow had that on my VM without noticing it. You can install them by: pip install requests jinja2 folium, and that should fix it. :D