intheon / stream_viewer

Real-time visualization of streaming data
MIT License
21 stars 9 forks source link

lsl_viewer main not working #3

Open rajshekarreddy97 opened 1 year ago

rajshekarreddy97 commented 1 year ago

Hello, any idea how to fix the below issue?

Traceback (most recent call last): File "C:\Users\xxxx\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\stream_viewer\data\stream_info.py", line 99, in refresh self._data = self._data.append(new_df.drop(columns=['_merge']), ignore_index=True) File "C:\Users\xxxx\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\pandas\core\generic.py", line 5989, in getattr return object.getattribute(self, name) AttributeError: 'DataFrame' object has no attribute 'append'

I get the above error whenever I run python3 -m stream_viewer.applications.main in cmd. I'm new to python and I'm not sure what this means. Any help is appreciated. I do have all the packages installed.

insane-dreamer commented 1 year ago

The latest version of pandas breaks backward compatibility with some function calls used in lsl_viewer. You can resolve this by updating your conda environment to install pandas=1.5.*, or we just merged in a pull request that updates the conda-environment.yml and locks pandas to <2.0, so you can also pull the repo and then create a new conda environment from the updated conda-environment.yml

rajshekarreddy97 commented 1 year ago

I'll give this a shot! Thanks a bunch!