imported module scitools not recognized

Robert Kern robert.kern at gmail.com
Thu Mar 26 15:11:37 EDT 2009


On 2009-03-26 10:42, mgdevos wrote:
> Hi all,
>
>
> I have installed the scitools module but modules included in scitools,
> for example numpyutils, are not recognized.
> Python is able to import scitools, and scitools is recognized in my
> editor (Pydev for Eclipse 1.4.4) as autocompletion works well.
> However, when I try to run a test script:
>
> import scitools
> print "Sequence is: ",scitools.numpyutils.seq(0,10,1)
>
> I get an error: "AttributeError: 'module' object has no attribute
> 'numpyutils'"
>
> I assume that installation of scitools ( version 0.4 using the windows
> installer) was succesful as scitools is added to my python libs: D:
> \Programs\python_enthought2.5.2001\Lib\site-packages\scitools
> I added the path to scitools to my pthonpath and even added all three
> modules to forced-builtins, but still I get the same error message.
>
> Could you please help me solving this problem?

from scitools import numpyutils
print 'Sequence is: ', numpyutils.seq(0,10,1)

-- 
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless enigma
  that is made terrible by our own mad attempt to interpret it as though it had
  an underlying truth."
   -- Umberto Eco




More information about the Python-list mailing list