acschaefer / polex

Long-Term Urban Vehicle Localization Using Pole Landmarks Extracted from 3-D Lidar Scans
MIT License
66 stars 30 forks source link

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

Open PenghangF opened 4 years ago

PenghangF commented 4 years ago

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 commented 4 years ago

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

snbenge commented 4 years ago

Solved by: pip uninstall progressbar pip install progressbar2

Huashuijingying commented 1 year ago

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