Skip to content

Progress Bar Clash #24

@christinahedges

Description

@christinahedges

When I install dustmaps and try to run

python setup.py fetch --map-name=leikeensslin2019

There is an import error. I currently have progressbar installed, but dustmaps requires progressbar2. These both get imported with the same name, so when I try to run the fetch script I get an import error:

from progressbar.widgets import DataSize, AdaptiveTransferSpeed, Bar,...
ImportError: cannot import name 'DataSize'

DataSize is not in progressbar, only progressbar2. This clash can currently be solved by installing progressbar2. It might be worth adding progressbar2 to the dustmaps requirements?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions