JuliaPy / JuliaPy/PyPlot.jl

Not able to use backend gtk

オープン
#202 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Julia
スター
488
フォーク
90
PR マージ指標
30日以内にマージされた PR はありません

説明

I would like to use the backend gtk, because the backend qt conflicts with my QML GUI (see:
https://github.com/barche/QML.jl and https://github.com/barche/QML.jl/issues/5 ).
But I get the following error:

```
julia> using PyCall
julia> pyimport("gtk")
ERROR: PyError (:PyImport_ImportModule)
ImportError('No module named gtk',)

[inlined code] from /home/ufechner/.julia/v0.4/PyCall/src/exception.jl:81
in pyimport at /home/ufechner/.julia/v0.4/PyCall/src/PyCall.jl:285
julia>
```

I tried to install pygtk in different ways. First:

```
import Conda
push!(Conda.CHANNELS, "https://conda.anaconda.org/jochym")
Conda.add("gtk")
```

Then I tried:

```
import Conda
push!(Conda.CHANNELS, "https://conda.anaconda.org/pkgw")
Conda.add("gtk3")
```

Both approaches did not help. I am using Ubuntu 14.04, 64 bit and Julia 0.42.
Any ideas?

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

Start with the failing PyCall entry point in PyCall.jl:285 and the exception handling referenced at PyCall/src/exception.jl:81, then inspect how the GTK backend is selected. Reproduce the pyimport("gtk") failure using the listed Conda installation attempts and the Ubuntu 14.04 setup. Done means the GTK backend can be used without the QML GUI conflict and the reported import failure is resolved.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
julia, python
領域
data-visualization
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
25/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。