8000 Doesn't work with docker-compose · Issue #771 · tqdm/tqdm · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Doesn't work with docker-compose #771
Closed
@justin-pierce

Description

@justin-pierce
import time
from tqdm import tqdm

for i in tqdm(range(50), desc='debug'):
    time.sleep(0.1)

Then in terminal I see nothing until the loop has finished, and it just prints:

debug: 100% 50/50 [00:05<00:00, 9.81it/s]

My docker compose file has tty: true and os.isatty(sys.stdout.fileno()) returns true

Metadata

Metadata

Assignees

Labels

invalid ⛔Not-an-issue or upstream (not-our-issue)question/docs ‽Documentation clarification candidateto-merge ↰Imminent

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0