Skip to content
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

won't work in spyder? #82

Open
shammyD opened this issue Apr 27, 2021 · 2 comments
Open

won't work in spyder? #82

shammyD opened this issue Apr 27, 2021 · 2 comments

Comments

@shammyD
Copy link

shammyD commented Apr 27, 2021

Trying usage example 1 in Spyder v5.0.0, python 3.9.2 and won't work?

Just static white boxes at the side that don't grow with job progress....

Screenshot from 2021-04-27 11-07-26

@johan12345
Copy link

Maybe this is the same problem as in PyCharm, see #62 and #89. A workaround seems to be to add the following:

from fastprogress import fastprogress
fastprogress.printing = lambda: True

@impact27
Copy link

impact27 commented Oct 5, 2021

I fixed it in spyder with:

import sys
sys.stdout.isatty = lambda: True

Apparently fastprogress only works if sys.stdout.isatty() is True or if you are inside a notebook.
See spyder-ide/spyder-kernels#294

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants