Posts Tagged Portage
Recovering from ‘ImportError: No module named pysqlite2′ after upgrading python on a Gentoo Linux system
Posted by Adam in Fixing Errors, Linux on Sunday October 4, 2009
WARNING: Please read before continuing ▼
Difficulty: Moderate
Time: ~30 Minutes, depending on CPU speed/internet connection
Last Updated: 4th October 2009
Applies to: Gentoo Linux
Symptoms:
When running emerge after a major upgrade of pythons core files (dev-lang/python), you get an error similar to (other information may be included in the error message):
ImportError: No module named pysqlite2
emerge will fail to work as a result of this. Additionally, if you run /usr/sbin/python-updater, that will fail too, with a similar error.