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

TypeError: __init__() got an unexpected keyword argument 'max_value' #3

Open
PenghangF opened this issue Feb 25, 2020 · 3 comments
Open

Comments

@PenghangF
Copy link

when I use python to run the ncltpoles.py in ubuntu16.04, I met thiserror
Screenshot from 2020-02-25 16-08-35
:
2012-01-08
Traceback (most recent call last):
File "ncltpoles.py", line 516, in
save_global_map()
File "ncltpoles.py", line 119, in save_global_map
with progressbar.ProgressBar(max_value = len(imaps)) as bar:
TypeError: init() got an unexpected keyword argument 'max_value'

@snbenge
Copy link

snbenge commented Apr 28, 2020

I received the same error on WSL for Ubuntu 18.04 on the same dataset

@snbenge
Copy link

snbenge commented Apr 29, 2020

Solved by:
pip uninstall progressbar
pip install progressbar2

@Huashuijingying
Copy link

I use pycham to run the ncltpoles.py in windows,received the same error
i changed 'max_value' into 'maxvalue' to adapt to the def in progressbar.py
It seems to be working

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