Skip to content

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

Open

Description

@shanmenaka96

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)

Activity

  1. akloster commented on Jun 12, 2018

    @akloster
    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions