Can't import Stackless in Pythonwin

Gabriel Genellina gagsl-py at yahoo.com.ar
Fri Feb 9 14:06:25 EST 2007


En Fri, 09 Feb 2007 13:50:56 -0300, <archaegeo at gmail.com> escribió:

> I am getting started in Python, and I have looked on both the
> stackless page and python.org and cannot find the answer to what I
> think is a simple problem.
>
> If I start the python command line or idle, i can
>>>> import stackless
>
> If I start pythonwin I get the following error
> ...No Module named Stackless
>
> Any help?
>

Maybe they are different versions, or installed on different places.

In those three environments, execute:

import sys
print sys.version
print sys.executable

All should report the same version.
The executables for both python and IDLE should reside on the same  
directory; for pythonwin, you should get the *same* directory plus  
"Lib\site-packages\pythonwin\Pythonwin.exe"

-- 
Gabriel Genellina




More information about the Python-list mailing list