Pyinstaller with Tkinter Matplotlib numpy scipy
<p>I am using Pyinstaller (after spending a long time with py2exe) to convert my REAL.py file to .exe. I used Anaconda to make .py file which is running perfectly on my computer. But when I make  .exe file, it shows no error and an application is created in dist\REAL folder. But when I run the .exe file, the console opens and closes instantly.</p>

<p>It should ideally show a GUI window and take inputs and use them to make plots. It does so when I run REAL.py file. I am using Tkinter, Matplotlib, numpy, scipy which comes with Anaconda.</p>

<p>EDIT: I tried to run simple code to check the compatibility with matplotlib:</p>

<p>import matplotlib.pyplot as plt</p>

<p>plt.plot([1,2,3,4])</p>

<p>plt.ylabel('some numbers')</p>

<p>plt.show()</p>

<p>The same issue persists with this. Opens console window and then closes but no plot is given out.</p>