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.

Startup procedure appears broken with a missing module: functools_lru_cache

See original GitHub issue
  • I’m submitting a …

    • bug report
    • feature request
    • support request => Please do not submit support request here, see note at the top of this template.
  • Do you want to request a feature or report a bug?

Report a bug.

  • What is the current behavior?

When following the steps described here, I receive the following error (using both Python3.5 and Python3.6),

$ cookiecutter https://github.com/pydanny/cookiecutter-django
You've downloaded /Users/statwonk/.cookiecutters/cookiecutter-django before. Is it okay to delete and re-download it? [yes]: yes
Unable to load extension: No module named functools_lru_cache
  • If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem
$ virtualenv --python=python3.6 venv
$ source venv/bin/activate
$ pip install "cookiecutter>=1.4.0"
$ cookiecutter https://github.com/pydanny/cookiecutter-django
  • What is the expected behavior?

A sequence that asks for the set of Cookiecutter options I’d like to select. Instead I see,

$ cookiecutter https://github.com/pydanny/cookiecutter-django
You've downloaded /Users/statwonk/.cookiecutters/cookiecutter-django before. Is it okay to delete and re-download it? [yes]: yes
Unable to load extension: No module named functools_lru_cache

and the process ends.

  • What is the motivation / use case for changing the behavior?

  • Please tell us about your environment:

Mac OS X, brew installed.

  • Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, gitter, etc)

Issue Analytics

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

github_iconTop GitHub Comments

3reactions
jayfkcommented, Nov 28, 2017

The pip command is probably linked to Python 2.7. Try pip3 instead.

2reactions
Afrowavecommented, Nov 28, 2017

I found out this the hard way as well. I use “pyenv” now.

Read more comments on GitHub >

github_iconTop Results From Across the Web

No results found

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