Opened 14 years ago

Last modified 14 years ago

#25884 closed defect

failure in py26-matplotlib-basemap @1.0_0 ; does not install dbflib — at Version 2

Reported by: jpringle@… Owned by: ram@…
Priority: Normal Milestone:
Component: ports Version: 1.9.1
Keywords: Cc:
Port: py26-matplotlib-basemap

Description (last modified by skymoo (Adam Mercer))

I upgrade macports with self update, and then update all packages. py26-matplotlib and py26-matplotlib-basemap were updated to version one. The command

   import  mpl_toolkits.basemap

Then failed with "ImportError: No module named dbflib" at

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

I tried uninstalling and then installing basemap again, and it did not help. I think dbflib is supposed to be part of basemap; it was part of the py26-matplotlib-basemap package as of version 0.99.4_0

I appreciate any help you can offer.

Cheers, Jamie Pringle University of New Hampshire.

Change History (2)

comment:1 Changed 14 years ago by jmroot (Joshua Root)

Cc: jpringle@… removed
Keywords: matplotlib-basemap removed
Owner: changed from macports-tickets@… to ram@…

Please remember to cc the maintainer, and note that you do not need to be in cc when you are the reporter.

comment:2 Changed 14 years ago by skymoo (Adam Mercer)

Description: modified (diff)
Status: newassigned

I can't reproduce this:

$ port installed py26-matplotlib-basemap
The following ports are currently installed:
  py26-matplotlib-basemap @1.0_0 (active)
$ python -c "import mpl_toolikits.basemap"
$ port contents py26-matplotlib-basemap | grep dbflib
  /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/dbflib/__init__.py
  /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/dbflib/__init__.pyc
  /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/dbflib/dbflib.py
  /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/dbflib/dbflib.pyc
  /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/dbflibc.so

Does your version not contain dbflib?

Note: See TracTickets for help on using tickets.