matplotlib / matplotlib/basemap

Although in Sitepackages, not importable

Open
#186 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
817
Forks
395
PR merge metrics
No merged PRs in 30d

Description

I installed basemap the following:

Download the source from here:

http://sourceforge.net/projects/matplotlib/files/matplotlib-toolkits/

Follow the instructions:

cd geos-3.3.3
export GEOS_DIR=/usr/local
./configure --prefix=$GEOS_DIR
make; make install

Then I went on the PROJ4 website http://trac.osgeo.org/proj/
Downloaded vers 4.9.1

./configure
make
make install

Then back into the basemap folder:

sudo python setup.py install

No error messages during that process.
However,

from mpl_toolkits.basemap import Basemap yields
"No module named basemap"

I checked my python 2.7 folder under

 /Library/Python/2.7

There is folder "mpl_toolkits" which contains a folder basemap.
Why is it not importing?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the reported from mpl_toolkits.basemap import Basemap failure using the installation commands and Python 2.7 path shown in the issue. Inspect /Library/Python/2.7/mpl_toolkits/basemap and the active interpreter's import path; done means identifying why the installed package is not importable and documenting a verified fix.

Written by the indexing model from the issue text.

Assessment

Tech stack
matplotlib, python
Domain
data-visualization
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.