matplotlib / matplotlib/basemap

Although in Sitepackages, not importable

未关闭
#186 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

主要语言
Python
星标
817
派生
395
PR 合并指标
30 天内没有已合并 PR

描述

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?

贡献指南

这个仓库没有索引到贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

使用 issue 中所示的安装命令和 Python 2.7 路径,重现报告的 from mpl_toolkits.basemap import Basemap 失败。检查 /Library/Python/2.7/mpl_toolkits/basemap 和当前解释器的导入路径;确定已安装的软件包无法导入的原因,并记录经过验证的修复方法后,即视为完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
matplotlib, python
领域
data-visualization
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
25/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。