-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pycharm windows new line for every update #307
Comments
Sorry but PyCharm does not support progress bars (not just tqdm but any progress bar) because its console interpreter does not support line return |
Has the issue fixed yet? |
In PyCharm under the run/debug configuration enable "Emulate terminal in output console". |
ah if people confirm that works we can add it to the FAQs. |
It works. It can be changed via the following Menu path: Run -> Edit configurations -> Emulate terminal in output console (checkbox) |
I cant get it to work with TQDM or any other progress bar I try with Python 3.6 and PyCharmCE 2019.2.3 under Catalina. Neither "emulate terminal in output console" nor run in "python console" have any impact on progressbar output. |
Same here, python 3.8, Pycharm 2019.2.3-1 under arch. |
For anyone still seeking a solution: try This did solve some of my issues with the pycharm console |
There is no "Emulate terminal in output console" for remote (ssh) interpreters (which are only available in the pro version). It is possible to edit ~/.ssh/rc to explicitly set the number of lines (PyCharm uses "vt100" as the terminal type):
|
Emulate terminal in output console does fix the progress bar for me (PyCharm 2020.2), but at the cost of not being able to use the interactive console when debugging. So that's a no go for my use case. |
For anyone still struggling like I was, I just had an old |
@odedbd you can use the So at least you can inspect variables after something runs: But it's not great, I still prefer the PyCharm Python Console with auto-complete etc. My personal fix is to check |
@davidgilbertson thanksf or the suggestion. For now I simply dropped the tqdm progress bar I was using in favor of simpler logger messages. |
I try the demo code:
and I get a new line per update rather than a carrier-return (see below sample)
What could be the reason?
The text was updated successfully, but these errors were encountered: