`using PyPlot` fails
- Ngôn ngữ chính
- Julia
- Star
- 488
- Fork
- 90
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
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
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- julia, matplotlib, python
- Lĩnh vực
- data-visualization
- Loại issue
- Lỗi
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Cần làm rõ
- Mức phù hợp với người mới
- 25/100