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

AttributeError: 'module' object has no attribute 'TimeSeries' #9

Open
shanmenaka96 opened this issue Jun 12, 2018 · 1 comment
Open

Comments

@shanmenaka96
Copy link

I'm trying to use MindWave mobile with Windows Python.But python-mindwave module generates below error.Can anyone please help? Thank you!

E ====================================================================== ERROR: testParser (main.ParserTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "C:\Users\shan\Desktop\python-mindwave-master\test\tests.py", line 9, in testParser ts_recorder = TimeSeriesRecorder() File "C:\Python27\lib\site-packages\mindwave\parser.py", line 139, in init self.meditation = pd.TimeSeries() AttributeError: 'module' object has no attribute 'TimeSeries'

---------------------------------------------------------------------- Ran 1 test in 0.034s

FAILED (errors=1)
@akloster
Copy link
Owner

It's because the Pandas TimeSeries class has been deprecated. You can either set up a virtualenv with a much older Pandas (don't know which), or update the code to use DataFrame.

I'm not actively maintaining this code, but would consider merging a pull request.

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

2 participants