[MacPorts] #11267: REVISION: Python25 readline variant and now builds as a framework

MacPorts trac at macosforge.org
Thu Jan 3 20:12:08 PST 2008


#11267: REVISION: Python25 readline variant and now builds as a framework
----------------------------------------+-----------------------------------
  Reporter:  dinosaur at aztecfreenet.org  |       Owner:  mww at macports.org         
      Type:  enhancement                |      Status:  assigned                 
  Priority:  High                       |   Milestone:  Port Enhancements        
 Component:  ports                      |     Version:                           
Resolution:                             |    Keywords:  Python readline Framework
----------------------------------------+-----------------------------------
Comment (by mdickens at nd.edu):

 {{{
 > ImportError: No module named _md5
 >
 > despite the fact that I have py25-hashlib installed (I get the same
 problem interactively, BTW).  Is this a problem with the
 python25+frameworks port, or is this something that'll need to be changed
 in the other ports that depend on python25?
 }}}

 This might be related to ticket #13777.  Make sure the PYTHONPATH
 environment variable (in your preferred shell) includes
 {{{${prefix}/lib/python25/site-packages}}}, since that's where the
 py25-hashlib stuff will be placed.  e.g. in bash:
 {{{
 export PYTHONPATH=/opt/local/lib/python25/site-packages
 }}}
 You can check this via:
 {{{
 python
 >>> import sys
 >>> sys.path
 }}}
 and the printout should include both
 {{{${prefix}/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5}}}
 and {{{${prefix}/lib/python25/site-packages}}}

-- 
Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/11267#comment:16>
MacPorts </projects/macports>
Ports system for Mac OS


More information about the macports-tickets mailing list