JuliaPy / JuliaPy/PyPlot.jl

`using PyPlot` fails

未关闭
#54 9 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Julia
星标
488
派生
90
PR 合并指标
30 天内没有已合并 PR

描述

Something in the past few weeks has made PyPlot unusable. I'm on PyCall v0.4.5, PyPlot v1.2.5, and PySide v0.0.2.

in the julia terminal:

```
julia> using PyPlot
ERROR: PyError (PyImport_ImportModule)
in pyerr_check at /Users/joshua/.julia/PyCall/src/exception.jl:58
in pyimport at /Users/joshua/.julia/PyCall/src/PyCall.jl:85
in pyinitialize at /Users/joshua/.julia/PyCall/src/PyCall.jl:259
in pyinitialize at /Users/joshua/.julia/PyCall/src/PyCall.jl:447
in pyimport at /Users/joshua/.julia/PyCall/src/PyCall.jl:105
in reload_path at loading.jl:152
in _require at loading.jl:67
in require at loading.jl:51SYSTEM: show(lasterr) caused an error
```

in Ijulia:

```
In[*]: using PyPlot
KERNEL EXCEPTION
access to undefined reference
in convert at /Users/joshua/.julia/PyCall/src/conversions.jl:82
in pystring at /Users/joshua/.julia/PyCall/src/PyCall.jl:542
in show at /Users/joshua/.julia/PyCall/src/exception.jl:35
in showerror at replutil.jl:66
in showerror at replutil.jl:74 (repeats 2 times)
in showerror at replutil.jl:72
in sprint at io.jl:460
in pyerr_content at /Users/joshua/.julia/IJulia/src/execute_request.jl:66
```

```
_
```

_ _ _(_)_ | A fresh approach to technical computing
(_) | (_) (_) | Documentation: http://docs.julialang.org
_ _ _| |_ __ _ | Type "help()" to list help topics
| | | | | | |/ _` | |
| | |_| | | | (_| | | Version 0.3.0-prerelease+2570 (2014-04-09 19:29 UTC)
_/ |\__'_|_|_|__'_| | Commit 4fc2a15 (34 days old master)
|__/ | x86_64-apple-darwin13.1.0

贡献指南

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

调研方向

Reproduce `using PyPlot` in Julia 0.3.0 with PyCall v0.4.5, PyPlot v1.2.5, and PySide v0.0.2, starting with the terminal traceback. Read the referenced PyCall files—src/exception.jl, src/PyCall.jl, and src/conversions.jl—and the IJulia execute_request.jl path; done means PyPlot imports without the reported PyError or kernel exception.

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

评估

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

把新 issue 发到你的邮箱

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