Posts Tagged Portage

Recovering from ‘ImportError: No module named pysqlite2′ after upgrading python on a Gentoo Linux system

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.

Read the rest of this entry »

, , , , , ,

No Comments

Technical Procedures is Digg proof thanks to caching by WP Super Cache