[Tutor] problem running iptest on windows

Mary Lou Knack mlknack at gmail.com
Fri Nov 14 20:11:00 CET 2008


Hi

I just installed Ipython 0.9.1.win32 (and Python 2.5.1) under Windows XP.  I added C:\Python25\Scripts to my path environment variable but nothing else.  Out of curiosity, I then decided to try running the iptest script (after installing the nose code) but I keep getting import errors.  Here is error message when I ran the following command while in the Python25/Lib/site-packages directory:

C:\Python25\Lib\site-packages>iptest
E
======================================================================
ERROR: Failure: ImportError (cannot import name Release)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "c:\python25\lib\site-packages\nose-0.10.4-py2.5.egg\nose\loader.py", lin
e 364, in loadTestsFromName
    addr.filename, addr.module)
  File "c:\python25\lib\site-packages\nose-0.10.4-py2.5.egg\nose\importer.py", l
ine 39, in importFromPath
    return self.importFromDir(dir_path, fqname)
  File "c:\python25\lib\site-packages\nose-0.10.4-py2.5.egg\nose\importer.py", l
ine 82, in importFromDir
    mod = load_module(part_fqname, fh, filename, desc)
  File "C:\Python25\Lib\site-packages\IPython\__init__.py", line 63, in <module>

    from IPython import Release # do it explicitly so pydoc can see it - pydoc b
ug
ImportError: cannot import name Release

----------------------------------------------------------------------
Ran 1 test in 0.000s

FAILED (errors=1)

and my path: 

C:\Python25\Lib\site-packages>path
PATH=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Qu
ickTime\QTSystem\;C:\bin;C:\Python25\Scripts

I assume I have a path error but I don't know what to change.  Any suggestions?  (BTW, I checked and there is a Release.py in the C:\Python25\Lib\site-packages\IPython directory.

Mary Lou
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20081114/b8c97e58/attachment.htm>


More information about the Tutor mailing list