The only way I managed to get progress bars (I use tqdm 4.19.5 for the progress bar, PyCharm Community 2017.3.2 and Anaconda / Python 3.6.3) to work correctly was to uncheck the "Show command line next" checkbox:



The solution sent by Tay2510 (checking the "Emulate terminal in output console" option) did not help me.
The only drawback of my solution is that you lose console access after the script completes.
source share