Skip to content

Instantly share code, notes, and snippets.

View Anunalla's full-sized avatar

Anu Anunalla

View GitHub Profile
@garywu
garywu / ipython_0.13.2_windows_line_profiler.md
Last active February 21, 2018 00:58
How to fix ipython 0.13.2 runtime Error on Windows: ImportError: No module named line_profiler

How to fix: ImportError: No module named line_profiler when running ipython 0.13.2 on Windows

  1. install Line_profiler from http://www.lfd.uci.edu/~gohlke/pythonlibs/
  2. This should install following files in your python27/Lib/site-packages directory
    • _line_profiler.pyd
    • line_profiler-1.0b3-py2.7-win32.egg
    • line_profiler-1.0b3-py2.7.egg-info
    • line_profiler.py
    • line_profiler.pyc
  • line_profiler.pyo