visbrain icon indicating copy to clipboard operation
visbrain copied to clipboard

Error in: /.local/lib/python3.10/site-packages/visbrain/gui/sleep/interface/ui_elements/ui_settings.py, line 167, in _fcn_slider_settings self._SlVal.setMinimum(self._time.min()) TypeError: setMinimum(self, a0: int): argument 1 has unexpected type 'numpy.float32'

Open smbailes-bu opened this issue 1 year ago • 2 comments

When I try to open a sleep scoring window I get this error:

image

I just installed visbrain using pip install visbrain which worked fine. I am using Python 3.10.6. I tried running pip install --upgrade visbrain to see if there were any updates or packages that were the wrong version, but it seems like it is all fine (output attached). Any suggestions on how to fix this are greatly appreciated!

image

smbailes-bu avatar May 01 '23 16:05 smbailes-bu

Can you try with python 3.9?

TomBugnon avatar May 02 '23 10:05 TomBugnon

I got the same error in python 3.10. When downgrading to 3.9, the error is gone.

ChinHui-Chen avatar Jul 04 '23 04:07 ChinHui-Chen