FS#58649 - [python-basemap] Missing dependency python-pyproj

Attached to Project: Community Packages
Opened by Hendrik (hero) - Friday, 18 May 2018, 07:24 GMT
Last edited by Jaroslav Lichtblau (Dragonlord) - Monday, 01 October 2018, 12:59 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Jaroslav Lichtblau (Dragonlord)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
Trying to import Basemap results in the following error:
```
from mpl_toolkits.basemap import Basemap
---------------------------------------------------------------------------
ModuleNotFoundError Traceback (most recent call last)
<ipython-input-1-d9467465a3b6> in <module>()
----> 1 from mpl_toolkits.basemap import Basemap

/usr/lib/python3.6/site-packages/mpl_toolkits/basemap/__init__.py in <module>()
30 from matplotlib.lines import Line2D
31 from matplotlib.transforms import Bbox
---> 32 import pyproj
33 from mpl_toolkits.axes_grid1 import make_axes_locatable
34 from matplotlib.image import imread

ModuleNotFoundError: No module named 'pyproj'
```

Additional info:
* python-basemap version: 1.1.0-1
* installing python-pyproj package resolves the issue

Steps to reproduce:
Use the following in a Python script and run it:
from mpl_toolkits.basemap import Basemap
This task depends upon

Closed by  Jaroslav Lichtblau (Dragonlord)
Monday, 01 October 2018, 12:59 GMT
Reason for closing:  Implemented
Additional comments about closing:  Added in python-basemap-1.2.0-1
Comment by Krithin (krit) - Saturday, 07 July 2018, 09:36 GMT
I ran into this same bug and decided to put together a patch that I think adds the right dependency.

Loading...