#21970: scons with Python 2.6.3 on Snow Leopard can't find Packages path -----------------------------+---------------------------------------------- Reporter: tcwan@… | Owner: landonf@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Keywords: | Port: scons -----------------------------+---------------------------------------------- Comment(by tcwan@…): I've used python_select to specify python26 (macports). On my Leopard (2.5.x) environment, I have py25-pil, (but not py26-pil) installed. I use python25 on Leopard normally. if I select python26 as the default it can find PIL because it takes it from the 2.5 site-packages using the appended path. On Snow Leopard (2.6.x) environment, I have py26-pil (not py25-pil) installed. I don't plan to have python 2.5 on Snow Leopard (if possible). I suppose if I installed py25-pil it probably could work since it forces it to load from the 2.5 site-packages path. The lack of pil-25 doesn't affect the loading of PIL if it's executed from the command line, since python could find pil-26 from the installed location (/opt/local/Library...). It's only when scons invokes python and the script that it is not able to locate pil-26 on Snow Leopard. -- Ticket URL: <http://trac.macports.org/ticket/21970#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS