Search code examples
pythonpython-3.xpyramiddjango-debug-toolbar

Pyramid debug_toolbar: disabled perfomance tab with Python 2.6, but enabled with python 3.2


In fact it is not neccessary for me to have this tab active (I mean my most preferable tabs are sqlalchemy, renderings and request vars), but now I want to optimise my views, so I need this tab enabled. Strange that it works only with Python 3 (on two different computers).


Solution

  • If you're using the system python and you're using Debian, you might need to install the "python-profiler" package via apt.