Code Monkey home page Code Monkey logo

Comments (9)

johan12345 avatar johan12345 commented on May 21, 2024 2

This still is an issue for me in PyCharm. A workaround seems to be to add the following:

from fastprogress import fastprogress
fastprogress.printing = lambda: True

I pushed a possible fix in PR #89.

from fastprogress.

tcapelle avatar tcapelle commented on May 21, 2024

put a sleep(0.1) inside probably this is instant.

from fastprogress.

import-antigravity avatar import-antigravity commented on May 21, 2024

I'm having a similar problem. Running some of the example code in an iPython shell in iTerm looks correct:
Screen Shot 2020-07-17 at 11 59 30 AM

But running it in pycharm (even in an iPython terminal) looks like OP's screenshot.

from fastprogress.

yuanjinghui avatar yuanjinghui commented on May 21, 2024

I'm having a similar problem using Pycharm. I've posted here https://discourse.pymc.io/t/pycharm-cannot-show-progress-bar-while-jupyter-notebook-shows-well-after-upgrade-the-pymc3-to-3-9-3/6090

from fastprogress.

ohmeow avatar ohmeow commented on May 21, 2024

Any resolution to this? I'm having the same issue in jupyter notebook

from fastprogress.

fohria avatar fohria commented on May 21, 2024

I see the same behaviour in Atom with Hydrogen plugin, but solution in #61 worked for the simple example given by @ElisonSherton above.

from fastprogress.

ohmeow avatar ohmeow commented on May 21, 2024

from fastprogress.

leiyu-thunder avatar leiyu-thunder commented on May 21, 2024

I have the same problem in jupyter notebook. I solved it by upgrade IPython package >= 6.0.0, which is required by fastprogress. Maybe you can try it.

from fastprogress.

redreddragon avatar redreddragon commented on May 21, 2024

I have resolved this problem in PyCharm for Windows.

from fastprogress.fastprogress import ConsoleProgressBar,ConsoleMasterBar

from time import sleep
mb = ConsoleMasterBar(range(10))
pb = ConsoleProgressBar(range(100), parent=mb)

#  pd.end is '\r' as default,  which can not be displayed in Windows
pb.end = '\r\n'

for i in mb:
    for j in pb:
        sleep(0.01)

More details here https://stackoverflow.com/questions/15433188/what-is-the-difference-between-r-n-r-and-n

from fastprogress.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.