EtienneCmb / visbrain

A multi-purpose GPU-accelerated open-source suite for brain data visualization
http://visbrain.org
Other
241 stars 64 forks source link

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' #115

Open smbailes-bu opened 1 year ago

smbailes-bu commented 1 year ago

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

TomBugnon commented 1 year ago

Can you try with python 3.9?

ChinHui-Chen commented 1 year ago

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