Code Yarns ‍👨‍💻
Tech BlogPersonal Blog

Python: pkg_resources module error

📅 2012-Jun-27 ⬩ ✍️ Ashwin Nanjappa ⬩ 🏷️ distribute, error, ipython, python, setuptools ⬩ 📚 Archive


Run ipython3.exe and it quits with this error: ImportError: No module named pkg_resources


pkg_resources is a module that ships with the setuptools package. setuptools has been adandoned now, but a fork of it named distribute provides this module. So, install distribute (see how) and this error will be gone.

Tried with: ipython 0.12.1, Python 3.2 64-bit and Windows 7 64-bit