Skip to contentSkip to conversation

Python 2.7.1 support in OpenEmbedded

DISCUSSION Alex J Lennon 1 participant 1 message Sep 21, 2011 7 messages not in the archive

lore
Share & tools
lore
#7 lore raw
In reply to a message not in the archive

Hi all,

I've been trying to build the 2.7.1 Python recipe. The recipe seems to build and deploy successfully but when I run python on the target for test I see

ImportError: No module named _weakrefset

Given it is non-default, I'm wondering if the 2.7.1 recipe is not currently usable in which case I'll revert back to 2.6.6?

The two changes I made to python/python.inc were:

DEFAULT_PREFERENCE = "-27"
PYTHON_MAJMIN = "2.7"

Thanks,

Alex

Dynamic Devices Ltd
http://www.dynamicdevices.co.uk