[MacPorts] #30421: py27-matplotlib-basemap @1.0.1_0, python import error: obsolete library reference

MacPorts noreply at macports.org
Thu Jul 28 18:37:26 PDT 2011


#30421: py27-matplotlib-basemap @1.0.1_0, python import error: obsolete library
reference
--------------------------------------+-------------------------------------
  Reporter:  brislawn@…               |       Owner:  ram@…           
      Type:  defect                   |      Status:  reopened        
  Priority:  Normal                   |   Milestone:                  
 Component:  ports                    |     Version:  2.0.0           
Resolution:                           |    Keywords:                  
      Port:  py27-matplotlib-basemap  |  
--------------------------------------+-------------------------------------
Changes (by brislawn@…):

  * status:  closed => reopened
  * resolution:  fixed =>


Comment:

 Thanks for such prompt action. Sorry for not cc'ing the maintainer but I
 couldn't figure out what email address to cc.
 I did a "port upgrade outdated" today to build the new revision, py27
 -matplotlib-basemap-1.0.1_1, and after building and installing it I got
 the following error in ipython:
 {{{
 In [1]: from mpl_toolkits.basemap import
 Basemap---------------------------------------------------------------------------
 ImportError                               Traceback (most recent call
 last)

 /Users/brislawn/Documents/Programs/VisualExploration/sandbox/<ipython
 console> in <module>()

 /opt/macports/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/mpl_toolkits/basemap/__init__.py in <module>()
      38 from matplotlib.lines import Line2D
      39 from matplotlib.transforms import Bbox
 ---> 40 import pyproj, sys, os, math, dbflib
      41 from proj import Proj
      42 import numpy as np

 ImportError: No module named dbflib
 }}}

 The complete build file is attached; a quick check with a text editor
 failed to find the string "dbflib" anywhere in the output of the build.

 Thanks,

 -Chris

-- 
Ticket URL: <https://trac.macports.org/ticket/30421#comment:5>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list