[MacPorts] #21970: scons with Python 2.6.3 on Snow Leopard can't find Packages path

MacPorts noreply at macports.org
Sat Oct 10 03:19:13 PDT 2009


#21970: scons with Python 2.6.3 on Snow Leopard can't find Packages path
---------------------------------+------------------------------------------
 Reporter:  tcwan@…              |       Owner:  macports-tickets@…                   
     Type:  defect               |      Status:  new                                  
 Priority:  Normal               |   Milestone:                                       
Component:  ports                |     Version:  1.8.1                                
 Keywords:  python 2.6.3, scons  |        Port:  1.8.1                                
---------------------------------+------------------------------------------
 My problem shows up when trying to invoke Python Imaging (PIL) from a
 python script depending on PIL via scons. It can't locate the PIL
 libraries, which were installed in:
 /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/...

 The normal location /opt/local/lib/python2.6/site-packages/ does not
 contain any file related to PIL (only 1 python script ktoblzcheck.py was
 present)

 If the script were invoked from the command line, it'll find the PIL
 libraries without any problem.

 Python 2.5 seems to install the libraries in both the
 /opt/local/Library/Frameworks/ as well as the /opt/local/lib/python2.5
 /site-packages/ directories, so it does not encounter this problem.

-- 
Ticket URL: <http://trac.macports.org/ticket/21970>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list