#25884: failure in py26-matplotlib-basemap @1.0_0 ; does not install dbflib ------------------------------+--------------------------------------------- Reporter: jpringle@… | Owner: ram@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: | Port: py26-matplotlib-basemap ------------------------------+--------------------------------------------- Changes (by ram@…): * status: new => assigned Old description:
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.
New description: 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. -- Comment: 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? -- Ticket URL: <http://trac.macports.org/ticket/25884#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS