[Ipython-tickets] [IPython] #153: pyreadline Install crash on python 2.3, caused by use of set builtin available from python 2.4

IPython ipython-tickets@scipy....
Wed May 9 13:14:44 CDT 2007


#153: pyreadline Install crash on python 2.3, caused by use of set builtin
available from python 2.4
------------------------+---------------------------------------------------
 Reporter:  jstenar     |       Owner:  jstenar
     Type:  defect      |      Status:  new    
 Priority:  normal      |   Milestone:         
Component:  pyreadline  |     Version:         
 Severity:  normal      |    Keywords:         
------------------------+---------------------------------------------------
 Problem reported by Uwe Fechner in mail included below.
 Fix: Don't depend on builtin set import from Sets instead when using 2.3.




 Hello,

 I was trying to install ipython on windows xp, but I get the following
 error message
 during the post install script:

 Traceback (most recent call last):
   File "<string>", line 76, in ?
   File "<string>", line 15, in install
   File "C:\PYTHON23\Lib\site-packages\IPython\__init__.py", line 60, in ?
     __import__(name,glob,loc,[])
   File "C:\PYTHON23\Lib\site-packages\IPython\genutils.py", line 93, in ?
     import IPython.rlineimpl as readline
   File "C:\PYTHON23\Lib\site-packages\IPython\rlineimpl.py", line 18, in ?
     import pyreadline.rlmain
   File "C:\PYTHON23\Lib\site-packages\pyreadline\__init__.py", line 9, in
 ?
     import logger,clipboard,lineeditor,modes
   File "C:\PYTHON23\Lib\site-packages\pyreadline\clipboard\__init__.py",
 line 12, in ?
     from win32_clipboard import GetClipboardText,SetClipboardText
   File "C:\PYTHON23\Lib\site-
 packages\pyreadline\clipboard\win32_clipboard.py", line 36, in ?
     from pyreadline.keysyms.winconstants import CF_TEXT, GHND
   File "C:\PYTHON23\Lib\site-packages\pyreadline\keysyms\__init__.py",
 line 14, in ?
     from keysyms import *
   File "C:\PYTHON23\Lib\site-packages\pyreadline\keysyms\keysyms.py", line
 14, in ?
     from common import validkey,KeyPress,make_KeyPress_from_keydescr
   File "C:\PYTHON23\Lib\site-packages\pyreadline\keysyms\common.py", line
 11, in ?
     validkey =set(['cancel',     'backspace',    'tab',          'clear',
 NameError: name 'set' is not defined
 *** run_installscript: internal error 0xFFFFFFFF ***

 I installed:
 ------------
 python 2.3.5
 ctypes-1.0.1.win32-py2.3.exe
 pyreadline-1.4.2.win32.exe
 pywin32-210.win32-py2.3.exe

 Any idea how to fix this problem?


 Best Regards:


 Uwe Fechner
 Embedded Development



 PEGASUS GMBH
 Firmensitz: Fraunhoferstr. 2-4, 24118 Kiel
 Amtsgericht Kiel, HRB 56 26
 Geschäftsführer: Johannes Kritten



 Tel.: +49 (0)431 220 75 - 14
 Fax: +49 (0)431 220 75 - 75

 Email: fechner@pegasus-gmbh.com

 Home: www.pegasus-gmbh.com

 _______________________________________________
 IPython-user mailing list
 IPython-user@scipy.org
 http://lists.ipython.scipy.org/mailman/listinfo/ipython-user

-- 
Ticket URL: <http://projects.scipy.org/ipython/ipython/ticket/153>
IPython <http://ipython.scipy.org>
The IPython interactive Python system


More information about the Ipython-tickets mailing list