JuliaPy / JuliaPy/PyPlot.jl

PyEval_RestoreThread: NULL tstate

Ouverte
#274 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Julia
Étoiles
488
Forks
90
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

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

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.