Hi, The code that determines if the stackless module is compiled and available, is a set of ifdefs.
You should see if those symbols for the given arm platform, are valid for your compiler. Maybe correct them, if not. The files are in the stackless/ sub-directory. I can't remember which one, offhand. Cheers, Richard. On 7/24/14, Bin Huang <[email protected]> wrote: > Hi list, > > I have compiled stackless-2.6.5 for an ARM platform (ARMv7 architecture). > No error occurred during the compilation except that the system failed to > find the necessary bits to build some modules. When I tried to import the > 'stackless' module, the system reported an error, "no module named > stackless", to me. > > Specifically, the error message looks like this: > > ------------------------------------------------------------------------------------------------------------ > root@192:/opt/stackless-2.6.5/bin# ./python > Python 2.6.5 (unknown, Feb 18 1970, 02:43:59) > [GCC 4.6.3] on linux3 > Type "help", "copyright", "credits" or "license" for more information. >>>> import stackless > Traceback (most recent call last): > File "<stdin>", line 1, in <module> > ImportError: No module named stackless >>>> > ------------------------------------------------------------------------------------------------------------ > > Also, I took the same source files and compiled them (with the same > configuration) for an X86 workstation. That worked well and I did not have > any problem with importing the 'stackless' module. > > I think Stackless-2.6.5 supports ARMv7 architecture. Otherwise, I shouldn't > be able to launch the interpreter. > > I really don't have any clue here. I wonder if someone can offer me some > insights. Thanks in advance. > > Bin > _______________________________________________ Stackless mailing list [email protected] http://www.stackless.com/mailman/listinfo/stackless
