From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: Re: OfflineIMAP and Python Date: Tue, 21 Apr 2015 13:03:47 +0200 Message-ID: References: <87iocp21nd.fsf@denknerd.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44201) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YkVyE-0003JZ-HW for guix-devel@gnu.org; Tue, 21 Apr 2015 07:04:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YkVy8-0003ol-Ki for guix-devel@gnu.org; Tue, 21 Apr 2015 07:04:02 -0400 Received: from venus.bbbm.mdc-berlin.de ([141.80.25.30]:41849) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YkVy8-0003ob-CB for guix-devel@gnu.org; Tue, 21 Apr 2015 07:03:56 -0400 In-Reply-To: <87iocp21nd.fsf@denknerd.org> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Paul van der Walt Cc: Guix-devel Paul van der Walt writes: > ImportError: /gnu/store/zla3af321lkf2n80330fw81mxgbz1gj3-python-2.7.6/lib/python2.7/lib-dynload/operator.so: undefined symbol: _PyUnicodeUCS2_AsDefaultEncodedString This usually happens when you use the wrong python. What does `which python` tell you? I get this error when I accidentally upgrade my Guix python-2.7.6 to python-3.x and the only "python" executable in my PATH is the system python at /usr/bin/python. OfflineIMAP works fine for me when I make sure that python-2.7.6 is in fact installed and the default "python" executable in my PATH. ~~ Ricardo