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

Progress Bar Clash #24

Open
christinahedges opened this issue May 28, 2019 · 3 comments
Open

Progress Bar Clash #24

christinahedges opened this issue May 28, 2019 · 3 comments
Assignees

Comments

@christinahedges
Copy link

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?

@gregreen gregreen self-assigned this May 28, 2019
@gregreen
Copy link
Owner

progressbar2 should be installed by Pip alongside dustmaps, given that it's listed here. Is this not the case?

@christinahedges
Copy link
Author

christinahedges commented May 28, 2019

When I installed dustmaps, progressbar2 did not get installed, but I agree it should have done given the setup.py. I wanted to make sure I opened an issue and documented it incase someone else came across the same problem.

@gregreen
Copy link
Owner

Thanks. Perhaps a requirements.txt would be useful to include.

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

2 participants