JuliaPy / JuliaPy/PyPlot.jl

PyEval_RestoreThread: NULL tstate

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

説明

First I have installed PyPlot:

ENV["PYTHON"] = ""
Pkg.add("PyCall")
Pkg.build("PyCall")
Pkg.add(PyPlot")

Second, I have a very basic code in a file called test.jl:

using PyPlot
plot(1,1)

When I run this code into Atom or Julia everything is OK. The problem is when I open a cmd from windows 10, 64 bits and I call this program:

C:\Users\%USERNAME%\AppData\Local\Julia-0.5.0\bin\julia.exe "C:\Users\%USERNAME%\Desktop\test.jl"

I have the following Error: "Fatal Python error: PyEval_RestoreThread: NULL tstate"

I am runing with :

Julia Version 0.5.0
Commit 3c9d753 (2016-09-19 18:14 UTC)
Platform Info:
System: NT (x86_64-w64-mingw32)
CPU: Intel(R) Core(TM) i5-4460 CPU @ 3.20GHz
WORD_SIZE: 64
BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Haswell)
LAPACK: libopenblas64_
LIBM: libopenlibm
LLVM: libLLVM-3.7.1 (ORCJIT, haswell)

For python, the miniconda version was installed automatically.

Thanks

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

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

調査の方向性

Reproduce the failure with test.jl and the Julia 0.5.0 Windows command shown, then compare it with the working Atom or Julia invocation. Start by examining PyPlot and PyCall initialization on Windows; done means the same script runs from cmd without the PyEval_RestoreThread error.

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

評価

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

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

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