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

lsl_viewer main not working #3

Open
rajshekarreddy97 opened this issue Jul 12, 2023 · 3 comments
Open

lsl_viewer main not working #3

rajshekarreddy97 opened this issue Jul 12, 2023 · 3 comments

Comments

@rajshekarreddy97
Copy link

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
Copy link
Contributor

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
Copy link
Author

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

@amar-enkhbat
Copy link

@insane-dreamer @rajshekarreddy97
I'm experiencing the same issue. I attempted to downgrade Pandas and NumPy, but now I'm encountering different errors. Could you please share the Python version and dependency versions that work correctly?

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