Intel® Distribution for Python*
Engage in discussions with community peers related to Python* applications and core computational packages.
428 Discussions

Figure window crash python After close it

abarb
Beginner
694 Views

The last update for python Distribution got an old bug ... Figure, with plot of matplotlib and backend that show window (like TkAgg), crashes python after window closed.

My packages:

C:\Users\andre>conda update --all
Solving environment: done

# All requested packages already installed.


C:\Users\andre>conda list
# packages in environment at C:\IntelPython3:
#
# Name                    Version                   Build  Channel
asn1crypto                0.23.0                   py36_0    intel
backports                 1.0                py36_intel_6  [intel]  intel
backports.weakref         1.0rc1                   py36_0
bkcharts                  0.2              py36h7e685f7_0
bleach                    1.5.0              py36_intel_0  [intel]  intel
bokeh                     0.12.15                  py36_0
bzip2                     1.0.6             vc14_intel_14  [intel vc14]  intel
cairo                     1.14.10              ha12b3d8_6
certifi                   2018.1.18          py36_intel_0  [intel]  intel
cffi                      1.11.2             py36_intel_2  [intel]  intel
chardet                   3.0.4              py36_intel_0  [intel]  intel
click                     6.7              py36hec8c647_0
cloudpickle               0.5.2                    py36_1
colorama                  0.3.9              py36_intel_0  [intel]  intel
conda                     4.5.1                    py36_0
conda-env                 2.6.0                h36134e3_1
cryptography              2.1.4              py36_intel_0  [intel]  intel
cycler                    0.10.0             py36_intel_5  [intel]  intel
cython                    0.27.3             py36_intel_3  [intel]  intel
cytoolz                   0.9.0.1          py36hfa6e2cd_0
daal                      2018.0.2.20180124               0    intel
dask                      0.17.2                   py36_0
dask-core                 0.17.2                   py36_0
decorator                 4.1.2              py36_intel_0  [intel]  intel
distarray                 0.6.0              py36_intel_4  [intel]  intel
distributed               1.21.6                   py36_0
django                    2.0.2            py36hd476221_0
django-filter             1.1.0                     <pip>
djangorestframework       3.7.3                     <pip>
entrypoints               0.2.3              py36_intel_0  [intel]  intel
EoN                       0.98.2                    <pip>
freetype                  2.8                vc14_intel_0  [intel vc14]  intel
get_terminal_size         1.0.0              py36_intel_5  [intel]  intel
hdf5                      1.10.1             vc14_intel_0  [intel vc14]  intel
heapdict                  1.0.0                    py36_2
html5lib                  0.9999999                py36_0
icc_rt                    2018.0.2                intel_0  [intel]  intel
icu                       58.2                 ha66f8fd_1
idna                      2.6                py36_intel_0  [intel]  intel
impi_rt                   2018.0.2                intel_2  [intel]  intel
intelpython               2018.0.2                      0    intel
ipykernel                 4.6.1              py36_intel_0  [intel]  intel
ipyparallel               6.0.2              py36_intel_0  [intel]  intel
ipython                   6.1.0              py36_intel_0  [intel]  intel
ipython_genutils          0.2.0              py36_intel_0  [intel]  intel
ipywidgets                7.0.0              py36_intel_0  [intel]  intel
jinja2                    2.9.6              py36_intel_0  [intel]  intel
jsonschema                2.6.0              py36_intel_0  [intel]  intel
jupyter_client            5.1.0              py36_intel_0  [intel]  intel
jupyter_console           5.1.0              py36_intel_0  [intel]  intel
jupyter_core              4.3.0              py36_intel_1  [intel]  intel
libpng                    1.6.32             vc14_intel_1  [intel vc14]  intel
libprotobuf               3.5.2                he0781b1_0
llvmlite                  0.21.0                   py36_0    intel
locket                    0.2.0            py36hfed976d_1
markdown                  2.6.11                   py36_0
markupsafe                1.0                py36_intel_0  [intel]  intel
matplotlib                2.1.1           np114py36_intel_2  [intel]  intel
menuinst                  1.4.11           py36hfa6e2cd_0
mistune                   0.7.4              py36_intel_1  [intel]  intel
mkl                       2018.0.2                intel_1    intel
mkl_fft                   1.0.1           np114py36_intel_0  [intel]  intel
mkl_random                1.0.1           np114py36_intel_0  [intel]  intel
mpi4py                    2.0.0             py36_intel_15  [intel]  intel
mpmath                    1.0.0              py36_intel_0  [intel]  intel
msgpack-python            0.5.6            py36he980bc4_0
nbconvert                 5.2.1              py36_intel_0  [intel]  intel
nbformat                  4.4.0              py36_intel_0  [intel]  intel
networkx                  2.0                       <pip>
nose                      1.3.7             py36_intel_16  [intel]  intel
notebook                  5.2.2              py36_intel_0  [intel]  intel
numba                     0.36.2          np114py36_intel_2  [intel]  intel
numexpr                   2.6.4           np114py36_intel_0  [intel]  intel
numpy                     1.14.0             py36_intel_3  [intel]  intel
openmp                    2018.0.0                intel_8    intel
openssl                   1.0.2n             vc14_intel_0  [intel vc14]  intel
packaging                 17.1                     py36_0
pandas                    0.22.0          np114py36_intel_3  [intel]  intel
pandocfilters             1.4.1              py36_intel_0  [intel]  intel
partd                     0.3.8            py36hc8e763b_0
path.py                   10.3.1             py36_intel_0  [intel]  intel
pickleshare               0.7.4              py36_intel_1  [intel]  intel
pip                       9.0.1              py36_intel_1  [intel]  intel
pixman                    0.34.0               hcef7cb0_3
prompt_toolkit            1.0.15             py36_intel_0  [intel]  intel
protobuf                  3.5.2            py36h6538335_0
psutil                    5.4.5            py36hfa6e2cd_0
pycairo                   1.13.3           py36h21e00d2_1
pycosat                   0.6.3            py36h413d8a4_0
pycparser                 2.18               py36_intel_0  [intel]  intel
pydaal                    2018.0.2.20180124 np114py36_intel_1  [intel]  intel
pygments                  2.2.0              py36_intel_1  [intel]  intel
pyopenssl                 17.2.0             py36_intel_0  [intel]  intel
pyparsing                 2.2.0              py36_intel_0  [intel]  intel
pysocks                   1.6.7              py36_intel_0  [intel]  intel
pytables                  3.4.2           np114py36_intel_3  [intel]  intel
python                    3.6.3                   intel_8  [intel]  intel
python-dateutil           2.6.0              py36_intel_3  [intel]  intel
pytz                      2017.2             py36_intel_3  [intel]  intel
pywin32                   223              py36hfa6e2cd_0
pyyaml                    3.12               py36_intel_4  [intel]  intel
pyzmq                     16.0.2             py36_intel_4  [intel]  intel
requests                  2.18.4             py36_intel_0  [intel]  intel
rpy2                      2.8.6                     <pip>
ruamel_yaml               0.15.35          py36hfa6e2cd_1
scikit-learn              0.19.1          np114py36_intel_22  [intel]  intel
scipy                     1.0.0                     <pip>
scipy                     1.0.0           np114py36_intel_2  [intel]  intel
setuptools                36.5.0                   py36_0    intel
simplegeneric             0.8.1              py36_intel_5  [intel]  intel
six                       1.10.0             py36_intel_8  [intel]  intel
sortedcontainers          1.5.10                   py36_0
sqlite                    3.20.1             vc14_intel_1  [intel vc14]  intel
sympy                     1.1.1              py36_intel_3  [intel]  intel
tbb                       2018.0.1           py36_intel_5  [intel]  intel
tblib                     1.3.2            py36h30f5020_0
tcl                       8.6.4             vc14_intel_19  [intel vc14]  intel
tensorflow                1.2.1                    py36_0
testpath                  0.3.1              py36_intel_0  [intel]  intel
tk                        8.6.4             vc14_intel_27  [intel vc14]  intel
toolz                     0.9.0                    py36_0
tornado                   4.5.2              py36_intel_0  [intel]  intel
traitlets                 4.3.2              py36_intel_1  [intel]  intel
urllib3                   1.22               py36_intel_0  [intel]  intel
vc                        14.0                          2    intel
vs2015_runtime            14.0.25420              intel_0  [intel]  intel
wcwidth                   0.1.7              py36_intel_5  [intel]  intel
werkzeug                  0.14.1                   py36_0
wheel                     0.29.0             py36_intel_6  [intel]  intel
widgetsnbextension        3.0.2                    py36_0    intel
win_inet_pton             1.0.1              py36_intel_0  [intel]  intel
win_unicode_console       0.5                py36_intel_0  [intel]  intel
wincertstore              0.2                py36_intel_0  [intel]  intel
xz                        5.2.3              vc14_intel_1  [intel vc14]  intel
yaml                      0.1.7                hc54c509_2
zict                      0.1.3            py36h2d8e73e_0
zlib                      1.2.11             vc14_intel_4  [intel vc14]  intel

Edited: The problem was the Editor Pyzo ... bad version. In iPython works very well.

0 Kudos
1 Reply
sylvian_k_
Beginner
694 Views

Intel Python crash in Windows 10 with the simplest program

import matplotlib.pyplot as plt

plt.plot([1,2,3,4])

 

0 Kudos
Reply