#31938: python27 rev 86868 breaks py27-ipython -----------------------------------+---------------------------------------- Reporter: oliver.andrich@… | Owner: akitada@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: py-ipython python27 python26 -----------------------------------+---------------------------------------- Comment(by michelle.lynn.gill@…): My apologies for reviving an old thread, but I figured out the problem in the event that others report a similar issue... The file readline.pth imports "readline_path" which, in turn, loads readline only if the directory "/Volumes/Files/macports/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /lib-dynload" is found in sys.path. Unfortunately, I had the variable $PYTHONHOME set to "/Volumes/Files/macports/Library/Frameworks/Python.framework/Versions/Current", thus my analogous sys.path entry is "/Volumes/Files/macports/Library/Frameworks/Python.framework/Versions/Current/lib/python2.7 /lib-dynload". These two strings never match and, thus, readline was never being loaded for me. It's not an issue for me to change my PYTHONHOME variable, but maybe there's a more robust change that should be made to the readline- associated files? Regardless, hopefully this will help in the future if the problem arises again. Thanks!! -- Ticket URL: <https://trac.macports.org/ticket/31938#comment:18> MacPorts <http://www.macports.org/> Ports system for Mac OS