mitodl / template-mit-demo

A copy of https://github.com/mitocw/content-mit-latex2edx-demo turned into a cookiecutter template.
MIT License
0 stars 1 forks source link

Cookiecutter compilation issue #4

Closed itsbenweeks closed 9 years ago

itsbenweeks commented 9 years ago

There seems to be an issue with with the pyPi version of cookiecutter which results in this error:

Traceback (most recent call last):
  File "/usr/local/bin/cookiecutter", line 9, in <module>
    load_entry_point('cookiecutter==0.9.1', 'console_scripts', 'cookiecutter')()
  File "/usr/local/lib/python2.7/site-packages/cookiecutter/main.py", line 169, in main
    cookiecutter(args.input_dir, args.checkout, args.no_input)
  File "/usr/local/lib/python2.7/site-packages/cookiecutter/main.py", line 105, in cookiecutter
    context=context
  File "/usr/local/lib/python2.7/site-packages/cookiecutter/generate.py", line 181, in generate_files
    env = Environment(keep_trailing_newline=True)
TypeError: __init__() got an unexpected keyword argument 'keep_trailing_newline'
itsbenweeks commented 9 years ago

installing from the project's git repository doesn't result in this error: pip install -e git+https://github.com/audreyr/cookiecutter#egg=cookiecutter